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

cyclicACMI gives Courant number nan

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 22, 2014, 19:18
Default cyclicACMI gives Courant number nan
  #1
New Member
 
Join Date: May 2014
Posts: 6
Rep Power: 11
Drew1 is on a distinguished road
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
Drew1 is offline   Reply With Quote

Old   July 23, 2014, 03:14
Default
  #2
Senior Member
 
Yogesh Bapat
Join Date: Oct 2010
Posts: 102
Rep Power: 15
ybapat is on a distinguished road
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
ybapat is offline   Reply With Quote

Old   July 23, 2014, 05:22
Default
  #3
New Member
 
Join Date: May 2014
Posts: 6
Rep Power: 11
Drew1 is on a distinguished road
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!
Drew1 is offline   Reply With Quote

Old   August 16, 2014, 12:47
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat 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
decomposePar no field transfert Jeanp OpenFOAM Pre-Processing 3 June 18, 2022 13:01
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 13:55
Stable boundaries marcoymarc CFX 33 March 13, 2013 07:39
RMS Courant Number vs MAX Courant Number zoozoozoo Main CFD Forum 3 June 12, 2012 14:44
LES near wall model & courant number kasim CFX 5 March 16, 2008 19:23


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