Search found 148 matches

by daniele
Thu Dec 09, 2021 4:53 pm
Forum: code_saturne usage
Topic: restart problems with v7
Replies: 10
Views: 8212

Re: restart problems with v7

Hello Luciano, I indeed saw (before creating this new subject) your post on the forum related to your restart issues. I misunderstood the solution you found: I tried to change the read method, and not the write method... Actually I have just done a test changing both methods: the restart seems to wo...
by daniele
Wed Dec 08, 2021 6:45 pm
Forum: code_saturne usage
Topic: restart problems with v7
Replies: 10
Views: 8212

restart problems with v7

Hello, Has anyone had problems with restarts in v7? I cannot manage to restart a simulation. The previous simulation was completed with no errors. The error looks as a memory issue, could it be due to the environement rather than directly to the code? READING THE MAIN RESTART FILE Start reading Read...
by daniele
Mon Nov 29, 2021 9:33 pm
Forum: code_saturne usage
Topic: ALE method and Internal Coupling Problem
Replies: 14
Views: 6247

Re: ALE method and Internal Coupling Problem

Hello, As Luciano said, I think you have misunderstood the internal coupling capabilities: it allows to solve the motion of a rigid body under the fluid forces, it is not a CFD-FEM coupling tool. Therefore, no solid mesh can be included. Please provide more details about your case in order to discus...
by daniele
Thu Nov 04, 2021 3:34 pm
Forum: code_saturne usage
Topic: how should i choose the inlet turbulent in boundary conditions?
Replies: 2
Views: 2049

Re: how should i choose the inlet turbulent in boundary conditions?

Hi, You can either impose directly the values of k and w at the inlet, if you know them, or estimate them based on correlations function of Dh , turbulence intensity, ... If you don't know the k and w values, you are obliged to use a correlation. Does this answer your question? What does the inlet b...
by daniele
Thu Oct 21, 2021 1:12 pm
Forum: code_saturne usage
Topic: mesh viscosity in v7
Replies: 1
Views: 1781

mesh viscosity in v7

Hello, The user guide of v7 says one can modify mesh viscosity for an ALE simulation inside the cs_user_physical_properties.f90 routine, as in previous versions. Nevertheless, in the online documentation the mesh viscosity is not included among the properties that can be modified inside cs_user_phys...
by daniele
Tue Oct 19, 2021 12:41 pm
Forum: code_saturne usage
Topic: SCRIPTS directory in v7?
Replies: 1
Views: 1797

SCRIPTS directory in v7?

Hello,

I don't know if I made a wrong installation, but with the new version 7 of code_saturne I do not find the SCRIPTS directory when I create a case. Is that normal?

Thanks a lot for the help,
Kind regards,
Daniele
by daniele
Tue Sep 28, 2021 9:59 am
Forum: code_saturne usage
Topic: issues with user routine parallelization
Replies: 7
Views: 6047

Re: issues with user routine parallelization

Hello, Thank you, yes the option of defining separate "sub-domains" on the faces in the meshing process (is this what you mean by "field"?) would allow to access directly the face portions, but becomes maybe not very practical for a large number of fields. If I write a condition ...
by daniele
Thu Sep 23, 2021 1:38 pm
Forum: code_saturne usage
Topic: issues with user routine parallelization
Replies: 7
Views: 6047

Re: issues with user routine parallelization

Hello, Thank for all these details. I did not know that C operators allowed to perform more operations than in Fortran... Nevertheless, I am doing all this inside the “cs_user_boundary_conditions_ale.f90”, in order to impose mesh deformation: I am not sure the analogous C routine exist? To answer yo...
by daniele
Wed Sep 22, 2021 9:34 pm
Forum: code_saturne usage
Topic: issues with user routine parallelization
Replies: 7
Views: 6047

Re: issues with user routine parallelization

Hello, Thanks for your help. Actually the value of the indexes is different, there are index values inside ifac_par which are not present inside ifac_test, and vice-versa. I have to do "ifac_local_r = real(ifac_local)" because the parallel function cs_parall_allgather_r requires real array...
by daniele
Wed Sep 22, 2021 2:02 pm
Forum: code_saturne usage
Topic: issues with user routine parallelization
Replies: 7
Views: 6047

issues with user routine parallelization

Hello, I hope somebody can help me in understanding some specific issues related to parallelization of user routines. I am trying to store inside an array the face index of the faces of a given mesh boundary (called CYL_WALL). Things are easy for a serial simulation, become more complex for parallel...