CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Error that I fails to solve (https://www.cfd-online.com/Forums/openfoam-meshing/102848-error-i-fails-solve.html)

m_r June 4, 2012 10:12

Error that I fails to solve
 
1 Attachment(s)
Hello everyone,


I created a blockMeshDict file corresponding to my case, however I get an error that appears when I run blockMesh, and I fails to solve it.

See my blockMeshDict file in the attachments.

Best regards.

Marine

Quote:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.1.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.1.0-0bc225064152
Exec : blockMesh
Date : Jun 04 2012
Time : 16:02:34
Host : "aton"
PID : 12807
Case : /home/romainm/OpenFOAM/romainm-2.1.0/run/test1/test
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/romainm/OpenFOAM/romainm-2.1.0/run/test1/test/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Reading patches section

Creating block mesh topology

Reading physicalType from existing boundary file

Default patch type set to empty
--> FOAM Warning :
From function polyMesh::polyMesh(... construct from shapes...)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 888
Found 88 undefined faces in mesh; adding to default patch.

Check topology

Basic statistics
Number of internal faces : 88
Number of boundary faces : 88
Number of defined boundary faces : 88
Number of undefined boundary faces : 0
Checking patch -> block consistency

Creating block offsets
Creating merge list #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::block::createPoints() const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#4 Foam::block::points() const in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#5 Foam::blockMesh::calcMergeInfo() in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#6 Foam::blockMesh::blockMesh(Foam::IOdictionary const&, Foam::word const&) in "/opt/openfoam210/platforms/linux64GccDPOpt/lib/libblockMesh.so"
#7
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/blockMesh"
#8 __libc_start_main in "/lib/libc.so.6"
#9
in "/opt/openfoam210/platforms/linux64GccDPOpt/bin/blockMesh"
Erreur de segmentation

SirWombat June 5, 2012 02:57

Quote:

Originally Posted by m_r (Post 364654)
Found 88 undefined faces in mesh;

You will probably have to tell blockMesh, what those faces are, e.g. in a boundary definition, or in patches, like the ones commented out in your blockMeshDict.

Code:

...
boundary (
  inlet {
    type patch;
    faces ( ( 0 4 7 3 ) );
  }
 ...
)
...


m_r June 5, 2012 03:37

Quote:

Originally Posted by SirWombat (Post 364747)
You will probably have to tell blockMesh, what those faces are, e.g. in a boundary definition, or in patches, like the ones commented out in your blockMeshDict.

Code:

...
boundary (
  inlet {
    type patch;
    faces ( ( 0 4 7 3 ) );
  }
 ...
)
...


Thank to your response, I'm going to correct the boundaries.

m_r June 5, 2012 07:45

1 Attachment(s)
Hi, I have another problem, I have changing my boundary in my blockMeshDict file but I have a new error message and i can't resolve it.


Quote:

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Creating block mesh from
"/home/romainm/OpenFOAM/romainm-2.1.0/run/test1/test3/constant/polyMesh/blockMeshDict"
Creating curved edges
Creating topology blocks
Creating topology patches

Creating block mesh topology


--> FOAM FATAL ERROR:
Trying to specify a boundary face 4(18 22 62 58) on the face on cell 24 which is either an internal face or already belongs to some other patch. This is face 0 of patch 8 named inletOutlet0.

From function polyMesh::setTopology
(
const cellShapeList& cellsAsShapes,
const faceListList& boundaryFaces,
const wordList& boundaryPatchNames,
labelList& patchSizes,
labelList& patchStarts,
label& defaultPatchStart,
label& nFaces,
cellList& cells
)
in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 360.

FOAM aborting

m_r June 5, 2012 08:21

I have solved my problem.

thank

falke126 June 5, 2012 10:06

would be interesting, how you solved the problem...

m_r June 6, 2012 03:43

In boundary, I had defined patches inside my mesh, by removing them, my blockMeshDict file works properly.

falke126 June 6, 2012 10:59

Ok. Thank you!


All times are GMT -4. The time now is 13:01.