CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

Errors during blockMesh meshing

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 14, 2014, 11:57
Default More errors
  #41
New Member
 
Luis Miguel
Join Date: Apr 2013
Location: Colombia
Posts: 13
Rep Power: 4
luigi21 is on a distinguished road
Hello Elia...

I've checked what you suggested me, I switch the vertices order and blockMesh runs well but now I've got a problem when I run checkMesh, the error is even worst, check this out:

Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388092
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388093
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388094
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388095
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388096
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388097
Valid index labels are 0..387999
--> FOAM Serious Error :
From function bool zone::checkDefinition(const label maxSize, const bool report) const
in file meshes/polyMesh/zones/zone/zone.C at line 211
Zone internal contains invalid index label 388098
Valid index labels are 0..387999
--> FOAM Serious Error :

--> FOAM FATAL ERROR:
Too many errors

From function messageStream:perator OSstream&()
in file lnInclude/messageStream.C at line 200.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 Foam::messageStream:perator Foam::OSstream&() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#3 Foam::messageStream:perator()(char const*, char const*, int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::zone::checkDefinition(int, bool) const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/checkMesh"
#6
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/checkMesh"
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8
in "/opt/openfoam211/platforms/linux64GccDPOpt/bin/checkMesh"
Aborted (core dumped)

this is my new blockMesh file

vertices
(
( -8 0 0 ) //1
( 6 0 0 ) //2
( 17 0 0 ) //3
( 32 0 0 ) //4
( -8 0.3 0 ) //5
( 12 0.3 0 ) //6
( 14 0.3 0 ) //7
( 32 0.3 0 ) //8
( -8 0.5 0 ) //9
( 12 0.5 0 ) //10
( 14 0.5 0 ) //11
( 32 0.5 0 ) //12
( -8 0 1 ) //13
( 6 0 1 ) //14
( 17 0 1) //15
( 32 0 1) //16
( -8 0.3 1 ) //17
( 12 0.3 1) //18
( 14 0.3 1) //19
( 32 0.3 1) //20
( -8 0.5 1) //21
( 12 0.5 1) //22
( 14 0.5 1) //23
( 32 0.5 1) //24
);

blocks
(
hex (0 1 5 4 12 13 17 16) ( 1000 120 1 ) simpleGrading (1 1 1) //block0
hex (2 3 7 6 14 15 19 18) ( 900 120 1 ) simpleGrading (1 1 1) //block1
hex (4 5 9 8 16 17 21 20) ( 1000 80 1 ) simpleGrading (1 1 1) //block2
hex (5 6 10 9 17 18 22 21) ( 100 80 1 ) simpleGrading (1 1 1) //block3
hex (6 7 11 10 18 19 23 22) ( 900 80 1 ) simpleGrading (1 1 1) //block4
);

edges
(
);

boundary
(
inlet
{
type patch;
faces
(
(0 12 16 4)
(4 16 20 8)
);
}
bottom
{
type wall;
faces
(
(0 1 13 12)
(1 5 17 13)
(5 6 18 17)
(6 2 14 18)
(2 3 15 14)
);
}
outlet
{
type patch;
faces
(
(3 15 19 7)
(7 19 23 11)
);
}
atmosphere
{
type patch;
faces
(
(8 9 21 20)
(9 10 22 21)
(10 11 23 22)
);
}
frontBack
{
type empty;
faces
(
(0 4 5 1)
(2 6 7 3)
(4 8 9 5)
(5 9 10 6)
(6 10 11 7)
(12 13 17 16)
(14 15 19 18)
(16 17 21 20)
(17 18 22 21)
(18 19 23 22)
);
}
);

mergePatchPairs
(
);


Any ideas how to fix the problem? thank you so much for your help
luigi21 is offline   Reply With Quote

Old   February 14, 2014, 14:29
Default
  #42
New Member
 
Elia Daniele
Join Date: Mar 2010
Location: Oldenburg
Posts: 21
Rep Power: 7
fakekarma is on a distinguished road
Hallo Luis,

I've run your case in OF2.1.1. Everything is fine for me.
I've attached the log of both blockMesh and checkMesh.

Are you sure that you have cleaned the polyMesh folder before running blockMesh and checkMesh?
Delete alla the files in constant/polyMesh except the blockMeshDict one.
Try to run both applications again and see what happens.
I think you have some old Zone file that conflicts with the new mesh.

Hope it helps.

Regards,


Elia
Attached Files
File Type: zip log.zip (2.3 KB, 0 views)
fakekarma is offline   Reply With Quote

Old   February 17, 2014, 13:04
Default mesh error solved
  #43
New Member
 
Luis Miguel
Join Date: Apr 2013
Location: Colombia
Posts: 13
Rep Power: 4
luigi21 is on a distinguished road
Hi Ellia...

Your advice worked well the error has gone, but when I'm running in parallel I get an error in the MULES, I've read this is because of a bad decomposition in the geometric domain but I'm not sure if this error is due to the way I've created my mesh taking into account that my checkMesh now runs well, check this error out:

Foam::error:rintStack(Foam::Ostream&)Foam::error :rintStack(Foam::Ostream&) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #2 at ??:?
[0] #2 in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) at ??:?
[0] #4 void Foam::MULES::limit<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::zeroField const&, Foam::zeroField const&, double, double, int, bool) at ??:?

What do you think of that? now I'm running without use parallel run and the simulation stops in the second 3.16 without any error, I mean still runs but it's not making any computation at all. thanks for your help

Best regards.
luigi21 is offline   Reply With Quote

Old   February 18, 2014, 03:42
Default
  #44
New Member
 
Elia Daniele
Join Date: Mar 2010
Location: Oldenburg
Posts: 21
Rep Power: 7
fakekarma is on a distinguished road
Hi Luis,

I cannot help you further with that. Since I have no experience with MULES scheme, that I think has something to do with VOF problems, I suggest you to open a new thread somewhere under VOF section, or something similar, maybe someone could help you more!

Regards,


Elia
fakekarma is offline   Reply With Quote

Reply

Tags
blockmeshdict block mesh

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
How to write k and epsilon before the abnormal end xiuying OpenFOAM Running, Solving & CFD 8 August 27, 2013 15:33
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 04:03
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 15:24.