Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Forum rules
Please read the forum usage recommendations before posting.
Please read the forum usage recommendations before posting.
Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Hello,
I am setting up a simulation model as described in the provided CS tutorial "Particle Dispersion in a Turbulent Pipe Flow - Arnason test case". According to the tutorial text the parabolic velocity inlet boundary condition must be defined through the file "cs_user_boundary_conditions.f90". A customized version of this file, already adapted/modified for this tutorial, should be available according to the text of this tutorial. Where can I find this file? It is not included in the examples folder of the downloaded CS-tar file. I am not a CS and Fortran expert (yet), so this would help me to complete the set-up of this model and run the simulation.
Many thanks for any help!
I am setting up a simulation model as described in the provided CS tutorial "Particle Dispersion in a Turbulent Pipe Flow - Arnason test case". According to the tutorial text the parabolic velocity inlet boundary condition must be defined through the file "cs_user_boundary_conditions.f90". A customized version of this file, already adapted/modified for this tutorial, should be available according to the text of this tutorial. Where can I find this file? It is not included in the examples folder of the downloaded CS-tar file. I am not a CS and Fortran expert (yet), so this would help me to complete the set-up of this model and run the simulation.
Many thanks for any help!
-
- Posts: 4210
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Hello,
I attach the latest setup (tutorial solution) here.
Regards,
Yvan
I attach the latest setup (tutorial solution) here.
Regards,
Yvan
- Attachments
-
- Mesh_ARNASON.zip
- (2.41 MiB) Downloaded 341 times
-
- 06_Lagrangian_Particles.tar.gz
- (10.21 KiB) Downloaded 350 times
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Dear Ivan,
Many thanks for your quick help!!!
Kind regards,
Serge
Many thanks for your quick help!!!
Kind regards,
Serge
-
- Posts: 34
- Joined: Tue Apr 16, 2019 10:03 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
I'm Trying to run this example using code_saturne 5.0 getting the following error:Yvan Fournier wrote: ↑Sun Nov 25, 2018 1:06 am Hello,
I attach the latest setup (tutorial solution) here.
Regards,
Yvan
Code: Select all
Reading mesh from file in MED (EDF/CEA) format
----------------------
Mesh file: C:/DATI/FEM/Saturne/06_Lagrangian_Particles/MESH\Mesh_ARNASON.med
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [50] : Cette bibliothèque MED n'est pas capable de lire un fichier MED dont le mineur de la version excède celui de la bibliothèque.
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [51] : La version demandée est :
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [51] : _fversionMMR = 331
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [116] : Impossible d'obtenir une implémentation de :
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [117] : key = "_MEDmeshInfoByName"
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [118] : en version :
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [119] : _fversionMMR = 331
../../../../src/med-3.2.0/src/misc/MEDversionedApi3C.c [120] : Vérifiez votre fichier .med
../../../../src/med-3.2.0/src/ci/MEDmeshInfo.c [83] : Erreur d'appel de l'API
../../../../src/med-3.2.0/src/ci/MEDmeshInfo.c [83] : du maillage
../../../../src/med-3.2.0/src/ci/MEDmeshInfo.c [84] : meshname = "inlet_mesh"
../../../../src/med-3.2.0/src/ci/MEDmeshInfo.c [84] : _meshpath = "/ENS_MAA/inlet_mesh"
../../../../src/med-3.2.0/src/ci/MEDmeshInfo.c [84] : "MEDmeshInfoByName" = "MEDmeshInfoByName"
Saluti
Roberto
Roberto
-
- Posts: 4210
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Hello,
Which version of MED are you using ? Your library is probably too old compared to the one used to write the mesh.
If you are using Salome for the prerequisites, version 8.5 (with MED 3.3) should be OK.
Also, with Salome 9.2, you can import the mesh an export it in the older 3.2 version, if you just want to modify the mes hand not reinstall.
Best regards,
Yvan
Which version of MED are you using ? Your library is probably too old compared to the one used to write the mesh.
If you are using Salome for the prerequisites, version 8.5 (with MED 3.3) should be OK.
Also, with Salome 9.2, you can import the mesh an export it in the older 3.2 version, if you just want to modify the mes hand not reinstall.
Best regards,
Yvan
-
- Posts: 34
- Joined: Tue Apr 16, 2019 10:03 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
I'm not using salome for the moment, I'd run the tutorial using the mesh file attached in this post, I thought it was fine to use it.
So if I got it, is the code_saturne 5.0 that requires an older version of MED? Is available a mesh for the tutorial?
So if I got it, is the code_saturne 5.0 that requires an older version of MED? Is available a mesh for the tutorial?
Saluti
Roberto
Roberto
-
- Posts: 4210
- Joined: Mon Feb 20, 2012 3:25 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Hello
No, you can compile Code_Saturne 5.0 with any version of MED from 3.1 to 4.0, but you need to update your MED library and reinstall the code.
Attached is a version converted back to MED 3.2 format (using Salome 4; I have not tested this feature before).
Best regards,
Yvan
No, you can compile Code_Saturne 5.0 with any version of MED from 3.1 to 4.0, but you need to update your MED library and reinstall the code.
Attached is a version converted back to MED 3.2 format (using Salome 4; I have not tested this feature before).
Best regards,
Yvan
- Attachments
-
- Mesh_ARNASON.med.gz
- (2.41 MiB) Downloaded 340 times
-
- Posts: 34
- Joined: Tue Apr 16, 2019 10:03 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
Thank you very much
Saluti
Roberto
Roberto
-
- Posts: 34
- Joined: Tue Apr 16, 2019 10:03 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
It worked, then I compared the flow results with the a different mesh, in the meantime Igenerated with Gmsh and I got comparable results.Yvan Fournier wrote: ↑Thu May 02, 2019 9:05 pm .....
Attached is a version converted back to MED 3.2 format (using Salome 4; I have not tested this feature before).
Best regards,
Yvan
Now I would run the two-phase flow using the mesh I generated by Gmsh.
I guess I have to group the cells along the Z axis in a set named "injection".
Is that right?
Saluti
Roberto
Roberto
-
- Posts: 34
- Joined: Tue Apr 16, 2019 10:03 pm
Re: Anason tutorial - Particle Dispersion in a Turbulent Pipe Flow - example files
I run the windows binary downloaded from the download section of the site https://www.code-saturne.org/cms/Production-version-50.
I cannot find in the doxygen documentation reference to the
and reference to the function
seems to be not phased.
I cannot find in the doxygen documentation reference to the
Code: Select all
cs_user_lagr_volume_conditions
Code: Select all
cs_user_lagr_in
Saluti
Roberto
Roberto