A problem about Gambit and neu file
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 |
First you have to choose Solve
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 |
Hi Dragos
Thanks for you
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 |
Hi Dragos
Thanks for you
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 |
Hi Bobby,
1. This dictionary
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 |
Hi Dragos
Thanks for yo
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 |
Nothing wrong. Do you have the
Nothing wrong. Do you have the following files: 0/p and 0/U?
Did you specify anything in those? Dragos |
Hi Dragos:
I specify those
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 |
All times are GMT -4. The time now is 08:35. |