|
[Sponsors] |
September 21, 2010, 04:23 |
extrudeMesh from patch
|
#1 |
New Member
Join Date: Jul 2009
Posts: 11
Rep Power: 17 |
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. FOAM exiting I use OpenFoam version 1.7.0. The controlDict file is in the system directory but in file: /home/wittek/OpenFoam/wittek-1.7.0/run/tutorials/mesh/basics/system/ What is extrudeMesh needing the controlDict file for ? Should i add something to controlDict ? Best regards Lodda |
|
July 18, 2011, 09:33 |
|
#2 |
New Member
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15 |
Hi
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... Thanks Case |
|
August 11, 2011, 21:53 |
|
#3 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
Hello there,
I also got the same error message. Do you know what I should do to fix this? Thank you so much! |
|
August 12, 2011, 04:27 |
|
#4 |
New Member
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15 |
Hi
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. Case |
|
August 15, 2011, 11:35 |
|
#5 |
Member
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15 |
Hello Case,
That is very helpful! Thank you so much!!! Best, Hang |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
CheckMeshbs errors | ivanyao | OpenFOAM Running, Solving & CFD | 2 | March 11, 2009 03:34 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |