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

PisoFoam error: mpirun Exit Code

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By RobertHB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2019, 15:26
Default PisoFoam error: mpirun Exit Code
  #1
Member
 
Joe lee
Join Date: Nov 2018
Posts: 59
Rep Power: 8
Jinjolee is on a distinguished road
Recently, I tried to run my simulation using simpleFoam, but then I found the residual and forceCoeffs fluctuate a lot, so I think it may have a transient solution, and then switched to pisoFoam.
I kept most of the file unchanged, except:
controlDict(change from "simpleFoam" to "pisoFoam"),
fvSchemes(modified using $FOAM_TUTORIALS/incompressible/pisoFoam/RAS/cavity as reference),
fvSolution(same as above)

Then I tried to run it again, but the pisoFoam went wrong. It aborted, but I have no idea what is the cause. The log.pisoFoam:
Code:
--------------------------------------------------------------------------
WARNING: Linux kernel CMA support was requested via the
btl_vader_single_copy_mechanism MCA variable, but CMA support is
not available due to restrictive ptrace settings.

The vader shared memory BTL will fall back on another single-copy
mechanism if one is available. This may result in lower performance.

  Local host: AdminPC
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  dev
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : dev-becf7d290547
Exec   : pisoFoam -parallel
Date   : Apr 27 2019
Time   : 02:15:36
Host   : "AdminPC"
PID    : 656
I/O    : uncollated
Case   : /home/taeioum/OpenFOAM/taeioum-dev/run/constantMovingTest/c3t
nProcs : 6
Slaves : 
5
(
"AdminPC.657"
"AdminPC.658"
"AdminPC.659"
"AdminPC.660"
"AdminPC.661"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

Reading field p

Reading field U

Reading/calculating face flux field phi

Selecting incompressible transport model Newtonian
Selecting turbulence model type RAS
Selecting RAS turbulence model kEpsilon
RAS
{
    RASModel        kEpsilon;
    turbulence      on;
    printCoeffs     on;
    Cmu             0.09;
    C1              1.44;
    C2              1.92;
    C3              0;
    sigmak          1;
    sigmaEps        1.3;
}

No MRF models present

No finite volume options present

Starting time loop

streamLine streamLines:
    automatic track length specified through number of sub cycles : 5

[AdminPC:00651] 5 more processes have sent help message help-btl-vader.txt / cma-permission-denied
[AdminPC:00651] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Reading surface description:
    yNormal

forces forceCoeffs1:
    Not including porosity effects
forceCoeffs forceCoeffs1:
    Not including porosity effects
Time = 0.05

Courant Number mean: 0.0135004 max: 0.861136
smoothSolver:  Solving for Ux, Initial residual = 1, Final residual = 7.22412e-06, No Iterations 4
smoothSolver:  Solving for Uy, Initial residual = 1, Final residual = 9.52946e-06, No Iterations 4
smoothSolver:  Solving for Uz, Initial residual = 1, Final residual = 5.33646e-06, No Iterations 5
-------------------------------------------------------
Primary job  terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted.
-------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[9700,1],3]
  Exit code:    145
--------------------------------------------------------------------------
Does anyone know what happen? Thanks
Jinjolee is offline   Reply With Quote

Old   April 26, 2019, 18:26
Default
  #2
Member
 
Joe lee
Join Date: Nov 2018
Posts: 59
Rep Power: 8
Jinjolee is on a distinguished road
The problem seems to be solved by reducing the timestep.
Originally I got a deltaTime of 0.05s, and now I got 0.005s.
The calculation is now able to proceed.
Is there any timestep limitation on pisoFoam? Or did I just solve this problem with luck?
Jinjolee is offline   Reply With Quote

Old   April 29, 2019, 06:17
Default
  #3
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12
RobertHB is on a distinguished road
Quote:
Originally Posted by Jinjolee View Post
Is there any timestep limitation on pisoFoam?
Yes, it's called the Courant number. The values has to stay below 1.0.
Jinjolee likes this.
__________________
If you liked my answer to your question, please consider leaving a "Like" in return
RobertHB is offline   Reply With Quote

Old   April 29, 2019, 08:10
Default
  #4
Member
 
Joe lee
Join Date: Nov 2018
Posts: 59
Rep Power: 8
Jinjolee is on a distinguished road
Quote:
Originally Posted by RobertHB View Post
Yes, it's called the Courant number. The values has to stay below 1.0.
Thanks a lot. I have never done transient solution before. Now I got it.
Jinjolee 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error "Non-zero Exit code of :2 " KushNepal CFX 13 December 12, 2016 04:36
error mesage " exited normally and returned an exit code of 0 " raunakjung Main CFD Forum 1 October 18, 2016 11:56
The FOAM Documentation Project - SHUT-DOWN holger_marschall OpenFOAM 242 March 7, 2013 13:30
Solver exit return code 1 acvq CFX 5 September 11, 2011 10:06
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 11:11


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