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

GAMG problem in interDyMFoam?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 13, 2010, 00:07
Default GAMG problem in interDyMFoam?
  #1
New Member
 
Rickard Bensow
Join Date: Mar 2009
Location: Göteborg, Sweden
Posts: 10
Rep Power: 8
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, 13:29
Default
  #2
New Member
 
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 8
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, 14:13
Default
  #3
Senior Member
 
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 252
Rep Power: 11
MartinB is on a distinguished road
Hi Sean, hi Rickard,

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

Martin
MartinB is offline   Reply With Quote

Old   July 15, 2010, 14:24
Default
  #4
New Member
 
Sean McIntyre
Join Date: Mar 2009
Location: State College, PA
Posts: 11
Rep Power: 8
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, 22:23
Default
  #5
Member
 
Haomin Yuan
Join Date: Jan 2012
Location: Madison, Wisconsin, USA
Posts: 54
Rep Power: 5
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, 26 views)
yhaomin2007 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
UDF compiling problem Wouter Fluent UDF and Scheme Programming 6 June 6, 2012 04:43
Incoherent problem table in hollow-fiber spinning Gianni FLUENT 0 April 5, 2008 10:33
natural convection problem for a CHT problem Se-Hee CFX 2 June 10, 2007 06:29
Adiabatic and Rotating wall (Convection problem) ParodDav CFX 5 April 29, 2007 19:13
convergence problem Trushar Phoenics 5 August 27, 2002 23:40


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