extrudeMesh from patch
Hi once again,
i have problem by using the extrudeMesh utility. I want to extrude a mesh from existing patch. I have set up the extrudeProperties file in the constant directory and get following error message:
Selecting extrudeModel wedge
Extruding patch front on mesh "/home/wittek/OpenFOAM/wittek-1.7.0/run/mesh/basics"
--> FOAM FATAL IO ERROR:
cannot open file
file: /home/wittek/OpenFOAM/wittek-1.7.0/run/mesh/basics/system/controlDict at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 61.
I use OpenFoam version 1.7.0. The controlDict file is in the system directory but in
What is extrudeMesh needing the controlDict file for ?
Should i add something to controlDict ?
I'm also trying to use extrudeMesh to extrude a patch and getting exactly the same error message. Realise the post is very old, but did you ever manage to find out what the problem was?
Also not sure why it needs to read controlDict...
I also got the same error message. Do you know what I should do to fix this?
Thank you so much!
I finally found the way around that problem.
What you need to do is essentially make two separate jobs - one where you create the initial mesh and patch, in my case using snappyHexMesh, and the other where you do the extrudemesh and run the job.
First make the mesh as usual in the one job - the change directories to the other job, and run extrudeMesh making sure that the extrudeDict is pointing to the 1st job directory.
Have a look at the wingMotion tutorial for a good example. Afraid I'm on a Windows machine at the moment and can't remember the exact location of the tutorial but just search for it. Follow the order of the allrun script to see how it's run. Notice that the controldict file in the 1st job calls snappyhexmesh, and the 2nd job folder doesn't contain any mesh information in the constant folder apart from the extrudeDict before it's run, as extrudeMesh makes all that.
That is very helpful!
Thank you so much!!!
|All times are GMT -4. The time now is 02:06.|