Search found 280 matches

by Luciano Garelli
Wed Sep 22, 2021 3:22 pm
Forum: code_saturne usage
Topic: issues with user routine parallelization
Replies: 7
Views: 5250

Re: issues with user routine parallelization

Hello, When do you mention that " the indexes inside them are different from the ones contained in the ifac_test array" , the values or the order are different? Why are you doing this? "ifac_local_r = real(ifac_local)". It should be a integer list. And about the face_dz() matrix,...
by Luciano Garelli
Tue Jul 06, 2021 3:39 pm
Forum: code_saturne usage
Topic: Wall boiling model
Replies: 3
Views: 2114

Re: Wall boiling model

Hello Yvan and Benoît, I have changed the approach and follow this article https://www.researchgate.net/publication/267594307_Prediction_of_Boiling_and_Critical_Heat_Flux_Using_an_Eulerian_Multiphase_Boiling_Model to avoid the "semi-mechanical" correlations. I have added the vaporization/c...
by Luciano Garelli
Tue Jun 08, 2021 5:33 pm
Forum: code_saturne usage
Topic: Wall boiling model
Replies: 3
Views: 2114

Re: Wall boiling model

Hello Benoît for your answer, I modify the cavitation_compute_source_term as a function of the saturation temperature and this part is working. As you mention in your answer, now I have to add to the energy equation the vaporization/condensation energy due to the phase change (latent heat). Also, th...
by Luciano Garelli
Mon Jun 07, 2021 3:57 pm
Forum: code_saturne usage
Topic: Wall boiling model
Replies: 3
Views: 2114

Wall boiling model

Hello, I'm solving a problem that involves a phase change (water-vapor) in a heat exchanger. My question is if the Merkle (mass transfer) model implemented in the cavitation module can be adapted/modified to produce void fraction as a function of the saturation temperature. The idea is to implement ...
by Luciano Garelli
Sun May 30, 2021 1:34 pm
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 4738

Re: Example for Dam breaking

Hello,

But you are solving the dam break problem, you don't need an inlet boundary condition.

Check this post(viewtopic.php?f=2&t=2830) where I set the void fraction to an inlet boundary condition.

Regards,
Luciano
by Luciano Garelli
Sun May 30, 2021 4:02 am
Forum: code_saturne usage
Topic: Example for Dam breaking
Replies: 10
Views: 4738

Re: Example for Dam breaking

Hello,

May be I am wrong, but I think that you should use single quotes '...' for string criteria and not single closing quotes ’..’.

Regards,
Luciano
by Luciano Garelli
Mon May 17, 2021 9:37 pm
Forum: code_saturne usage
Topic: A tutorial on cavitation two-phase flow modeling
Replies: 6
Views: 2761

Re: A tutorial on cavitation two-phase flow modeling

Hello, The error log is telling you that Some boundary condition definitions are incomplete or incorrect. and For details, read the end of the calculation log, or visualize the error postprocessing output. Did you check which BC is not defined? My recommendation is to use the lasted production versi...
by Luciano Garelli
Mon May 17, 2021 6:37 pm
Forum: code_saturne usage
Topic: A tutorial on cavitation two-phase flow modeling
Replies: 6
Views: 2761

Re: A tutorial on cavitation two-phase flow modeling

Hello, I guess you set up the case on a Text-User Interface and with modification in the source code, not? No, I am using the GUI to set up the case and most of the BC's. The user files are used to define the void fraction at the inlet and the outlet pressure. What version of CS are you using? Could...
by Luciano Garelli
Wed May 12, 2021 10:15 pm
Forum: code_saturne usage
Topic: A tutorial on cavitation two-phase flow modeling
Replies: 6
Views: 2761

Re: A tutorial on cavitation two-phase flow modeling

Hello, I did a simple test using the cavitation model some time ago, but I didn't complete a full validation test. I just update the test case for CS 6.0.4. I upload the necessary files (data, mesh, user files) and also some additional documents about the test. I hope this helps you as a starting po...
by Luciano Garelli
Thu Apr 15, 2021 2:42 pm
Forum: code_saturne usage
Topic: Which file is read in restart for velocity and pressure?
Replies: 7
Views: 3450

Re: Which file is read in restart for velocity and pressure?

Hello,

Did you check the user guide?

In section 3.9.3.7 Variables saved to allow calculation restarts, you have a detailed description of the saved files in the checkpoint directory and also the variables saved in each file.

Regards,
Luciano