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

extrudeMesh from patch

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 21, 2010, 04:23
Default extrudeMesh from patch
  #1
New Member
 
Join Date: Jul 2009
Posts: 11
Rep Power: 17
Lodda is on a distinguished road
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
Lodda is offline   Reply With Quote

Old   July 18, 2011, 09:33
Default
  #2
New Member
 
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15
case is on a distinguished road
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
case is offline   Reply With Quote

Old   August 11, 2011, 21:53
Default
  #3
Member
 
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15
Rebecca513 is on a distinguished road
Hello there,

I also got the same error message. Do you know what I should do to fix this?

Thank you so much!
Rebecca513 is offline   Reply With Quote

Old   August 12, 2011, 04:27
Default
  #4
New Member
 
Case Bakker
Join Date: Mar 2011
Location: Cape Town, South Africa
Posts: 5
Rep Power: 15
case is on a distinguished road
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
case is offline   Reply With Quote

Old   August 15, 2011, 11:35
Default
  #5
Member
 
HD
Join Date: Jul 2011
Posts: 56
Rep Power: 15
Rebecca513 is on a distinguished road
Hello Case,

That is very helpful!

Thank you so much!!!

Best,

Hang
Rebecca513 is offline   Reply With Quote

Reply


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
[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


All times are GMT -4. The time now is 12:47.