Please don't repeat the same question in mutiple post.
viewtopic.php?p=15975#p15975
Search found 284 matches
- Fri Nov 12, 2021 1:29 pm
- Forum: code_saturne usage
- Topic: why the code set result is different from gui?
- Replies: 1
- Views: 1705
- Fri Nov 12, 2021 1:22 pm
- Forum: code_saturne usage
- Topic: How should i do to set the boundary conditions by python scripts
- Replies: 7
- Views: 5354
Re: How should i do to set the boundary conditions by python scripts
Hello, The difference between solutions is because you are running two different cases. Please check the definition of the norm of a vector( ||\mathbf v||=\sqrt{x^2+y^2+z^2} ). When you use the GUI the norm is set to 3 m/s (vx=vy=vz=0.707m/s) and when you use the user define function you are setting...
- Wed Nov 10, 2021 8:13 pm
- Forum: code_saturne usage
- Topic: How should i do to set the boundary conditions by python scripts
- Replies: 7
- Views: 5354
Re: How should i do to set the boundary conditions by python scripts
Hello, I had used the specified coordinates, but I am so confuse about this set. maybe when I set the coordinates x=1, y=-1, z=1, it means that the coordinate is like the picture ? and the coordinate x=3, y=-3, z=3 is equal to the x=1, y=-1, z=1 ? or 3 is the unit length? You have to set the norm of...
- Tue Nov 09, 2021 1:40 pm
- Forum: code_saturne usage
- Topic: How should i do to set the boundary conditions by python scripts
- Replies: 7
- Views: 5354
Re: How should i do to set the boundary conditions by python scripts
Hello, Recently I want to use python scripts to set the boundary conditions. but when I simulate the simple case, I saw the result is not my want. The code that you post uses Fortran, not python. I didn't find the v and w direction set in GUI To set the x,y,z directions for the velocity in the GUI y...
- Wed Sep 22, 2021 3:22 pm
- Forum: code_saturne usage
- Topic: issues with user routine parallelization
- Replies: 7
- Views: 7149
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,...
- Tue Jul 06, 2021 3:39 pm
- Forum: code_saturne usage
- Topic: Wall boiling model
- Replies: 3
- Views: 2717
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...
- Tue Jun 08, 2021 5:33 pm
- Forum: code_saturne usage
- Topic: Wall boiling model
- Replies: 3
- Views: 2717
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...
- Mon Jun 07, 2021 3:57 pm
- Forum: code_saturne usage
- Topic: Wall boiling model
- Replies: 3
- Views: 2717
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 ...
- Sun May 30, 2021 1:34 pm
- Forum: code_saturne usage
- Topic: Example for Dam breaking
- Replies: 10
- Views: 10021
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
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
- Sun May 30, 2021 4:02 am
- Forum: code_saturne usage
- Topic: Example for Dam breaking
- Replies: 10
- Views: 10021
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
May be I am wrong, but I think that you should use single quotes '...' for string criteria and not single closing quotes ’..’.
Regards,
Luciano