CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

.msh to Foam

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2011, 06:48
Default .msh to Foam
  #1
New Member
 
Ashok
Join Date: Jul 2010
Location: India
Posts: 14
Rep Power: 6
chitharenjan is on a distinguished road
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...
chitharenjan is offline   Reply With Quote

Old   January 24, 2011, 07:25
Default
  #2
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 6
kurne is on a distinguished road
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.
__________________
Simulation Is Determination Of Imagination Towards Approximation


Best Regards

Mubeen K Kurne
kurne is offline   Reply With Quote

Old   January 27, 2011, 01:53
Default paraView
  #3
New Member
 
Ashok
Join Date: Jul 2010
Location: India
Posts: 14
Rep Power: 6
chitharenjan is on a distinguished road
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
chitharenjan is offline   Reply With Quote

Old   January 27, 2011, 04:57
Default
  #4
Member
 
Kurne
Join Date: Aug 2010
Location: Pune, INDIA
Posts: 88
Rep Power: 6
kurne is on a distinguished road
Dear
Run paraFoam for other tutorials example if not then Check the cmake has installed properly.
__________________
Simulation Is Determination Of Imagination Towards Approximation


Best Regards

Mubeen K Kurne
kurne is offline   Reply With Quote

Old   January 27, 2011, 15:37
Default
  #5
Senior Member
 
Join Date: Apr 2010
Posts: 151
Rep Power: 7
flowris is on a distinguished road
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.
flowris is offline   Reply With Quote

Reply

Tags
.msh, commands ?, directory ?, foam

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using starToFoam clo OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 33 September 26, 2012 04:04
BlockMesh FOAM warning gaottino OpenFOAM Native Meshers: blockMesh 7 July 19, 2010 14:11
Import problem ARC Open Source Meshers: Gmsh, Netgen, CGNS, ... 0 February 27, 2010 11:56
Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Native Meshers: blockMesh 10 April 2, 2007 14:00
Import gmsh msh to Foam adorean Open Source Meshers: Gmsh, Netgen, CGNS, ... 24 April 27, 2005 08:19


All times are GMT -4. The time now is 00:31.