|
[Sponsors] |
[Commercial meshers] OpenFOAM cannot read the mesh .neu (GAMBIT mesh file) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 3, 2011, 15:33 |
OpenFOAM cannot read the mesh .neu (GAMBIT mesh file)
|
#1 |
Member
Join Date: Aug 2009
Posts: 67
Rep Power: 17 |
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 |
|
October 4, 2011, 03:33 |
|
#2 |
Senior Member
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 30 |
||
November 17, 2012, 04:38 |
|
#3 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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 |
|
November 17, 2012, 12:32 |
|
#4 | ||
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
i have followed this:
Quote:
Quote:
my system freeze over..;( |
|||
November 19, 2012, 09:05 |
|
#5 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
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
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 19, 2012, 09:13 |
|
#6 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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.. |
|
November 19, 2012, 09:19 |
|
#7 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
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
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 19, 2012, 09:39 |
|
#8 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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? |
|
November 19, 2012, 09:43 |
|
#9 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
if everything is ready, then you can simple type name of your solver
>simpleFoam for instance
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 19, 2012, 10:09 |
|
#10 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
Quote:
|
||
November 19, 2012, 10:12 |
|
#11 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
ok no idea about this error.
Just to be sure: again copy and paste the tutorial, and run it is it cavity tutorial?
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 19, 2012, 10:27 |
|
#12 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
yes cavity tutorial..
|
|
November 19, 2012, 10:29 |
|
#13 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
and?
can you run the tutorial? >blockMesh >icoFoam
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 19, 2012, 10:30 |
|
#14 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
yes of course..
|
|
November 19, 2012, 10:34 |
|
#15 | |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
can i modify my parameters in that folder system/foamData to fluent dict?
i found that i can change directly paramters there example Quote:
|
||
November 19, 2012, 10:34 |
|
#16 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
ok it sounds good.
Now go to your case, and paste here what's in: * /constant/polyMesh/boundary *0/U *0/p
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 26, 2012, 05:05 |
|
#17 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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 |
|
November 26, 2012, 05:32 |
|
#18 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
here -1 means 1/s
[ 0 2 -1 0 0 0 ] --> m**2/s
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
November 26, 2012, 05:55 |
|
#19 |
Senior Member
zaynah K.
Join Date: Jun 2012
Location: Mauritius
Posts: 138
Rep Power: 14 |
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. |
|
November 26, 2012, 06:01 |
|
#20 |
Super Moderator
Maxime Perelli
Join Date: Mar 2009
Location: Switzerland
Posts: 3,297
Rep Power: 41 |
[m**2/s] = [m^2/s] = [m*m/s] = square meter per second
__________________
In memory of my friend Hervé: CFD engineer & freerider |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Thermophysical Properties | wsmith02 | OpenFOAM | 4 | June 1, 2023 15:30 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 19:13 |
[OpenFOAM.org] Error creating ParaView-4.1.0 OpenFOAM 2.3.0 | tlcoons | OpenFOAM Installation | 13 | April 20, 2016 18:34 |
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 |