|
[Sponsors] |
February 18, 2010, 11:15 |
Conversion Problem
|
#1 |
New Member
Andrew Carmichael
Join Date: Feb 2010
Posts: 4
Rep Power: 16 |
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 |
|
February 18, 2010, 11:33 |
|
#2 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,900
Rep Power: 37 |
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 |
|
February 19, 2010, 06:39 |
|
#3 |
New Member
Andrew Carmichael
Join Date: Feb 2010
Posts: 4
Rep Power: 16 |
Thanks a lot Niels, it worked!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
BuoyantBoussinesqSimpleFoam_Facing problem | Mondal131211 | OpenFOAM Running, Solving & CFD | 1 | April 10, 2019 19:41 |
Mesh& steptime independant: conduction-convection problem | Fati1 | Main CFD Forum | 1 | October 28, 2018 13:52 |
CFD by anderson, chp 10.... supersonic flow over flat plate | varunjain89 | Main CFD Forum | 18 | May 11, 2018 07:31 |
Problem in implementing new sgs model | zoptirik | OpenFOAM Programming & Development | 0 | January 29, 2015 05:35 |
Unit Conversion Problem | lambuhere | CFX | 0 | August 20, 2004 04:49 |