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

.msh to Foam

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 24, 2011, 06:48
Default .msh to Foam
  #1
New Member
 
Ashok
Join Date: Jul 2010
Location: India
Posts: 20
Rep Power: 15
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: 15
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: 20
Rep Power: 15
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: 15
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: 15
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 Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Commercial meshers] Using starToFoam clo OpenFOAM Meshing & Mesh Conversion 33 September 26, 2012 05:04
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[Gmsh] Import problem ARC OpenFOAM Meshing & Mesh Conversion 0 February 27, 2010 11:56
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 15:00
[Gmsh] Import gmsh msh to Foam adorean OpenFOAM Meshing & Mesh Conversion 24 April 27, 2005 09:19


All times are GMT -4. The time now is 21:54.