Search found 201 matches

by Antech
Thu Jan 09, 2025 3:21 pm
Forum: code_saturne usage
Topic: Strange Halting at Half Total Iterations
Replies: 15
Views: 79038

Re: Strange Halting at Half Total Iterations

Hello. I'd try to compile with OpenMPI 1.8.4 because I found newer versions of OpenMPI cause unpredictable hangs of calculation on my system (local CentOS-7.5 machine). Newer does not mean better not only with music, in many cases with software also. For example, old versions of Torque and Ganglia ...
by Antech
Thu Dec 26, 2024 4:32 pm
Forum: code_saturne usage
Topic: Saturne 8 - User code compile errors
Replies: 5
Views: 22287

Re: Saturne 8 - User code compile errors

Hello. Sorry, was busy with our cluster maintenance. Thanks for advice.
Here is what I discovered.
1. Temperature definition and CS_F_(h) coredump. These errors was fixed with current " 9.0-alpha " development version from GitGub. So, generally, initial questions I posted are solved with current ...
by Antech
Fri Dec 20, 2024 12:41 pm
Forum: code_saturne usage
Topic: Saturne 8 - User code compile errors
Replies: 5
Views: 22287

Re: Saturne 8 - User code compile errors

Hello, thanks for your answer.
Actually, I don't need specific operations with turbulence field. I just need to add relaxation because it stabilizes the solution. Is it enough to set Rij relaxation factor and flux reconstruction flag not touching tensor components? I mean:

field=CS_F_(rij ...
by Antech
Thu Dec 19, 2024 4:44 pm
Forum: code_saturne usage
Topic: Saturne 8 - User code compile errors
Replies: 5
Views: 22287

Saturne 8 - User code compile errors

Hello. I updated Saturne from 7.0.2 to 8.x and found multiple compile errors that I don't know how to resolve correctly.

Configuration is:
==========
Hardware setup: Local server (Dell R620, 24 cores, local MPI)
OS: CentOS 7.5 KDE + vault repo
Kernel: 3.10.0-1160.66.1.el7.x86_64
System gcc: 4.8.5 ...
by Antech
Wed Dec 14, 2022 4:19 pm
Forum: code_saturne usage
Topic: jobs stuck when writing checkpoint - CS v7
Replies: 4
Views: 8252

Re: jobs stuck when writing checkpoint - CS v7

Sorry if I'm wrong, but, if you have MPI problems you can try to compile against OpenMPI-1.8.4 or 3.1.6. I run Saturne-7.0.2 with OpenMPI 1.8.4 and, for now (after 4.5 months), I haven't noticed any stability problems. But I don't use OFED on this setup (workstation). OS version is CentOS-7.5 ...
by Antech
Mon Dec 12, 2022 8:06 am
Forum: code_saturne usage
Topic: flux reconstruction
Replies: 5
Views: 10923

Re: flux reconstruction

Thanks for your recommendations for LES. My method is for static (steady state) simulations only and for widely-used turbulence models (k-epsilon and SST, maybe for RSM) . I noticed that most effective things are relaxation and limitation. Relaxation cannot be used in dynamics while small time step ...
by Antech
Fri Dec 09, 2022 8:52 am
Forum: code_saturne usage
Topic: flux reconstruction
Replies: 5
Views: 10923

Re: flux reconstruction

Hello.
I found that partial SOLU scheme (with blencv =0.7...0.8), deactivating flux reconstruction or tweaking some other numerics is not so strong as pressure/velocity limiting and relaxation. I mentioned it in other posts but I think it's relevant here too, it's important for many users. Here are ...
by Antech
Thu Dec 08, 2022 9:09 am
Forum: code_saturne usage
Topic: Conjugate heat transfer of simple geometries - comparison with exp data
Replies: 32
Views: 43632

Re: Conjugate heat transfer of simple geometries - comparison with exp data

Hello.
If you need user post-processing functions, I can't help because I never used it.
If you need to print results, use this:
bft_printf("Zone volume: %.2f [m3]\n",zoneVlm);
zoneVlm : variable to print.
%.2f : format substring, variable value will be printed instead of it. Digit means number ...
by Antech
Wed Dec 07, 2022 4:31 pm
Forum: code_saturne usage
Topic: Conjugate heat transfer of simple geometries - comparison with exp data
Replies: 32
Views: 43632

Re: Conjugate heat transfer of simple geometries - comparison with exp data

Add this in pointers section:

Code: Select all

const cs_real_t *cellVlm=domain->mesh_quantities->cell_vol; /* Pointer to cell volume array [m3] */
by Antech
Wed Dec 07, 2022 10:31 am
Forum: code_saturne usage
Topic: Conjugate heat transfer of simple geometries - comparison with exp data
Replies: 32
Views: 43632

Re: Conjugate heat transfer of simple geometries - comparison with exp data

Sorry, my first example is more abstract, for all cells of current thread or for entire domain if used with cs_parall_sum (second fragment is for particular zone). I hope the following will give you summary volume of "solid" zone and volume-ave temperature in units used by the solver (Celsius or ...