Search found 74 matches

by finzeo
Tue Feb 04, 2025 4:46 pm
Forum: code_saturne usage
Topic: Problem with HTLES Hybrid Model
Replies: 3
Views: 22707

Re: Problem with HTLES Hybrid Model

Hi Yvan, Thank you for your response. If I understand correctly, the restriction exists solely to enable the straightforward calculation of the dlt_max array in cs_turbulence_htles.c?. If your answer is yes, I was thinking of implementing a loop over the cells, accessing the neighboring cell centers...
by finzeo
Fri Jan 31, 2025 9:48 am
Forum: code_saturne usage
Topic: Problem with HTLES Hybrid Model
Replies: 3
Views: 22707

Problem with HTLES Hybrid Model

Good morning, I have been trying to test the HTLES hybrid model using version v8.0.1. In the user routines cs_user_parameters.c and cs_user_initialization.c, I use the following instructions: ... cs_turb_model_t *turb_model = cs_get_glob_turb_model(); turb_model->iturb = CS_TURB_K_OMEGA; turb_model-...
by finzeo
Fri Jan 10, 2025 6:05 pm
Forum: code_saturne usage
Topic: Strange Halting at Half Total Iterations
Replies: 15
Views: 72546

Re: Strange Halting at Half Total Iterations

Hi all, Over the past few days I’ve been trying to run, with the help of the cluster administrators, with other MPI implementations, as you finally recommended me. These are the results I got (originally, I was running with OpenMPI 4.1.1, which is the problematic one): I tried with Intel MPI (based ...
by finzeo
Thu Jan 02, 2025 4:57 pm
Forum: code_saturne usage
Topic: Strange Halting at Half Total Iterations
Replies: 15
Views: 72546

Re: Strange Halting at Half Total Iterations

The issue has resurfaced again: forcing sequential disk writing during the most critical moments (checkpoint saving and postprocessing files) currently does not solve this problem. The manifestation is practically the same: the run simply pauses indefinitely when performing checkpointing and/or sav...
by finzeo
Tue Aug 06, 2024 8:13 pm
Forum: code_saturne usage
Topic: Strange Halting at Half Total Iterations
Replies: 15
Views: 72546

Re: Strange Halting at Half Total Iterations

Edit : The issue has reappeared, even with the temporary solution I mentioned in the previous message. The problem is that inconsistently, in some runs, a .lock file is generated when writing to disk (either for checkpoint or post-processing), and the run gets blocked. This occurs when running with...
by finzeo
Fri Jun 07, 2024 5:26 am
Forum: code_saturne usage
Topic: Calculating Velocity Gradient in Post-Processing
Replies: 5
Views: 20274

Re: Calculating Velocity Gradient in Post-Processing

Hello, In that case, I think it would be useful for you to review the example file cs_user_extra_operations-vorticity_field.c , and use only the part that is used for the velocity gradient calculation; it uses the cs_field_gradient_vector function, which takes the gradient reconstruction type set fo...
by finzeo
Thu Jun 06, 2024 11:04 pm
Forum: code_saturne usage
Topic: Calculating Velocity Gradient in Post-Processing
Replies: 5
Views: 20274

Re: Calculating Velocity Gradient in Post-Processing

Hello,

Do you want to calculate it to observe it graphically? If so, ParaView has the 'Gradient Of Unstructured DataSet' filter. You set the velocity field as the input.
by finzeo
Thu Jun 06, 2024 5:46 am
Forum: code_saturne usage
Topic: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations
Replies: 5
Views: 20209

Re: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations

Hi Yvan, Thanks for your response. I have continued testing various possibilities: Changing rcfact did not help; I understand that in both cases (=0 or =1), there is an approximately proportional dependence on dt in the Rhie-Chow term that adds diffusion. I tried using a dt ten times higher (5e-5 s)...
by finzeo
Fri May 31, 2024 10:05 pm
Forum: code_saturne usage
Topic: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations
Replies: 5
Views: 20209

Re: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations

Hello Yvan, Yes, the time step I am using is extremely low. Here I attach part of the listing. The issue is that if I perform a temporal convergence study focusing on the drag, Cp, and Cf values, I notice sensitivity if I go above dt=5e-6 seconds; below this time step, the results remain quite stabl...
by finzeo
Fri May 31, 2024 5:29 am
Forum: code_saturne usage
Topic: Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations
Replies: 5
Views: 20209

Pressure Checkerboard Patterns in Vehicle Aerodynamics Simulations

Hello everyone, As I mentioned in some other posts, I am simulating the flow around ground vehicle models in a wind tunnel using version 8.0. After many runs and analyses, I managed to match the numerical results with the experimental data ( https://ntrs.nasa.gov/citations/20010038028 ); however, up...