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

BlockMesh error with growing mesh size

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 21, 2007, 00:08
Default Hello, I just upgraded to 1
  #1
New Member
 
Kian Mehravaran
Join Date: Mar 2009
Location: London, U.K
Posts: 22
Rep Power: 9
kian is on a distinguished road
Hello,

I just upgraded to 1.4.1 by compiling the source.
I have noticed that blockMesh does not like more than 962 cells in the x-direction in the sonicFoam/shockTube example (1 block), and it gives this error if you specify more than 962 cells:

--> FOAM FATAL ERROR : face 0 in patch 0 does not have neighbour cell face: 4(0 2 3 1)#0

I don't know if this is related to the problem or not, since I had not started to really use version 1.4.1, but I had made changes to the source of sonicFoam and executed Allwmake in the applications directory. I saw some errors in vtkFoam application (different gcc versions), but the modified sonicFoam application works fine.

Thank you for your help.

Kian Mehravaran
kian is offline   Reply With Quote

Old   September 21, 2007, 00:11
Default The error message seems to sug
  #2
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 13
msrinath80 is on a distinguished road
The error message seems to suggest that there is a problem in your blockMeshDict. Paste it here. Someone might be able to identify the source of the problem.
msrinath80 is offline   Reply With Quote

Old   September 21, 2007, 10:01
Default Dear Srinath, Thank you for y
  #3
New Member
 
Kian Mehravaran
Join Date: Mar 2009
Location: London, U.K
Posts: 22
Rep Power: 9
kian is on a distinguished road
Dear Srinath,
Thank you for your reply.
It is the one in sonicFoam/shockTube. I haven't changed the blockMeshDict. As I said, the error goes away if the mesh size is 962, instead of the original 1000! I feel that something is wrong with my blockMesh. The full error is below the letter.
Thanks, Kian Mehravaran
--> FOAM FATAL ERROR : face 0 in patch 0 does not have neighbour cell face: 4(0 1 3 2)#0 Foam::error::printStack (Foam:stream&) in "/home/kian/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccSPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/kian/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccSPOpt/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/kian/OpenFOAM/OpenFOAM-1.4.1/lib/linuxGccSPOpt/libOpen FOAM.so"
#3 Foam::polyMesh::polyMesh(Foam::IOobject const&, Foam::Field<foam::vector<float> > const&, Foam::List<foam::ce> 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/kian/OpenFOAM/OpenFOAM-1.4.1/lib/linu xGccSPOpt/libOpenFOAM.so"
#4 main in "/home/kian/OpenFOAM/OpenFOAM-1.4.1/applications/bin/linuxGccSPOpt/blockMesh"
#5 __libc_start_main in "/lib/tls/libc.so.6"
#6 __gxx_personality_v0 at ../sysdeps/i386/elf/start.S:122
kian is offline   Reply With Quote

Old   September 21, 2007, 12:09
Default Wierd. It works perfectly fine
  #4
Senior Member
 
Srinath Madhavan (a.k.a pUl|)
Join Date: Mar 2009
Location: Edmonton, AB, Canada
Posts: 703
Rep Power: 13
msrinath80 is on a distinguished road
Wierd. It works perfectly fine for me here. Compare your blockMeshDict with this one:

blockMeshDict
msrinath80 is offline   Reply With Quote

Old   September 24, 2007, 16:00
Default Thank you for posting your blo
  #5
New Member
 
Kian Mehravaran
Join Date: Mar 2009
Location: London, U.K
Posts: 22
Rep Power: 9
kian is on a distinguished road
Thank you for posting your blockMeshDict, mine is exactly the same. Weird indeed.

Another weird problem that I had, reminded me of the difference our systems might have:
I compiled mine with single precision.
I noticed that when I use a deltaT lower than 1.0E-05, it is basically regarded as zero. In other words, time is always zero!
I checked the deltaT.value() in the code (sonicFoam), and it contains the correct value.
kian is offline   Reply With Quote

Reply

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
BlockMesh error hjasak OpenFOAM Native Meshers: blockMesh 5 August 24, 2012 07:22
Error while blockMesh fightingfalcon23 OpenFOAM Native Meshers: blockMesh 0 April 15, 2008 05:41
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59
BlockMesh error in channel flow lofty OpenFOAM Native Meshers: blockMesh 4 March 5, 2008 09:13
Mdlin UAV Help req, Mesh size + Error in FLUENT whats_in_a_name FLUENT 0 February 5, 2007 03:34


All times are GMT -4. The time now is 09:47.