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

icoFoam not running until end time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 2, 2018, 17:46
Unhappy icoFoam not running until end time
  #1
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
I'm new to OpenFOAM and I'm running my first simulation (not tutorial).
So in the controlDict file I've specified a startTime = 0, endTime = 0.5, and deltaT = 0.005.

The solver starts up and runs a few time steps and stops. What would be causing this to happen?

This is the last output from the terminal

Time = 0.025

Courant Number mean: 117.402 max: 1838.74
smoothSolver: Solving for Ux, Initial residual = 0.714445, Final residual = 9.91608e-06, No Iterations 225
smoothSolver: Solving for Uy, Initial residual = 0.712959, Final residual = 9.79209e-06, No Iterations 194
smoothSolver: Solving for Uz, Initial residual = 0.711398, Final residual = 9.59565e-06, No Iterations 192
DICPCG: Solving for p, Initial residual = 0.715978, Final residual = 0.0324444, No Iterations 56
time step continuity errors : sum local = 12.9917, global = -0.356304, cumulative = -0.546988
DICPCG: Solving for p, Initial residual = 0.094301, Final residual = 8.51343e-07, No Iterations 87
time step continuity errors : sum local = 0.00432298, global = -6.44103e-05, cumulative = -0.547053
ExecutionTime = 2.91 s ClockTime = 3 s

Time = 0.03

Courant Number mean: 550.618 max: 5473.6

Last edited by Sean95; February 3, 2018 at 11:33.
Sean95 is offline   Reply With Quote

Old   February 3, 2018, 12:08
Default
  #2
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
I have since run the simulation with parallel processing, this is what I'm getting.

Starting time loop

Time = 0.005

Courant Number mean: 0.0557973 max: 22.1136
smoothSolver: Solving for Ux, Initial residual = 1, Final residual = 6.32534e-06, No Iterations 17
smoothSolver: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0
smoothSolver: Solving for Uz, Initial residual = 0, Final residual = 0, No Iterations 0
DICPCG: Solving for p, Initial residual = 1, Final residual = 0.0443077, No Iterations 100
time step continuity errors : sum local = 0.0355543, global = -0.00138728, cumulative = -0.00138728
DICPCG: Solving for p, Initial residual = 0.0410855, Final residual = 9.19509e-07, No Iterations 158
time step continuity errors : sum local = 3.31136e-05, global = 1.31593e-08, cumulative = -0.00138727
ExecutionTime = 0.4 s ClockTime = 0 s

Time = 0.01

Courant Number mean: 18.2942 max: 86.0617
-------------------------------------------------------
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: [[10352,1],6]
Exit code: 145
Sean95 is offline   Reply With Quote

Old   February 3, 2018, 14:19
Default
  #3
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
> Courant Number mean: 117.402 max: 1838.74

This Co number is way too large. You have to reduce your time step.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   February 3, 2018, 14:35
Default
  #4
Member
 
Sean Gorry
Join Date: Feb 2018
Posts: 48
Rep Power: 8
Sean95 is on a distinguished road
That did the trick, thanks again for your assistance
Sean95 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
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
Simulation of a single bubble with a VOF-method Suzzn CFX 21 January 29, 2018 00:58
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 01:27
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Two-Phase Buoyant Flow Issue Miguel Baritto CFX 4 August 31, 2006 12:02


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