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

Foam fatal error

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

Reply
 
LinkBack Thread Tools Display Modes
Old   February 25, 2013, 10:39
Default Foam fatal error
  #1
New Member
 
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 4
wanxlxg is on a distinguished road
Hallo,
i am woking on the simulation of flow around a 3D cylinder. I have set cyclic BC at the x,y,z,directions.But i get always the "FOAM FATAL ERROR" It says
Code:
"in file lnInclude/AMIInterpolation.C at line 146
    Source and target patch bounding boxes are not similar
source box span     : (0.01 0 0.01)
    target box span     : (0.01 0 0.01)
    source box          : (0 0.01 0) (0.01 0.01 0.01)
    target box          : (0 -0.01 0) (0.01 -0.01 0.01)
    inflated target box : (-0.000707107 -0.0107071 -0.000707107) (0.0107071 -0.00929289 0.0107071)
"
could someone please help me?

my casefile is too large to upload, if someone need it ,i will send per Email

thanks.
wanxlxg is offline   Reply With Quote

Old   February 25, 2013, 18:48
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings wanxlxg and welcome to the forum!

It should be enough if you share the file "constant/polyMesh/boundary".
In the mean time, I wrote something about cyclic how to define patches here: parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running post #12

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 26, 2013, 04:43
Default
  #3
New Member
 
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 4
wanxlxg is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings wanxlxg and welcome to the forum!

It should be enough if you share the file "constant/polyMesh/boundary".
In the mean time, I wrote something about cyclic how to define patches here: parallel error with cyclic BCs for pimpleDyMFoam and trouble in resuming running post #12

Best regards,
Bruno


I share the boundary file here.
Code:
7
(
    INLET
    {
        type            cyclicAMI;
        nFaces          326;
        startFace       305782;
        matchTolerance  0.0001;
        neighbourPatch  OUTLET;
        transform       translational;
        separationVector (0.01 0 0);
    }
    OUTLET
    {
        type            cyclicAMI;
        nFaces          326;
        startFace       306108;
        matchTolerance  0.0001;
        neighbourPatch  INLET;
        transform       translational;
        separationVector (-0.01 0 0);
    
    }
    TOP
    {
        type            cyclicAMI;
        nFaces          326;
        startFace       306434;    
       matchTolerance  0.0001;
       neighbourPatch  DOWN;
       transform       translational;
        separationVector (0 0.01 0);
    }
    DOWN
    {
        type            cyclicAMI;
        nFaces          323;
        startFace       306760;
        matchTolerance  0.0001;
        neighbourPatch  TOP;
        transform       translational;
        separationVector (0 -0.01 0);
    }
    FRONT
    {
        type            cyclicAMI;
        nFaces          323;
        startFace       307083;
        matchTolerance  0.0001;
        neighbourPatch  BACK;
        transform       translational;
        separationVector (0 0 0.01);
    }
    BACK
    {
        type            cyclicAMI;
        nFaces          324;
        startFace       307406;
        matchTolerance  0.0001;
        neighbourPatch  FRONT;
        transform       translational;
        separationVector (0 0 -0.01);
    }
    KUGEL
    {
        type            wall;
        nFaces          16144;
        startFace       307730;
    }
)
thanks for your help
wanxlxg is offline   Reply With Quote

Old   February 26, 2013, 05:13
Default
  #4
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi wanxlxg,

Remember the message you shared in the first post? It had this message:
Quote:
Source and target patch bounding boxes are not similar
On your "boundary" file, it indicates that the number of faces on the patches is not the same on both sides. That is why your getting that error message.
You can try the example from the tutorial "incompressible/pimpleDyMFoam/propeller", which has this:
Code:
    AMI1
    {
        type            cyclicAMI;
        nFaces          22416;
        startFace       1733766;
        matchTolerance  0.0001;
        neighbourPatch  AMI2;
        transform       noOrdering;
    }
    AMI2
    {
        type            cyclicAMI;
        nFaces          22416;
        startFace       1756182;
        matchTolerance  0.0001;
        neighbourPatch  AMI1;
        transform       noOrdering;
    }
Notice the:
Code:
transform       noOrdering;
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   February 27, 2013, 05:46
Default
  #5
New Member
 
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 4
wanxlxg is on a distinguished road
Hallo,

i tried your suggestions,but the Error is still there.
i post here my model
so you can see what i am simulating
i think the tansfom typ--translation is better for my model
please check the separationVector for me,did i set it right?
x 0 to 0.01
y 0 to 0.01
z 0 to 0.01
Code:
transform       translational;
separationVector (0 0.01 0);
Attached Images
File Type: jpg 222.jpg (11.6 KB, 8 views)
wanxlxg is offline   Reply With Quote

Old   February 27, 2013, 09:57
Default
  #6
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi wanxlxg,

There is a tutorial in OpenFOAM that shows that same cube-shaped geometry with cyclics all over the place.... it's "DNS/dnsFoam/boxTurb16": https://github.com/OpenFOAM/OpenFOAM...Foam/boxTurb16

Best regards,
Bruno
wyldckat is offline   Reply With Quote

Old   March 1, 2013, 05:50
Default
  #7
New Member
 
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 4
wanxlxg is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Hi wanxlxg,

There is a tutorial in OpenFOAM that shows that same cube-shaped geometry with cyclics all over the place.... it's "DNS/dnsFoam/boxTurb16": https://github.com/OpenFOAM/OpenFOAM...Foam/boxTurb16

Best regards,
Bruno
P { margin-bottom: 0.21cm; } Hallo Bruno,
have seen your post and also checked the example you said.And i have a new question about that old problem.
Code:
For patch TOP there are 326 face centres, for the neighbour patch DOWN there are 323
In my case i must use the unstructured grid, therefor i have different nFace number in the TOP and DOWN Face. Is there a solution, i keep my grid and able to use the cyclic boundary?

thanks for your help.

wan
wanxlxg is offline   Reply With Quote

Old   March 2, 2013, 06:10
Default
  #8
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,488
Blog Entries: 34
Rep Power: 86
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Hi Wan,

Have you tried what I said in post #4?

Best regards,
Bruno
wyldckat 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
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 93 September 19, 2014 04:42
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
checking the system setup and Qt version vivek070176 OpenFOAM Installation 22 June 1, 2010 12:34
Version 15 on Mac OS X gschaider OpenFOAM Installation 120 December 2, 2009 11:23


All times are GMT -4. The time now is 02:59.