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

[blockMesh] Error that I fails to solve

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2012, 11:12
Default Error that I fails to solve
  #1
m_r
New Member
 
Marine
Join Date: Apr 2012
Location: France
Posts: 9
Rep Power: 13
m_r is on a distinguished road
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:olyMesh(... 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:rintStack(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:oints() 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
Attached Files
File Type: txt blockMeshDict.txt (11.8 KB, 15 views)
m_r is offline   Reply With Quote

Old   June 5, 2012, 03:57
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 19
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
Quote:
Originally Posted by m_r View Post
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 ) );
  }
 ...
)
...
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   June 5, 2012, 04:37
Default
  #3
m_r
New Member
 
Marine
Join Date: Apr 2012
Location: France
Posts: 9
Rep Power: 13
m_r is on a distinguished road
Quote:
Originally Posted by SirWombat View Post
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 is offline   Reply With Quote

Old   June 5, 2012, 08:45
Default
  #4
m_r
New Member
 
Marine
Join Date: Apr 2012
Location: France
Posts: 9
Rep Power: 13
m_r is on a distinguished road
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
Attached Files
File Type: txt blockMeshDict.txt (12.2 KB, 5 views)
m_r is offline   Reply With Quote

Old   June 5, 2012, 09:21
Default
  #5
m_r
New Member
 
Marine
Join Date: Apr 2012
Location: France
Posts: 9
Rep Power: 13
m_r is on a distinguished road
I have solved my problem.

thank
m_r is offline   Reply With Quote

Old   June 5, 2012, 11:06
Default
  #6
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 14
falke126 is on a distinguished road
would be interesting, how you solved the problem...
falke126 is offline   Reply With Quote

Old   June 6, 2012, 04:43
Default
  #7
m_r
New Member
 
Marine
Join Date: Apr 2012
Location: France
Posts: 9
Rep Power: 13
m_r is on a distinguished road
In boundary, I had defined patches inside my mesh, by removing them, my blockMeshDict file works properly.
m_r is offline   Reply With Quote

Old   June 6, 2012, 11:59
Default
  #8
New Member
 
Hannes
Join Date: Oct 2011
Posts: 19
Rep Power: 14
falke126 is on a distinguished road
Ok. Thank you!
falke126 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
Is COMSOL Multi Physics is suitable to solve complex flow problem? steve lee COMSOL 8 January 5, 2023 03:31
Remote Solve Manager - Add Solve Manager JohMey ANSYS 0 June 7, 2017 07:10
freeze momentum equations and solve just one equ Ludwig Prandtl CFX 4 September 26, 2016 04:44
Solve Flow or VOF simultaneously ? Ramsey FLUENT 1 February 16, 2011 14:16
Linearized NS euqations: how to solve them?(problem with Matrix operations..) matteoL OpenFOAM Running, Solving & CFD 0 November 18, 2009 07:58


All times are GMT -4. The time now is 06:25.