Search found 149 matches

by daniele
Mon Apr 22, 2024 10:04 am
Forum: code_saturne usage
Topic: Mixture multiphase model
Replies: 7
Views: 64699

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: 11
Views: 20346

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: 11
Views: 20346

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: 11
Views: 20346

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: 11
Views: 20346

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

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
by daniele
Fri Feb 16, 2024 11:09 am
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 20346

Re: Restart not taken into account in v7

Hello Yvan, I forgot to update you about this issue: indeed, imposing the restart through the cs_user_scripts.py works! So thank you very much for this tip! However, I sometimes encounter the following error with restart (I am always with v7): Reading file: restart/mesh_input.csm Finished reading: r...
by daniele
Fri Feb 16, 2024 11:01 am
Forum: code_saturne usage
Topic: Mixture multiphase model
Replies: 7
Views: 64699

Re: Mixture multiphase model

Hello, I actually did this in the past, with v5. If you want a mixture two-phase model, the easiest way is just to add a transported scalar. You can add scalars directly in the GUI. The scalar will represent your void fraction (or rather the mass fraction in CS). Then, you can add a drift velocity t...
by daniele
Mon Nov 13, 2023 12:09 pm
Forum: code_saturne usage
Topic: Free memory constantly decreasing
Replies: 9
Views: 50263

Re: Free memory constantly decreasing

Hello Yvan,

Thank you for testing and correcting the issue.
I am not experienced with Github, I saw the commit where you fix the bug on branch v7.0: does it mean that if I clone v7.0 and compile it, I will have the code with the bug fixed?

Thank you very much for your help.
Best regards,
Daniele
by daniele
Thu Oct 26, 2023 3:33 pm
Forum: code_saturne usage
Topic: Restart not taken into account in v7
Replies: 11
Views: 20346

Restart not taken into account in v7

Hello, In v7.0.2, I have noticed that for some cases I cannot manage to tell the code to do a restart. I select restart in the GUI, select the correct checkpoint directory, but the code seems blind to my set-up and always restarts the simulation from zero. The ISUITE=0 appears in the listing, which ...