|
[Sponsors] |
February 11, 2012, 06:31 |
error message in blocking mesh
|
#1 |
Senior Member
|
Hi,
when trying to run one of tutorial cases (angled duct explicit) i got this error --> FOAM FATAL ERROR: Cannot open mesh description file "/home/khattab/ahmed-2.1.0/run/tutorials/incompressible/porousSimpleFoam/angledDuctExplicit1/constant/polyMesh/blockMeshDict" From function blockMesh in file blockMeshApp.C at line 148. FOAM exiting this file has .m4 extension thanks |
|
February 13, 2012, 02:26 |
|
#2 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 20 |
Quote:
What do u mean "the file has .m4 extension"?
__________________
~roman |
||
February 13, 2012, 02:50 |
|
#3 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29 |
Check the Allrun file in that directory: You have to pre-process the file before you can use it:
Code:
m4 constant/polyMesh/blockMeshDict.m4 > constant/polyMesh/blockMeshDict blockMesh
__________________
*On twitter @akidTwit *Spend as much time formulating your questions as you expect people to spend on their answer. |
|
February 13, 2012, 03:41 |
|
#4 |
Disabled
Join Date: Mar 2011
Posts: 174
Rep Power: 15 |
m4 is a preprocessor and it can assist you in defining your geometry with variables and make many calculations automatically. And it's really easy too, if you use blockMesh a lot, I would suggest checking that out.
http://en.wikipedia.org/wiki/M4_%28computer_language%29 |
|
February 15, 2012, 05:53 |
it worked
|
#5 |
Senior Member
|
||
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Negative volume error in hybrid mesh | siw | ANSYS Meshing & Geometry | 4 | September 3, 2014 05:25 |
3D Hybrid Mesh Errors | DarrenC | ANSYS Meshing & Geometry | 11 | August 5, 2013 06:42 |
[ICEM] Problem making structured mesh on a surface | froztbear | ANSYS Meshing & Geometry | 4 | November 10, 2011 08:52 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 11:55 |
basic of mesh refinement | arya | CFX | 4 | June 19, 2007 12:21 |