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

nan in potential foam in decomposed form

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2019, 09:39
Default nan in potential foam in decomposed form
  #1
New Member
 
david
Join Date: Dec 2018
Posts: 2
Rep Power: 0
davidwood is on a distinguished road
Hi,
I am having issues with the potentialFoam solver. I have a huge case (almost 80 million cells). When I ran it on a single core, it managed to get some iterations done. However when i decompose the domain into 1200 subdomains, I get nan on the first iteration. My inlet is my own defined velocity profile with random perturbations. This is pre-LES. Is there any reason as to why this is happening. I have searched this forum but i have yet to find anybody having issues with "nan" with potentialfoam. This is for OpenFoam 5.

Thanks
David
davidwood is offline   Reply With Quote

Old   February 12, 2019, 12:17
Default
  #2
New Member
 
david
Join Date: Dec 2018
Posts: 2
Rep Power: 0
davidwood is on a distinguished road
OK. So i solved the NaN issue with potentialFoam by choosing the simple method in decomposePar.
However when i tried to run pimpleFoam, i get NaNs on the first iterations.
Code:
PIMPLE: no residual control data found. Calculations will employ 2 corrector loops

Reading field p

Reading field U

Using the loglaw boundary condition
Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type LES
Selecting LES turbulence model dynamicKEqn
Selecting LES delta type cubeRootVol
bounding k, min: 0 max: 0.167 average: 0.167
dynamicKEqnCoeffs
{
    filter          simple;
    Ce              1.048;
}

No MRF models present

No finite volume options present


Starting time loop

fieldAverage fieldAverage1:
    Starting averaging at time 0

Reading surface description:
    nearWall

Courant Number mean: 2.78783e-05 max: 0.0216974
deltaT = 1.2e-08
Time = 1.2e-08

PIMPLE: iteration 1
smoothSolver:  Solving for Ux, Initial residual = nan, Final residual = nan, No Iterations 1000
smoothSolver:  Solving for Uy, Initial residual = nan, Final residual = nan, No Iterations 1000
smoothSolver:  Solving for Uz, Initial residual = nan, Final residual = nan, No Iterations 1000
I set prefpoint at the outlet. The case is just a simple wind tunnel experiment with a backward facing step. I am just not sure why I am getting nan on the first few iterations.
davidwood is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
[snappyHexMesh] snappyHexMesh error "Cannot determine normal vector from patches." lethu OpenFOAM Meshing & Mesh Conversion 1 June 3, 2020 07:49
error with reactingFoam BakedAlmonds OpenFOAM Running, Solving & CFD 4 June 22, 2016 02:21
[OpenFOAM] Take derivative of mean velocity in paraFoam hiuluom ParaView 13 April 26, 2016 06:44
Cells with t below lower limit Purushothama Siemens 2 May 31, 2010 21:58


All times are GMT -4. The time now is 04:20.