|
[Sponsors] |
February 25, 2013, 10:39 |
Foam fatal error
|
#1 |
New Member
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 13 |
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) " my casefile is too large to upload, if someone need it ,i will send per Email thanks. |
|
February 25, 2013, 18:48 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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: http://www.cfd-online.com/Forums/ope...tml#post398703 post #12 Best regards, Bruno
__________________
|
|
February 26, 2013, 04:43 |
|
#3 | |
New Member
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 13 |
Quote:
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; } ) |
||
February 26, 2013, 05:13 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi wanxlxg,
Remember the message you shared in the first post? It had this message: Quote:
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; } Code:
transform noOrdering; Bruno
__________________
|
||
February 27, 2013, 05:46 |
|
#5 |
New Member
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 13 |
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); |
|
February 27, 2013, 09:57 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
|
March 1, 2013, 05:50 |
|
#7 | |
New Member
wan,Bangqi
Join Date: Feb 2013
Posts: 7
Rep Power: 13 |
Quote:
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 thanks for your help. wan |
||
March 2, 2013, 06:10 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
__________________
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 06:34 |
[OpenFOAM] Saving ParaFoam views and case | sail | ParaView | 9 | November 25, 2011 16:46 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 13:34 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 11:23 |