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] a question about "fluentMeshToFoam" (https://www.cfd-online.com/Forums/openfoam-meshing/168948-question-about-fluentmeshtofoam.html)

sinatahmooresi March 31, 2016 12:06

a question about "fluentMeshToFoam"
 
hi friends!
why we use the command "fluentMeshToFoam" or "fluent3DMeshToFoam"
we cant see the result in paraFoam. i mean there is no result in form of "blockMeshDict" in polymesh directory. or when after we use this command we use "blockMesh" command in terminal. when i write this command in terminal after i used "fluentMeshToFoam" i faced this error :

Create time



--> FOAM FATAL ERROR:
Cannot open mesh description file
"/home/sina/OpenFOAM/sina-2.2.1/run/temp2/constant/polyMesh/blockMeshDict"


From function blockMesh
in file blockMeshApp.C at line 137.

FOAM exiting

what is going on ?!
all the best

avila.vc March 31, 2016 17:11

Hi,

fluentMeshToFoam (or fluent3DMeshToFoam) converts a mesh (i.e., there already is a mesh)

blockMesh creates a mesh following blockMeshDict file instructions.

If you have a mesh made on fluent and you want to use it to simulate with openfoam, then just use one of the convert commands above. That's it, your mesh should already be in polymesh folder. You may need to check the boundary file, to ensure the boundary types are ok (walls, patches, etc).

You should be able to visualize your mesh with paraFoam command.
Check if your mesh is 3 or 2D to use the correct convert command above.
Try to visualize a mesh from some tutorial (after running blockMesh, run paraFoam).

If you still can't see your mesh at paraview, give some more details, for example: are files being created in polymesh folder after fluentMeshToFoam command? can you post a print of what is showed when you run paraview?


All times are GMT -4. The time now is 19:08.