CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Commercial meshers] Gambit periodic convert to OF (https://www.cfd-online.com/Forums/openfoam-meshing/109701-gambit-periodic-convert.html)

ali jafari November 24, 2012 05:02

Gambit periodic convert to OF
 
hi
I study flow between two concentric cylinders , I set top and bottom boundary conditions to periodic condition and use fluent3DMeshToFoam for converting *.msh . checkMesh is OK but when I run paraFoam and apply mesh and geometry suddenly paraview exiting appear at terminal .

Lieven November 24, 2012 06:03

Is there an error printed in the terminal besides 'paraview exiting'?

I doubt it is a mesh problem if checkMesh is succesfull (it basically means your mesh is ok so paraview does not have a reason not to accept it). It could be a boundary condition problem. Also check the patches in the constant/polymesh/boundary file.

Regards,

L

ali jafari November 24, 2012 10:57

Quote:

Originally Posted by Lieven (Post 393943)
Is there an error printed in the terminal besides 'paraview exiting'?

I doubt it is a mesh problem if checkMesh is succesfull (it basically means your mesh is ok so paraview does not have a reason not to accept it). It could be a boundary condition problem. Also check the patches in the constant/polymesh/boundary file.

Regards,

L

Thank you .
yes it was a boundary condition problem , my problem got solve !

cfdonline2mohsen October 6, 2013 10:39

Dear ali jafari

I have seen in a lot of posts that Foamers claimed that it is not possible to define periodic B.C. in Gambit and then export it to OpenFOAM by using FluentMeshToFoam. instead they must be defined as walls and then CreatePatch utility must be used for creating cyclic patches.

How about Fluent3DMeshToFoam? is it possible to export directly the periodic B.Cs from Gambit to OpenFOAM without using CreatePatch utility?

ali jafari October 6, 2013 10:56

Quote:

Originally Posted by cfdonline2mohsen (Post 455304)
Dear ali jafari

I have seen in a lot of posts that Foamers claimed that it is not possible to define periodic B.C. in Gambit and then export it to OpenFOAM by using FluentMeshToFoam. instead they must be defined as walls and then CreatePatch utility must be used for creating cyclic patches.

How about Fluent3DMeshToFoam? is it possible to export directly the periodic B.Cs from Gambit to OpenFOAM without using CreatePatch utility?

hi
Dear Kia
unfortunately ,Fluent3DMeshToFoam can not do it. I used Createpatch utility . and it work very good if you link boundary correctly in gambit.;)
But I strong recommend you use the blockmesh also blockmesh is difficult for 3D models but finally cost of calculating decreased ( I worked on this subject over six month ) ;)

good luck

cfdonline2mohsen October 6, 2013 12:21

Thanks ali
Since I have a complex geometry and also need a high quality mesh, It is almost impossible to use blockMesh.
I have a problem with linking the two faces in Gambit.
I want to create a cyclic baffle inside my internal domain (sth like fan B.C.).
I define two planes inside my domain then link them together and Gambit says that they have been successfully linked but after defining the B.Cs in Gambit when I want to export .msh file, It shows an error about shadow or sth like that...
would you please explain your procedure for linking the two planes and exporting it for OpenFOAM step by Step for me?
Thanks in advane

ali jafari October 6, 2013 16:25

Quote:

Originally Posted by cfdonline2mohsen (Post 455327)
Thanks ali
Since I have a complex geometry and also need a high quality mesh, It is almost impossible to use blockMesh.
I have a problem with linking the two faces in Gambit.
I want to create a cyclic baffle inside my internal domain (sth like fan B.C.).
I define two planes inside my domain then link them together and Gambit says that they have been successfully linked but after defining the B.Cs in Gambit when I want to export .msh file, It shows an error about shadow or sth like that...
would you please explain your procedure for linking the two planes and exporting it for OpenFOAM step by Step for me?
Thanks in advane

in the link tool two check box exists.(periodic and reverse) you must active these check boxes and you must select oriented of your face, correctly . this selection depends on geometry.

cfdonline2mohsen October 6, 2013 16:58

Thanks
After linking these two faces, which boundary condition do you use for them before exporting the .msh file for OpenFOAM?

ali jafari October 7, 2013 11:41

Quote:

Originally Posted by cfdonline2mohsen (Post 455370)
Thanks
After linking these two faces, which boundary condition do you use for them before exporting the .msh file for OpenFOAM?

I used Wall boundary condition in gambit and changed it to cyclic after converting .


All times are GMT -4. The time now is 18:46.