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

GAMG problem in interDyMFoam?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By MartinB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 13, 2010, 01:07
Default GAMG problem in interDyMFoam?
  #1
New Member
 
Rickard Bensow
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 10
Rep Power: 17
ribe is on a distinguished road
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
ribe is offline   Reply With Quote

Old   July 15, 2010, 14:29
Default
  #2
New Member
 
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 17
sean_mcintyre is on a distinguished road
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
sean_mcintyre is offline   Reply With Quote

Old   July 15, 2010, 15:13
Default
  #3
Senior Member
 
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 22
MartinB will become famous soon enough
Hi Sean, hi Rickard,

you must disable the cacheAgglomeration option, i.e. set it to "cacheAgglomeration off;" in fvSolution.

Martin
supersoldier and silviliril like this.
MartinB is offline   Reply With Quote

Old   July 15, 2010, 15:24
Default
  #4
New Member
 
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 17
sean_mcintyre is on a distinguished road
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.
sean_mcintyre is offline   Reply With Quote

Old   July 17, 2013, 23:23
Default
  #5
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 59
Rep Power: 14
yhaomin2007 is on a distinguished road
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?~
Attached Images
File Type: jpg AMR1.jpg (68.5 KB, 74 views)
yhaomin2007 is offline   Reply With Quote

Reply


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


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


All times are GMT -4. The time now is 14:50.