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

directMappedPatch and Badly formed bounding box

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 31, 2010, 14:24
Default directMappedPatch and Badly formed bounding box
  #1
New Member
 
Marco
Join Date: Mar 2010
Posts: 9
Rep Power: 7
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, 14 views)
om3ro is offline   Reply With Quote

Old   April 1, 2010, 04:16
Default
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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
mattijs is offline   Reply With Quote

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

marco
om3ro is offline   Reply With Quote

Reply

Tags
badly formed bounding box, directmappedpatch

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



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