Search found 197 matches

by Antech
Wed Dec 14, 2022 4:19 pm
Forum: code_saturne usage
Topic: jobs stuck when writing checkpoint - CS v7
Replies: 4
Views: 2827

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 + upda...
by Antech
Mon Dec 12, 2022 8:06 am
Forum: code_saturne usage
Topic: flux reconstruction
Replies: 5
Views: 2323

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: 2323

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: 13382

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 n...
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: 13382

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: 13382

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 (Cels...
by Antech
Wed Dec 07, 2022 8:35 am
Forum: code_saturne usage
Topic: Conjugate heat transfer of simple geometries - comparison with exp data
Replies: 32
Views: 13382

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

Hello. If you mean z-coordinate, you can do the following: const cs_real_3_t *restrict cellCoord=(const cs_real_3_t *restrict)cs_glob_mesh_quantities->cell_cen; cs_real_t coord_z=(double)cellCoord[iCell][2]; Here iCell is the cell index. It's adapted code from my heat exchanger "plugin" so...
by Antech
Tue Dec 06, 2022 4:46 pm
Forum: code_saturne usage
Topic: Conjugate heat transfert - 2D - Flow past cylinder
Replies: 18
Views: 9533

Re: Conjugate heat transfert - 2D - Flow past cylinder

Thanks for your response. I have 2 BCs also, it's not an internal boundary and it's not a conformal mesh. The difference is that there is a fluid/fluid interface in my case. Will wait what Ivan says...
by Antech
Tue Dec 06, 2022 3:24 pm
Forum: code_saturne usage
Topic: Conjugate heat transfert - 2D - Flow past cylinder
Replies: 18
Views: 9533

Re: Conjugate heat transfert - 2D - Flow past cylinder

Maybe I'm wrong but I think it's suspecious that Saturne complains on interface named selections. I used fluid-fluid coupling with non-conformal meshes and calculation was OK. Here is my joining log: Joining number 1: Selection criteria: "IFC_CELL_AIR_FRONT_1 OR IFC_AIR_CELL_FRONT_1" Param...
by Antech
Mon Dec 05, 2022 3:08 pm
Forum: code_saturne usage
Topic: Conjugate heat transfert - 2D - Flow past cylinder
Replies: 18
Views: 9533

Re: Conjugate heat transfert - 2D - Flow past cylinder

In the new log file there is also no internal coupling boundary was found but, if you sure that it's not a problem (I didn't find log of the working case in your previous topic so cannot compare) the only thing we can do is wait for developers do answer because it's 100% not usual divergence for aer...