CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Salome] ideasUnvToFoam / anaysToFoam Errors (https://www.cfd-online.com/Forums/openfoam-meshing/67951-ideasunvtofoam-anaystofoam-errors.html)

sgelliott3 September 1, 2009 13:55

ideasUnvToFoam / anaysToFoam Errors
 
All,
I'm trying to run the following conversion
ideasUnvToFoam 4bb_offset_20.unv and am receiving the following error:

cannot open file
file: /root/OpenFOAM/root-1.6/system/controlDict at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.
FOAM exiting

I don't have a /root/OpenFOAM/root-1.6/system/controlDict path... is there a varaiable I'm missing?

Any suggestions are appreicated.
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 1.6 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 1.6-f802ff2d6c5a
Exec : ideasUnvToFoam 4bb_offset_20.unv
Date : Aug 30 2009
Time : 11:12:56
Host : localhost.localdomain
PID : 11799
Case : /root/OpenFOAM/root-1.6
nProcs : 1
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

cannot open file
file: /root/OpenFOAM/root-1.6/system/controlDict at line 0.
From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 62.
FOAM exiting

linnemann September 1, 2009 15:00

Hi

you need a /system/controlDict file like in the other OpenFOAM cases for the ideasUnvToFoam to work.

Create a new folder an just copy the system folder from one of the tutorial cases, put the unv in the folder you created and run the command again.

Regards

sgelliott3 September 1, 2009 15:24

That did the trick.. Thanks

JulianB December 14, 2011 04:38

have a control dict file but still get the error
 
Guys,

I have the controlDict file however i still get the same error any ideas?


All times are GMT -4. The time now is 22:46.