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

How to read a mesh from a directory other than the default tutorial directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2011, 11:59
Default How to read a mesh from a directory other than the default tutorial directory
  #1
Member
 
Join Date: Jun 2011
Posts: 86
Rep Power: 14
mali28 is on a distinguished road
Hi,
Can any one tell me the code to read a mesh from any other directory other than the tutorials. I want openFoam to read a mesh (Fluent '.msh' file). I will first need to convert it. I am having error in converting the mesh using fluentMeshToFoam
I have also tried
fluent3DMeshToFoam

My mesh contains mostly hexahedral and tetrahedral cells. Size of the mesh is about 2.8 million cells.

The error is it can not find the file. But when I use directory command in UBUNTU terminal i can see the file.

I am using OpenFoam 2.0 and UBUNTU 11.04 64 bit.

Can any one help me sort this out please.

Thank you.
mali28 is offline   Reply With Quote

Old   July 6, 2011, 14:08
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
you should put ur .msh file in the main directroy! besides 0 , constant and system folder then use fluentMeshToFoam or fluent3DMeshToFoam command
look at
OpenFOAM/OpenFOAM-1.?/tutorials/incompressible/icoFoam/elbow
nimasam is offline   Reply With Quote

Reply

Tags
openfoam


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
[ICEM] Hexa mesh, curve mesh setup, bunching law Anorky ANSYS Meshing & Geometry 4 November 12, 2014 00:27
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
fluent doesnt read 1D coating mesh - advice needed FuzzyDice FLUENT 5 September 28, 2011 16:34
[Commercial meshers] Mesh conversion from Ansys ICEM fabian_korn OpenFOAM Meshing & Mesh Conversion 3 February 24, 2010 08:19
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 03:20.