CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ...

A problem about Gambit and neu file

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

Reply
 
LinkBack Thread Tools Display Modes
Old   November 20, 2006, 02:04
Default Hi~~~everyone As the "u
  #1
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
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, 03:45
Default First you have to choose Solve
  #2
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
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, 03:00
Default Hi Dragos Thanks for you
  #3
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
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:16
Default Hi Dragos Thanks for you
  #4
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
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, 04:19
Default Hi Bobby, 1. This dictionary
  #5
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
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, 01:30
Default Hi Dragos Thanks for yo
  #6
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
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, 05:15
Default Nothing wrong. Do you have the
  #7
Senior Member
 
dmoroian's Avatar
 
Dragos
Join Date: Mar 2009
Posts: 647
Rep Power: 11
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, 22:43
Default Hi Dragos: I specify those
  #8
Member
 
Bobby
Join Date: Mar 2009
Location: wuhan, hubei, China
Posts: 33
Rep Power: 8
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
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem importing iges file to Gambit Tassos FLUENT 0 May 7, 2008 04:28
Changing gambit file without change of case file?? Asghari FLUENT 2 August 28, 2006 13:48
Problem when I run old gambit jou file with new xfshi FLUENT 0 March 31, 2005 13:03
Covert gambit file to polyflow file John FLUENT 5 August 6, 2004 08:31
File Size Exceeded problem in GAMBIT Prateep Chatterjee FLUENT 3 February 9, 2000 22:31


All times are GMT -4. The time now is 05:10.