OpenFOAM cannot read the mesh .neu (GAMBIT mesh file)
Hi guys,
I use ubuntu system in order to run openFoam. I created a 2D mesh using Gambit (orifice.neu) I saved this file in a folder. Using terminal i find this folder and type gambitToFoam orifice.neu Then terminal writes: --> FOAM FATAL IO ERROR: cannot find file file: /home/spyros/OpenFOAM/spyros-2.0.1/run/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting Where is the problem? Can you help me? Thanks a lot, spk |
Quote:
|
hi Anton,
i have looked a lot on net, but have not find any step by step method on how to create an openfoam case before doing the conversion.. i have followed some steps but all the time after i run the fluent3DMeshToFoam, i obtain that command not find..:( can you please find some time and explain to me how to proceed stepwise.. i am new to openfoam.. thanks a lot.. zaynah |
i have followed this:
Quote:
Quote:
my system freeze over..;( |
copy a case in the tutorial folder and paste it into your /run directory.
Then adapt all files especially /0/U /0/p /0/k /0/epsilon /constant/transportProperties /constant/RASProperties |
thanks Max,
it worked... now i do not understand how to use the boundary condition in openfoam! I had use 4m/s in fluent and k-upsilone Also i use velocity inlet outflow and wall.. now i am lost as how to proceed..:( |
now you can import your mesh.
Once it is done, you should have in contant/polyMesh a boundary file. In this file you will retrieve all the patches you defines in Gambit. Then in: /0/U /0/p /0/k /0/epsilon enter right patch names and right boundary conditions Then don't forget that in Gambit your model is not scaled. In OF you can do it with transformPoints Then chekMesh Then specify turbulence models in /constant/RASProperties and viscosity in /constant/transportProperties. Finally if you copied a tutorial for you wanted solver, you can start in serial. hope it helped |
hi
mesh was imported successfully.. i am newbie and a bit unfamiliar with all those terms..:( after i change the boundary condition, what do i do in the terminal? i mean what command to use? |
if everything is ready, then you can simple type name of your solver
>simpleFoam for instance |
Quote:
|
ok no idea about this error.
Just to be sure: again copy and paste the tutorial, and run it is it cavity tutorial? |
yes cavity tutorial..
|
and?
can you run the tutorial? >blockMesh >icoFoam |
yes of course..:(
|
can i modify my parameters in that folder system/foamData to fluent dict?
i found that i can change directly paramters there example Quote:
|
ok it sounds good.
Now go to your case, and paste here what's in: * /constant/polyMesh/boundary *0/U *0/p |
hi
in the dimensions units 1 for mass 2 for length etcc... we have all 7 parameters but in the book i found parameter -1 what does it mean? from my dimensions unit the third parameter means time...we cannt have negative time.. what does [ 0 2 -1 0 0 0 ] the -1 means? thanks |
here -1 means 1/s
[ 0 2 -1 0 0 0 ] --> m**2/s |
hi
You mean 2 m/s? but in the dimension unit is a list of 7 units..i though the parameters inside the brackets corresponded with the units. |
[m**2/s] = [m^2/s] = [m*m/s] = square meter per second
|
All times are GMT -4. The time now is 23:35. |