|
[Sponsors] |
May 13, 2010, 01:07 |
GAMG problem in interDyMFoam?
|
#1 |
New Member
Rickard Bensow
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 10
Rep Power: 17 |
Hi,
I want to combine mesh refinement from interDyMFoam with interPhaseChangeFoam and as a first step I ran a cavitating foil for a while to then having the developed bubble being transported using interDyMFoam. But when I start interDyMFoam I get the following error: Courant Number mean: 0.00223322 max: 0.161259 Time = 0.160004 Selected 8597 cells for refinement out of 48796. Refined from 48796 to 108975 cells. Selected 0 split points out of a possible 8597. Execution time for mesh.update() = 0.97 s time step continuity errors : sum local = 0.000223602, global = 3.57329e-13, cumulative = -3.24457e-08 --> FOAM FATAL ERROR: field does not correspond to level 0 sizes: field = 108975 level = 48796 From function void GAMGAgglomeration::restrictField(Field<Type>& cf, const Field<Type>& ff, const label fineLevelIndex) const in file lnInclude/GAMGAgglomerationTemplates.C at line 48. This is the second time step, the first went fine. dynamicMeshDict is copied from the damBreak-case. Any ideas on how to get around this? Regards Rickard |
|
July 15, 2010, 14:29 |
|
#2 |
New Member
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 17 |
I've also been experiencing this same problem for quite a while. It doesn't seem that GAMG is currently set up to handle topological changes with meshes. It could be that some other agglomeration method works. I believe that amgSolver out of the 1.5-dev version does handle this, but it might not be readily brought over to 1.6. If anyone has gotten GAMG to work with topology change, I'm sure a lot of us would like to hear about it.
Thanks, Sean McIntyre |
|
July 15, 2010, 15:13 |
|
#3 |
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22 |
Hi Sean, hi Rickard,
you must disable the cacheAgglomeration option, i.e. set it to "cacheAgglomeration off;" in fvSolution. Martin |
|
July 15, 2010, 15:24 |
|
#4 |
New Member
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 17 |
Well that certainly does work! Thank you so much Martin. It's actually pretty funny how long I fought with it and never figured that out.
|
|
July 17, 2013, 23:23 |
|
#5 |
Member
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14 |
Hey, guys,
How is your adaptive mesh refinement going? I also tried to put AMR in rhoSimplecFoam, now seems it is working. But I met another problem. My case is a 2D case, it seems this AMR can only divide cell into 8 sub cells. Is there any way we can specify the direction it split the cell? And, this AMR function will make cells really awkward at buffer zone. Does any one how to get around with this?~ |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF compiling problem | Wouter | Fluent UDF and Scheme Programming | 6 | June 6, 2012 05:43 |
Incoherent problem table in hollow-fiber spinning | Gianni | FLUENT | 0 | April 5, 2008 11:33 |
natural convection problem for a CHT problem | Se-Hee | CFX | 2 | June 10, 2007 07:29 |
Adiabatic and Rotating wall (Convection problem) | ParodDav | CFX | 5 | April 29, 2007 20:13 |
convergence problem | Trushar | Phoenics | 5 | August 28, 2002 00:40 |