CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

directMappedPatch and Badly formed bounding box

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By mattijs

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 31, 2010, 15:24
Default directMappedPatch and Badly formed bounding box
  #1
New Member
 
Marco
Join Date: Mar 2010
Posts: 9
Rep Power: 16
om3ro is on a distinguished road
Everything works perfectly in this simpleFoam case of a 2D channel, with the directMappedPatch utility used to achieve the fully developed flow.

But absurdly, when I change ONLY the data in red:

blocks
(
hex (0 1 2 3 4 5 6 7) (20 20 1) simpleGrading (1 1 1)
);

I obtain this error:

Badly formed bounding box0.5 0.25625 0.05) (0.621875 0.378125 0.05)#0 Foam::error:rintStack(Foam::Ostream&) in "/home/om3ro/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/om3ro/OpenFOAM/OpenFOAM-1.6/lib/linuxGccDPOpt/libOpenFOAM.so"...etc...

I append the compressed files.
Please use the following commands:

blockMesh -> changeDictionary -> simpleFoam

Since you use (20 20 1) in blockMeshDict no error occurs, but try to use (40 40 1) or other combinations and you get the error.

Thanks
Marco
Attached Files
File Type: gz test.tar.gz (66.2 KB, 16 views)
om3ro is offline   Reply With Quote

Old   April 1, 2010, 05:16
Default
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
In 1.6 it does not like having the directMapped on a coordinate plane. This has been fixed in 1.6.x. Alternatively very slightly perturb your geometry so the patch you are mapping from is not on a plane.

Thanks for reporting,

Mattijs
wht likes this.
mattijs is offline   Reply With Quote

Old   April 1, 2010, 07:01
Default
  #3
New Member
 
Marco
Join Date: Mar 2010
Posts: 9
Rep Power: 16
om3ro is on a distinguished road
it works now, thanks!

marco
om3ro is offline   Reply With Quote

Reply

Tags
badly formed bounding box, directmappedpatch


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



All times are GMT -4. The time now is 16:20.