CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   cyclicACMI gives Courant number nan (https://www.cfd-online.com/Forums/openfoam-solving/139353-cyclicacmi-gives-courant-number-nan.html)

Drew1 July 22, 2014 18:18

cyclicACMI gives Courant number nan
 
Hello all!

I am having a problem with my case, which has a interface done with the boundary condition cyclicACMI.

When it starts running, Courant number has a nan value and it crashes automatically, as it is shown below:

Courant Number mean: nan max: 2.732019717e-07
deltaT = 1.2e-10
Time = 1.2e-10

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
GAMG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 50
GAMG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 50


--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: /panfs/storage/s207619/try4_dynOF/system/data.solverPerformance.p at line 0.

From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 93.

FOAM exiting

I can also send the case if anyone could think you might have a clue.

I have attached all the folder of the case, so if anyone can help me I would be really thankful.

Cheers

ybapat July 23, 2014 02:14

Hello,

Please check weights for cyclicAMI BC. If weight is very close to zero or zero for some faces it can lead to divergence.

Regards,
-Yogesh

Drew1 July 23, 2014 04:22

Hello,

I have checked and it is not the case... Here I post the full message I receive:

/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.3.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 2.3.0-f5222ca19ce6
Exec : pimpleFoam
Date : Jul 23 2014
Time : 09:14:30
Host : "service2"
PID : 152592
Case : /panfs/storage/s207619/try4_dynOF
nProcs : 1
sigFpe : Floating point exception trapping - not supported on this platform
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Reading field p

AMI: Creating addressing and weights between 834 source faces and 737 target faces
AMI: Patch source sum(weights) min/max/average = 0.9964476021, 1, 0.9999957405
AMI: Patch target sum(weights) min/max/average = 0.985021398, 1, 0.9999796763
Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RASModel
Selecting RAS turbulence model kEpsilon
bounding k, min: 0 max: 0.00375 average: 0.00375
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
sigmaEps 1.3;
}

No finite volume options present


PIMPLE: max iterations = 50
field "(U|p|k|epsilon|omega)" : relTol 0, tolerance 1e-05


Starting time loop

forces force1:
Not including porosity effects

forces force2:
Not including porosity effects

forces force3:
Not including porosity effects

forceCoeffs forceCoeffs1:
Not including porosity effects

forceCoeffs forceCoeffs2:
Not including porosity effects

forceCoeffs forceCoeffs3:
Not including porosity effects

forceCoeffs forceCoeffsTower:
Not including porosity effects

Courant Number mean: nan max: 2.732019717e-07
deltaT = 1.2e-10
Time = 1.2e-10

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
GAMG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 50
GAMG: Solving for p, Initial residual = nan, Final residual = nan, No Iterations 50


--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 0 the word 'nan'

file: /panfs/storage/s207619/try4_dynOF/system/data.solverPerformance.p at line 0.

From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 93.

FOAM exiting


Thanks!

wyldckat August 16, 2014 11:47

Greetings to all!

@Drew1: If you haven't managed to fix this issue yet, please try upgrading to OpenFOAM 2.3.x, since a few bugs have already been solved regarding ACMI since 2.3.0 was released.

Best regards,
Bruno


All times are GMT -4. The time now is 07:06.