Search found 114 matches

by Mohammad
Sun Aug 30, 2020 11:53 am
Forum: code_saturne usage
Topic: Incorrect value for convective outlet boundary condition coefficients in condli.f90
Replies: 2
Views: 2585

Incorrect value for convective outlet boundary condition coefficients in condli.f90

Hello, As it is mentioned in the theory PDF file of Code_Saturne 6.0.4, for the convective outlet boundary condition we have: A = (1/(1+CFL))Y B = (CFL/(1+CFL)) I checked these values by discretizing the equation and they are 100% correct. As I noticed the A corresponds to coefa and B corresponds to...
by Mohammad
Wed Aug 26, 2020 8:20 am
Forum: code_saturne usage
Topic: Different pressure values on different machines!
Replies: 18
Views: 6880

Different pressure values on different machines!

Hello, I ran the same calculation on two different machines with the same number of cores, same mesh and exactly same files and same versions of the code (6.0.4) (Started from the same checkpoint file). The calculated velocities are the close to each other on both machines while the pressure and tot...
by Mohammad
Mon Aug 24, 2020 11:49 am
Forum: code_saturne usage
Topic: Different convective schemes for different zones
Replies: 8
Views: 5148

Re: Different convective schemes for different zones

Hello, I made it happen by editing cs_convection_diffusion.c source file according to the cell center's location, but I think this would be a good idea to add this option to the next versions as in LES there are some small regions where the CDS is very unstable and causes diverging. Also Slope test ...
by Mohammad
Mon Aug 24, 2020 11:37 am
Forum: code_saturne usage
Topic: Upwind scheme not working for LES
Replies: 2
Views: 1714

Re: Upwind scheme not working for LES

Hello, Thank you Yvan. I know it's not recommended for LES, but I mean while the solver gets error in calculation, so there should not be an option for activating it. I just want it to test the upwind and did it by editing source files. This topic just created to report the problem in the GUI. Regar...
by Mohammad
Sun Aug 23, 2020 2:15 pm
Forum: code_saturne usage
Topic: Upwind scheme not working for LES
Replies: 2
Views: 1714

Upwind scheme not working for LES

Hello, I enabled the upwind scheme for LES (classical dynamic model) for velocity in the gui, but by running the calculation this error occurs: Error in LES, while reading convection scheme parameters for variable Velocity ----- Parameter: var_cal_opt.blencv (2nd order scheme share for convection) =...
by Mohammad
Thu Aug 20, 2020 8:06 am
Forum: code_saturne usage
Topic: Different convective schemes for different zones
Replies: 8
Views: 5148

Re: Different convective schemes for different zones

Hello,

Thank you very much Yvan, I'll check that.

Regards,

Mohammad
by Mohammad
Wed Aug 19, 2020 5:53 am
Forum: code_saturne usage
Topic: Different convective schemes for different zones
Replies: 8
Views: 5148

Re: Different convective schemes for different zones

Hello, Thanks a lot Luciano. I think blending can also affect the results specially in near-wall region. Please correct me if I'm wrong. I'm simulation a high Reynolds airfoil and as you may know, the grid is coarse at the inlet and outlet and central difference schemes are also known to produce odd...
by Mohammad
Tue Aug 18, 2020 8:29 pm
Forum: code_saturne usage
Topic: Different convective schemes for different zones
Replies: 8
Views: 5148

Re: Different convective schemes for different zones

Hello and thank you Luciano, I'm doing LES and the accuracy of the results is very important because I want to compare the results of different sub-grid scale models. I don't know how accurate is SOLU in comparison to CDS (Centeral Differencing Scheme) and it's effect on the results of the near wall...
by Mohammad
Tue Aug 18, 2020 8:50 am
Forum: code_saturne usage
Topic: Different convective schemes for different zones
Replies: 8
Views: 5148

Different convective schemes for different zones

Hello, I need to use the 1st order upwind scheme in a specific zone of the domain (for example x<5) in order to remove unphysical oscillations of the centeral difference scheme. And for the other zones of the domain, I want to set the central difference scheme for more accuracy . I know that it is p...
by Mohammad
Wed Aug 12, 2020 8:00 am
Forum: code_saturne usage
Topic: Reset time step number
Replies: 1
Views: 1446

Reset time step number

Hello,

I have a checkpoint file with the last time step number of 300,000.

Now I want to start a new case with the initial data of the checkpoint file, but I want to reset the time step number and absolute time to 0 for the new case.

How can I do this?

Regards,
Mohammad