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

nCellsInCoarsestLevel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By akidess

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 12, 2012, 13:08
Default nCellsInCoarsestLevel
  #1
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
Hey All!

While running a calculation on 48processors on 8 machines i get the following error when exectuting potentialFoam:

Code:
Calculating potential flow
[0] 
[0] 
[0] --> FOAM FATAL ERROR: 
[0] No coarse levels created, either matrix too small for GAMG or nCellsInCoarsestLevel too large.
    Either choose another solver of reduce nCellsInCoarsestLevel.
[0] 
[0]     From function GAMGSolver::GAMGSolver(const word& fieldName,const lduMatrix& matrix,const FieldField<Field, scalar>& interfaceBouCoeffs,const FieldField<Field, scalar>& interfaceIntCoeffs,const lduInterfaceFieldPtrsList& interfaces,const dictionary& solverControls)
[0]     in file matrices/lduMatrix/solvers/GAMG/GAMGSolver.C at line 116.
[0] 
FOAM parallel run exiting
[0]
what is nCellsInCoarsestLevel?

i set it to 1 instead of 10 and now at least potentialFoam works. ...but simpleFoam does not konvergate. It even aborts after 3 timesteps. The case runs perfectly when calculated with only 4 processors.

but what did i change with that?

greets
Christian
ChrisPro is offline   Reply With Quote

Old   January 13, 2012, 02:14
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Germany
Posts: 1,377
Rep Power: 29
akidess will become famous soon enough
Read about multigrid methods. During the solution the grid is coarsened, and this parameter tells the algorithm when to stop. 10 is already a very low value, so I have the feeling you are wasting resources running this problem on 48 CPUs. Does your domain have less than 100 000 cells?
Zaffar likes this.
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
akidess is offline   Reply With Quote

Old   January 21, 2012, 04:52
Default
  #3
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
Oh Ok!

Thanks!! that was the problem!
ChrisPro is offline   Reply With Quote

Old   October 9, 2012, 13:45
Default
  #4
Member
 
Join Date: Aug 2012
Posts: 68
Blog Entries: 1
Rep Power: 13
Nucleophobe is on a distinguished road
Quote:
Originally Posted by ChrisPro View Post
Oh Ok!

Thanks!! that was the problem!
Sorry to bring up an old thread, but what did you do to resolve this? I am getting the same error. My case has some processor directories which contain no mesh due to the complexity of its shape. Is this an issue?

Edit: I realized that having empty processor directories was the issue, and remedied this by changing my how my mesh was decomposed (in decomposeParDict).

Last edited by Nucleophobe; October 9, 2012 at 14:12. Reason: Update
Nucleophobe is offline   Reply With Quote

Old   October 10, 2012, 05:21
Default
  #5
Member
 
Join Date: Jun 2011
Posts: 38
Rep Power: 14
ChrisPro is on a distinguished road
So have you solved your problem?

Either take less processors or use a finer mesh


greets
Christian
ChrisPro 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



All times are GMT -4. The time now is 13:37.