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

nCellsInCoarsestLevel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 12, 2012, 14:08
Default nCellsInCoarsestLevel
  #1
Member
 
Join Date: Jun 2011
Posts: 37
Rep Power: 6
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, 03:14
Default
  #2
Senior Member
 
akidess's Avatar
 
Anton Kidess
Join Date: May 2009
Location: Delft, Netherlands
Posts: 919
Rep Power: 17
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?
__________________
*On twitter @akidTwit
*Spend as much time formulating your questions as you expect people to spend on their answer.
*Help define the OpenFOAM stackexchange Q&A site: http://area51.stackexchange.com/prop...oam-technology
akidess is offline   Reply With Quote

Old   January 21, 2012, 05:52
Default
  #3
Member
 
Join Date: Jun 2011
Posts: 37
Rep Power: 6
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
 
Ken
Join Date: Aug 2012
Posts: 63
Blog Entries: 1
Rep Power: 5
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: 37
Rep Power: 6
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

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



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