error message in blocking mesh
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 |
Quote:
What do u mean "the file has .m4 extension"? |
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 |
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 |
it worked
Quote:
|
All times are GMT -4. The time now is 21:32. |