|
[Sponsors] |
[blockMesh] Mesh containing 9 blocks Whats wrong |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 10, 2008, 10:05 |
Mesh containing 9 blocks Whats wrong
|
#1 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Hello World.
I'm trying to set up a mesh with 9 blocks, which are connnected and form a square. When running blockMesh I get this message about neighbour faces. Does anybody have an idea whats wrong with the mesh? blockMeshDict Exec : blockMesh . . Date : May 10 2008 Time : 14:52:31 Host : M1530 PID : 6000 Root : /home/sega/OpenFOAM/sega-1.4.1/run/surfaceTension Case : . Nprocs : 1 Create time Reading block mesh description dictionary Creating block mesh Creating blockCorners Creating curved edges Creating blocks Creating patches Creating block mesh topology Default patch type set to empty --> FOAM FATAL ERROR : face 2 in patch 0 does not have neighbour cell face: 4(24 28 12 8)#0 Foam::error::printStack(Foam:stream&) in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::error::abort() in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Foam::polyMesh::facePatchFaceCells(Foam::List<foam ::face> const&, Foam::List<foam::list<int> > const&, Foam::List<foam::list<foam::face> > const&, int) const in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #3 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<double> > const&, Foam::List<foam::cellshape> const&, Foam::List<foam::list<foam::face> > const&, Foam::List<foam::word> const&, Foam::List<foam::word> const&, Foam::word const&, Foam::List<foam::word> const&, bool) in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccDPOpt/libOpenFOAM.so" #4 Foam::blockMesh::createTopology(Foam::IOdictionary &) in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/blockMesh" #5 Foam::blockMesh::blockMesh(Foam::IOdictionary&) in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/blockMesh" #6 main in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/blockMesh" #7 __libc_start_main in "/lib/tls/i686/cmov/libc.so.6" #8 Foam::regIOobject::readIfModified() in "/home/sega/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccDPOpt/blockMesh" From function polyMesh::facePatchFaceCells(const faceList& patchFaces,const labelListList& pointCells,const faceListList& cellsFaceShapes,const label patchID) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 127. FOAM aborting Aborted (core dumped)
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 10, 2008, 11:48 |
Hi Niels,
I wish I could gi
|
#2 |
Senior Member
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,907
Rep Power: 33 |
Hi Niels,
I wish I could give you a Gold Star for this kind of a help to a new user. Thank you - your kindness is appreciated. Hrv
__________________
Hrvoje Jasak Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk |
|
May 10, 2008, 11:54 |
Unbelievable!
Than you very v
|
#3 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Unbelievable!
Than you very very much!!!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 10, 2008, 16:48 |
Hi Hrv
Thanks for the ackno
|
#4 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Hrv
Thanks for the acknowledgment. If you really insist on the Golden Star you should be welcome to bring it to Milan in July;) @Sebastian: Your welcome, actually its my pleasure, because the thing you are doing is actually quite interesting. Have a nice weekend both of you, I will enjoy the 25 easy breezy degrees here in Copenhagen / Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
May 12, 2008, 10:34 |
Good day,
It a first big ca
|
#5 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Good day,
It a first big case, prepared me with blockMesh. So the same question about blockMeshDict sintax: /attach at patches section blockmesh sees a wrong type '(' instead of 'int', but in another cases it doesn't see any mistakes. Could anybody help to explain, what's wrong here ? With a best regards ruben |
|
May 12, 2008, 10:36 |
Good day,
It a first big ca
|
#6 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Good day,
It a first big case, prepared me with blockMesh. So the same question about blockMeshDict sintax: /attach /home/rmukhamadeev/OpenFOAM/rmukhamadeev-1.4.1/run/tutorials/rhoTurbFoam/mars-b/ constant/polyMesh/blockMeshDict at patches section blockmesh sees a wrong type '(' instead of 'int', but in another cases it doesn't see any mistakes. Could anybody help to explain, what's wrong here ? With a best regards ruben |
|
May 12, 2008, 10:37 |
Good day,
It a first big ca
|
#7 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Good day,
It a first big case, prepared me with blockMesh. So the same question about blockMeshDict sintax: /attach {/home/rmukhamadeev/OpenFOAM/rmukhamadeev-1.4.1/run/tutorials/rhoTurbFoam/mars-b / constant/polyMesh/blockMeshDict} at patches section blockmesh sees a wrong type '(' instead of 'int', but in another cases it doesn't see any mistakes. Could anybody help to explain, what's wrong here ? With a best regards ruben |
|
May 12, 2008, 10:40 |
Good day,
It a first big ca
|
#8 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Good day,
It a first big case, prepared me with blockMesh. So the same question about blockMeshDict sintax: \attach {/home/rmukhamadeev/OpenFOAM/rmukhamadeev-1.4.1/run/tutorials/rhoTurbFoam/mars-b / constant/polyMesh/blockMeshDict} at patches section blockmesh sees a wrong type '(' instead of 'int', but in another cases it doesn't see any mistakes. Could anybody help to explain, what's wrong here ? With a best regards ruben |
|
May 12, 2008, 10:42 |
Good day,
It a first big ca
|
#9 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Good day,
It a first big case, prepared me with blockMesh. So the same question about blockMeshDict sintax: blockMeshDict at patches section blockmesh sees a wrong type '(' instead of 'int', but in another cases it doesn't see any mistakes. Could anybody help to explain, what's wrong here ? With a best regards ruben |
|
May 12, 2008, 10:45 |
Sorry for mistakes with file u
|
#10 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
Sorry for mistakes with file upload, and ask moderator to erase wrong posts.
with best regards ruben |
|
May 12, 2008, 11:31 |
Hm, I'm a beginner too, so I'm
|
#11 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Hm, I'm a beginner too, so I'm not familiar with all the stuff you can do with OpenFOAM, but that does look strange:
patches ( patch inlet ( (2 4( 99 102 101 100)) I thought that patches are created of 4 points, which are located in two brackets ( ). So here we have 4 brackets and 6 int(eger) numbers. So blockMesh sees a "(" instead of an integer number after the "4" ... Or is that some special command for patches?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
May 13, 2008, 04:01 |
I have a box (a number of boxe
|
#12 |
Member
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 17 |
I have a box (a number of boxes) with 2 pipes.
When I generate mesh for single pipe (only for it) using cylinderMesh.m4 I do not have any problem, but when i try to use this information for generating more complex mesh (pipe + box + pipe), blockMesh write : Exec : blockMesh . mars-b Date : May 13 2008 Time : 06:55:38 Host : r117-1 PID : 4148 Root : /home/ben/OpenFOAM/ben-1.4.1/run/tutorials/rhoTurbFoam Case : mars-b Nprocs : 1 Create time Reading block mesh description dictionary Creating block mesh Creating blockCorners Creating curved edges Creating blocks Creating patches --> FOAM FATAL IO ERROR : wrong token type - expected int found on line 223 the punctuation token '(' file: /home/rmukhamadeev/OpenFOAM/rmukhamadeev-1.4.1/run/tutorials/rhoTurbFoam/mars-b/constant/polyMesh/blockMeshDict::patches at line 223. From function operator>>(Istream&, int&) in file primitives/int/intIO.C at line 74. FOAM exiting So I don't understand what's wrong. |
|
July 24, 2008, 09:02 |
what is the patch for. can ne1
|
#13 |
Senior Member
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
what is the patch for. can ne1 xplain. Also, i m completely new to openfoam. I m trying to write a mesh.
the first thing i wish i knew is what are so many files in the polymesh directory for. because i understand points are vertices, neighbours are adjacent nodes and faces are built by patching the nodes in a proper sequence. but what is boundary and patches. I cant understand. And especially moving boundary? should that not be dynamic boundary? can ne1 help? please. |
|
July 26, 2008, 06:56 |
how do we number neighors and
|
#14 |
Senior Member
mayank gupta
Join Date: Mar 2009
Posts: 110
Rep Power: 17 |
how do we number neighors and cells in polyMesh directory
can ne1 xplain with n xample. I read both the user and programmers guide but to no avail and even this forum has left me confused http://www.cfd-online.com/OpenFOAM_D...es/1/3958.html i have a simple block with 18 vertices and 16 faces with one internal faces can neone help |
|
July 26, 2008, 08:49 |
Hi Mayank
You should look i
|
#15 |
Senior Member
Niels Gjoel Jacobsen
Join Date: Mar 2009
Location: Copenhagen, Denmark
Posts: 1,903
Rep Power: 37 |
Hi Mayank
You should look into the tutorials. Start off with the cavity-case and see how the mesh is generated using blockMesh. The boundary file is also generated by blockMesh and contains information on the location of the different boundaries in the mesh based on face-ID. As a start you do not need to know how the neighbour and owner is numbered. When you have got a feel of running OF you will be prepared to go farther. In my case I realized the structure of the polyMesh files (as generated by blockMesh) by looking at a 3x3x1 cavity mesh. Best regards, Niels
__________________
Please note that I do not use the Friend-feature, so do not be offended, if I do not accept a request. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] No layers in a small gap | bobburnquist | OpenFOAM Meshing & Mesh Conversion | 6 | August 26, 2015 10:38 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |