Search found 153 matches

by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 0
Views: 1819

mesh_output file not created

Hello, I would like to use a mesh deformed by a previous simulation, as input for a new one. However, I cannot manage to get the mesh_output file (at the end of the deformable mesh simulation) created inside the checkpoint directory. I have ticked "Save mesh if modified by preprocessing" (...
by daniele
Wed Sep 04, 2024 11:46 am
Forum: code_saturne usage
Topic: mesh_output file not created
Replies: 1
Views: 1202

mesh_output file not created

Hello, I would like to use a mesh deformed by a previous simulation, as input for a new one. However, I cannot manage to get the mesh_output file (at the end of the deformable mesh simulation) created inside the checkpoint directory. I have ticked "Save mesh if modified by preprocessing" (...
by daniele
Tue Sep 03, 2024 7:06 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 45954

Re: Restart not taken into account in v7

Hello,

Sorry I missed your post.
My personal way of using cs_user_scripts.py to restart a calculation, is just to add:
domain.restart_input = 'RESU/"case_name"/checkpoint'.
Leaving all the other lines "None".

Let me know if it works.
Best regards,
Daniele
by daniele
Mon Aug 26, 2024 11:25 am
Forum: code_saturne usage
Topic: Second-Order Temporal Discretization Except for Turbulence Model Equations
Replies: 7
Views: 17285

Re: Second-Order Temporal Discretization Except for Turbulence Model Equations

Hello, If it can help, my personal way of running "non LES" setups with second-order time scheme for the momentum equations, is to force the second order for the velocity inside the varpos routine, while keeping first order for the turbulence equations. It seems similar to what you do. But...
by daniele
Mon Apr 22, 2024 10:04 am
Forum: code_saturne usage
Topic: Mixture multiphase model
Replies: 7
Views: 68320

Re: Mixture multiphase model

Hello Luciano, Since you spoke about "slip model", I guessed you wanted to simulate some sort of dispersed phase inside a continuous field. Otherwise, if you use the VOF, the slip velocity is already solved, since the interface is sharp and you will have the gas velocity on one side and th...
by daniele
Fri Feb 23, 2024 5:38 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 45954

Re: Restart not taken into account in v7

Hello Yvan, Thank you for your analysis, I understand that you can't help more precisely without a more detailed debugging. And I don't exclude some simple stupid error from my side... Anyway, I tried to uncheck the "use unmodified checkpoint...", but no improvement. And yes, I double chec...
by daniele
Thu Feb 22, 2024 11:49 am
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 45954

Re: Restart not taken into account in v7

Hello Yvan, Yes, I use the Default partitioning. I have just made a test with other partitioning methods, but nothing changes. Yes, the crash occurs before the partitioning file is written... I am using v7.0.2. I see that it does not seem to be linked to the restart, but actually the calculation wor...
by daniele
Wed Feb 21, 2024 10:56 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 45954

Re: Restart not taken into account in v7

Hello Yvan, Yes: Call stack: 1: 0x2aaad3362040 <+0x261040> (libsaturne-7.0.so) 2: 0x2aaad3364d9f <cs_all_to_all_copy_array+0x137f> (libsaturne-7.0.so) 3: 0x2aaad3717787 <cs_partition+0x4b47> (libsaturne-7.0.so) 4: 0x2aaad328a02a <cs_preprocessor_data_read_mesh+0x1fa> (libsaturne-7.0.so) 5: 0x2aaad32...
by daniele
Wed Feb 21, 2024 5:19 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 14
Views: 45954

Re: Restart not taken into account in v7

Hello Yvan, I see what you mean. I actually found a forbidden memory area access error, reported in the error file (I have two error files, this is reported only in one of the two): SIGSEGV signal (forbidden memory area access) intercepted! This could be a sign of the source of the issue, but the se...
by daniele
Fri Feb 16, 2024 11:12 am
Forum: code_saturne usage
Topic: Mixture multiphase model
Replies: 7
Views: 68320

Re: Mixture multiphase model

I forgot to add that of course you will then have to modify your properties (density, viscosity...) as a function of the scalar.
This could be done in the cs_user_physical_properties.f90 at the time, I don't know with the current version.
Best regards, Daniele