CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   .msh to Foam (https://www.cfd-online.com/Forums/openfoam/84233-msh-foam.html)

chitharenjan January 24, 2011 05:48

.msh to Foam
 
Hello,

I am new to OpenFoam. Please help me to convert .msh to Foam. In which directory I should keep the .msh file ? Which are the commands ?

Waiting for your reply
Thanks in advance...

kurne January 24, 2011 06:25

Hello chitharenjan
I will explain you in detail.I want to covert fluent.msh file into OpenFOAM format.Make a directory of any name say Conversion.Now in Conversion directory copy the fluent.msh file.After this make three directories in Conversion name of system,constant and o as in all OpenFoam case files.After this copy the ControlDic,fvSchemes and fvSolutions from any tutorials file.Now go into Conversion directory by terminal and type fluentMeshToFoam fluent.msh.After this directly type paraFoam and you will see the mesh by using Wire frame in display panel.
Enjoy
Still if you face any problem then we will see.

chitharenjan January 27, 2011 00:53

paraView
 
Thanks Kurne,

But while entering paraFoam, instead of the wireframe model I am getting this message

budha@budha-desktop:~/OpenFOAM/budha-1.7.1/run/tutorials/heatTransfer/buoyantSimpleFoam/hotRoom/Ashok$ paraFoam
created temporary 'Ashok.OpenFOAM'
/opt/openfoam171/bin/paraFoam: 142: paraview: not found


Please help

kurne January 27, 2011 03:57

Dear
Run paraFoam for other tutorials example if not then Check the cmake has installed properly.

flowris January 27, 2011 14:37

It is even not necessary to use paraFoam, as long as you can open Paraview. After the simulation you run the command
touch myCase.foam
and you open this file in Paraview.


All times are GMT -4. The time now is 10:23.