CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Open Source Meshers: Gmsh, Netgen, CGNS, ...

Conversion Problem

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 18, 2010, 12:15
Default Conversion Problem
  #1
ARC
New Member
 
Andrew Carmichael
Join Date: Feb 2010
Posts: 4
Rep Power: 7
ARC is on a distinguished road
Hi there,

I'm currently trying to convert a 3D geometry (and its respective mesh) that I created in Gmsh into OpenFoam using gmshToFoam. Im pretty new to both programs, so sorry in advance if I'm just being a bit slow.
The problem I'm getting is the following

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-53b7f692aa41
Exec : gmshToFoam Batmodel.msh
Date : Feb 18 2010
Time : 15:39:00
Host : kestrel
PID : 15888
Case : /projects/arc06
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time



cannot open file

file: /projects/arc06/system/controlDict at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.

FOAM exiting


So far I've taken files for controlDict from tutorials. Is there anything I'm doing wrong?

Thanks
ARC is offline   Reply With Quote

Old   February 18, 2010, 12:33
Default
  #2
ngj
Senior Member
 
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Deltares, Delft, The Netherlands
Posts: 1,619
Rep Power: 25
ngj will become famous soon enoughngj will become famous soon enough
Hi Arc

You need to be in your case directory, e.g. damBreak in the interFoam-tutorial folder. It seems that you have your gmsh-file somewhere else. This is quite alright, however to excute, you need to excute gmshToFoam from the case directory and then point of the gmsh file, which can be anywhere you have read access.

Hope this helps,

Niels
ngj is online now   Reply With Quote

Old   February 19, 2010, 07:39
Default
  #3
ARC
New Member
 
Andrew Carmichael
Join Date: Feb 2010
Posts: 4
Rep Power: 7
ARC is on a distinguished road
Thanks a lot Niels, it worked!
ARC is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
Unit Conversion Problem lambuhere CFX 0 August 20, 2004 04:49
Is this problem well posed? Thomas P. Abraham Main CFD Forum 5 September 8, 1999 14:52


All times are GMT -4. The time now is 15:42.