|
[Sponsors] |
May 3, 2016, 07:24 |
Error: Cannot find file....line 0
|
#1 |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Hi there,
I am new to openFoam and will really need your help. I am trying to run a simulation of flow in an open channel. I considered a very simple box-like structure to represent my channel. I used the enGrid software to create the mesh and boundary conditions, including setting up the solver parameters. Upon running the set-up in openFoam, i got the following error: --> FOAM FATAL IO ERROR: cannot find file file: /home/hp/OpenFOAM/hp-3.0.1/run/myTrials/box/constant/turbulenceProperties at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting ------------------------------------------ My interpretation of the error is that the turbulenceProperties file is missing in the Constant folder. But the exported set-up from enGrid contain the following files in the Constant folder: RASProperties and transportProperties, along with the polymesh folder. And uses the simpleFoam solver. The 0 - case folder contains the following files: epsilon, k, omega, p and U I will greatly appreciate your help in dealing with this problem. Regards Linox |
|
May 4, 2016, 05:10 |
|
#2 |
Member
Mona
Join Date: Mar 2016
Location: Berlin
Posts: 49
Rep Power: 10 |
Hi linox,
I have never used enGrid but it seems like you are right and the turbulenceProperties file is missing in your constant folder. Guessing from the files in your 0 folder you are using a k-epsilon-model? Then your turbulenceProperties file should look something like this: Code:
*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.3.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "constant"; object turbulenceProperties; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // simulationType RAS; RAS { RASModel kEpsilon; turbulence on; printCoeffs on; } // ************************************************************************* // /OpenFOAM/OpenFOAM-X.X.X/tutorials/multiphase/interFoam/ras/waterChannel> Hope this might help you! Mona |
|
May 4, 2016, 12:20 |
|
#3 |
New Member
Patrick
Join Date: Apr 2016
Posts: 10
Rep Power: 10 |
Hi Mona,
Thanks for the suggestion. You are right, I do have a lot of input files missing. I am now including the missing files with the help of the tutorials. Will certainly consult your advice again if i get stocked cheers! linox |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Gmsh] 3D Mesh conversion from gmsh-2.5.0 to OpenFOAM | Ancioi | OpenFOAM Meshing & Mesh Conversion | 17 | January 9, 2019 00:50 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
SparceImage v1.7.x Issue on MAC OS X | rcarmi | OpenFOAM Installation | 4 | August 14, 2014 07:42 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |