Search found 158 matches
- Wed Oct 25, 2023 3:33 pm
- Forum: code_saturne usage
- Topic: Output forces on surface
- Replies: 30
- Views: 1609044
Re: Output forces on surface
Hello, In v7 or earlier versions, the simplest way is to create your surface in the mesh, then you can post-process the force using for example the "cs_user_extra_operations.f90" routine. If you want the total x-force on the surface, for example, you simply have to write something as: ! ge...
- Wed Oct 25, 2023 10:21 am
- Forum: code_saturne usage
- Topic: Free memory constantly decreasing
- Replies: 9
- Views: 54522
Re: Free memory constantly decreasing
Hello Yvan, I have realized some further testing on my memory leak issue. I recall that I originally posted a problem of continuously decreasing free RAM memory, that eventually leads the simulation crash because of zero available RAM. I use v7. I added a "export CS_MEM_LOG="mem.log" ...
- Wed Oct 25, 2023 9:52 am
- Forum: code_saturne usage
- Topic: prescribing k and omega user profiles at inlet
- Replies: 2
- Views: 23285
Re: prescribing k and omega user profiles at inlet
Hello Yvan,
After double checking, the routine actually works correctly, sorry for the useless loss of time.
Thank you for your help.
Best regards,
Daniele
After double checking, the routine actually works correctly, sorry for the useless loss of time.
Thank you for your help.
Best regards,
Daniele
- Tue Oct 17, 2023 1:13 pm
- Forum: code_saturne usage
- Topic: prescribing k and omega user profiles at inlet
- Replies: 2
- Views: 23285
prescribing k and omega user profiles at inlet
Hello, I simple question, can I use: call getfbr('INLET', nlelt, lstelt) do ilelt = 1, nlelt ifac = lstelt(ilelt) rcodcl(ifac,iu,1) = 0.5d0 rcodcl(ifac,iv,1) = 0.d0 rcodcl(ifac,iw,1) = 0.d0 rcodcl(ifac,ik,1) = 0.5d0 rcodcl(ifac,iomg,1) = 10000.d0 enddo (values prescribed just as an example) inside c...
- Mon Oct 02, 2023 10:43 am
- Forum: code_saturne usage
- Topic: Second order scheme with RANS
- Replies: 1
- Views: 20861
Re: Second order scheme with RANS
Hello, I found this topic which remained unanswered and would like to ask the same question. Since second order time scheme is available in CS for LES, is there a way to tell the code to use this time scheme in RANS mode, only for the momentum equations, keeping first order for k and epsilon/omega? ...
- Tue Sep 26, 2023 1:39 pm
- Forum: code_saturne usage
- Topic: user routine parallelization issues - v7
- Replies: 3
- Views: 25609
Re: user routine parallelization issues - v7
Hello Yvan,
Thank you very much for seeing so quickly the issue... the problems does seem to come from the allocation of y_v_parall, increasing its size solves the problem.
Thank you also for the suggestion and for the updates about v8.
Kind regards,
Daniele
Thank you very much for seeing so quickly the issue... the problems does seem to come from the allocation of y_v_parall, increasing its size solves the problem.
Thank you also for the suggestion and for the updates about v8.
Kind regards,
Daniele
- Fri Sep 22, 2023 9:54 am
- Forum: code_saturne usage
- Topic: user routine parallelization issues - v7
- Replies: 3
- Views: 25609
Re: user routine parallelization issues - v7
Hello,
I add that the issue seems to come from "cs_parall_allgather_r()", since commenting this line prevents the problem, and printing "k_par" after the "call parcpt(k_par)" shows the correct result.
Thank you.
Kind regards,
Daniele
I add that the issue seems to come from "cs_parall_allgather_r()", since commenting this line prevents the problem, and printing "k_par" after the "call parcpt(k_par)" shows the correct result.
Thank you.
Kind regards,
Daniele
- Fri Sep 22, 2023 9:20 am
- Forum: code_saturne usage
- Topic: user routine parallelization issues - v7
- Replies: 3
- Views: 25609
user routine parallelization issues - v7
Hello, I am facing issues in making a user routine working correctly, when parallelized. The specific "code" is written inside the routine "cs_boundary_conditions_ale.f90" (subroutine usalcl), in v7. The routine loops on the faces of one boundary surface, and stores the position ...
- Wed Dec 14, 2022 1:44 pm
- Forum: code_saturne usage
- Topic: jobs stuck when writing checkpoint - CS v7
- Replies: 4
- Views: 6671
Re: jobs stuck when writing checkpoint - CS v7
Hello Yvan, I run on supermicro nodes, Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz. For the Infinite Band, the ofed version used is MLNX_OFED_LINUX-5.2-1.0.4.0. The operative system is Centos7.9. It is exactly as you say: the problem appears only for long runs where the first checkpoint is saved after...
- Mon Dec 12, 2022 4:57 pm
- Forum: code_saturne usage
- Topic: jobs stuck when writing checkpoint - CS v7
- Replies: 4
- Views: 6671
jobs stuck when writing checkpoint - CS v7
Hello, I am using version 7.2.0 and observing a problem never faced before. The simulation gets stuck once CS has to write either a checkpoint or a postprocessing periodic output. There is no error appearing, the job continues running, but practically it is stuck in the writing process forever... I ...