CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Commercial meshers] A problem about Gambit and neu file

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 20, 2006, 01:04
Default A problem about Gambit and neu file
  #1
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 17
aderliner is on a distinguished road
Hi~~~everyone

As the "userguider" said, "GAMBIT writes mesh data to a single file with a .neu extension", but, I don't know how to export as a .neu file. Does anyone can tell me?
Thanks a lot~~~

Bobby
aderliner is offline   Reply With Quote

Old   November 20, 2006, 02:45
Default First you have to choose Solve
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
First you have to choose Solver->Generic, then File->Export->Mesh.
Be aware that changing the type of solver may affect the boundary conditions you have set.

Dragos
dmoroian is offline   Reply With Quote

Old   November 24, 2006, 02:00
Default Hi Dragos Thanks for you
  #3
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 17
aderliner is on a distinguished road
Hi Dragos

Thanks for your advice;
I got the neu file as you said, and convert it to the Foam mesh successfully, but there is also some problems:
1. There is no blockMeshDict file in the polymesh folder;
2. When I start to calculate, I found it seems like that there is something wrong about boundary condition, because the fuel can not flow into the model though the inlet;

Could you help me ? Thanks;

Best regards

Bobby
aderliner is offline   Reply With Quote

Old   November 24, 2006, 02:16
Default Hi Dragos Thanks for you
  #4
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 17
aderliner is on a distinguished road
Hi Dragos

Thanks for your advice;
I got the neu file as you said, and convert it to the Foam mesh successfully, but there is also some problems:
1. There is no blockMeshDict file in the polymesh folder;
2. When I start to calculate, I found it seems like that there is something wrong about boundary condition, because the fuel can not flow into the model though the inlet;

Could you help me ? Thanks;

Best regards

Bobby
aderliner is offline   Reply With Quote

Old   November 24, 2006, 03:19
Default Hi Bobby, 1. This dictionary
  #5
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Hi Bobby,
1. This dictionary is only for blockMesh utility to generate the mesh. Since you already have the mesh generated some other way, you can just ignore it.
2. This is because you did not specified the boundary conditions. When a mesh gets imported through any translating utility (fluentMeshToFoam, gambitToFoam, starToFoam...), a dictionary, called constant/polyMesh/boundary, is created. Here you have to specify first the type of each boundary, then you have to create a time directory, usually called "0", where you actually say what is going to happen on each boundary, for each variable you solve.
Just take any tutorial case and study the constant/polyMesh/boundary and 0/[pU] files.

Dragos
dmoroian is offline   Reply With Quote

Old   November 27, 2006, 00:30
Default Hi Dragos Thanks for yo
  #6
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 17
aderliner is on a distinguished road
Hi Dragos

Thanks for your advice again~!
I've done these work in FoamX:first, I created a case, than, use GambitToFoam utility to convert the neu file to the case, than, set boundary condition and initial field in FoamX, the /constant/polymesh/boundary file is as below:

{
version 2.0
format ascii;
root "/home/wab/OpenFOAM/wab-1.3/run/tutorials/lesInterFoam";
case "3d5";
instance "constant/polyMesh";
local "";
class polyBoundaryMesh;
object boundary;}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
(
inlet
{ type patch;
physicalType inlet;
startFace 12712;
nFaces 89;
}
outlet
{ type patch;
physicalType outlet;
startFace 12801;
nFaces 89; }
wall
{ type wall;
physicalType wall;
startFace 12890;
nFaces 1632;
}
)
// ************************************************** *********************** //


Is there something wrong?

Bobby
11.27
aderliner is offline   Reply With Quote

Old   November 27, 2006, 04:15
Default Nothing wrong. Do you have the
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20
dmoroian is on a distinguished road
Nothing wrong. Do you have the following files: 0/p and 0/U?
Did you specify anything in those?

Dragos
dmoroian is offline   Reply With Quote

Old   November 28, 2006, 21:43
Default Hi Dragos: I specify those
  #8
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 17
aderliner is on a distinguished road
Hi Dragos:

I specify those boundary conditions and initial field in FoamX. I have checked the 0/p and 0/U file, I think it is OK.

Thanks~!

Bobby
11.29
aderliner is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Gambit surfece mesh mahdypars ANSYS Meshing & Geometry 0 July 28, 2016 15:09
GAMBIT NEU? jack Main CFD Forum 0 March 25, 2008 04:12
[Commercial meshers] Conversion problem dmoroian OpenFOAM Meshing & Mesh Conversion 15 September 14, 2007 05:44
set boundary condition in Neutral file, in Gambit Vito Chow FLUENT 2 April 26, 2005 06:50
convert gambit neu file? hengzi FLUENT 1 July 22, 2002 01:14


All times are GMT -4. The time now is 17:38.