Search found 258 matches

by Luciano Garelli
Tue Jun 08, 2021 5:33 pm
Forum: code_saturne usage
Topic: Wall boiling model
Replies: 2
Views: 37

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: 2
Views: 37

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

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

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

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

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

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

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
by Luciano Garelli
Thu Apr 15, 2021 1:50 pm
Forum: code_saturne usage
Topic: Schmidt number in code saturne
Replies: 4
Views: 750

Re: Schmidt number in code saturne

Hello,

Did you check the theory guide of CS? It appears several times.

Also, you can search in the source code, the turbulent schmidt key for scalars is "ksigmas".

Regards,
Luciano
by Luciano Garelli
Thu Apr 15, 2021 1:23 pm
Forum: code_saturne usage
Topic: Search for the code_saturne documentation
Replies: 0
Views: 659

Re: Search for the code_saturne documentation

Hello

You can find Code Saturne Documentation (User, theory, etc) at

https://www.code-saturne.org/cms/documentation/v60

Additional information can be found in the forum

Regards,
Luciano