View Issue Details

IDProjectCategoryView StatusLast Update
0001152OpenFOAMBugpublic2014-02-18 09:01
Reporteruser845Assigned Towill  
PriorityimmediateSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux OSRed Hat OS Version4.1.2
Summary0001152: settlingFoam crash no matter parallel or non-parallel
DescriptionI have built a case with settlingFoam in open channel and succeeded to implement settlingFoam with upstream velocity U=0.01m/s. But when I increase velocity to 0.1m/s and then decrease deltaT to 1/10 of original value with other parameters unchanged, settlingFoam crash only in a few steps.
The error are:
[4] --> FOAM FATAL IO ERROR:
[4] wrong token type - expected Scalar, found on line 6 the word 'nan'
[4]
[4] file: /work/jchb_work/tryCase3/processor4/system/data.solverPerformance.p_rgh at line 6.
[4]
[4] From function operator>>(Istream&, Scalar&)
[4] in file lnInclude/Scalar.C at line 91.
[4]
FOAM parallel run exiting

and
Steps To ReproduceDownload the attached file, unzip it.
and run it with settlingFoam, it will crash.
But when you change velocityinlet value in file U in folder 0 to 0.01, and
increase the deltaT in system/controlDict to 0.005, it can run correctly.
TagsNo tags attached.

Activities

user845

2014-02-08 11:33

 

settlingFoamTry.rar (1,681,946 bytes)

will

2014-02-17 17:33

manager   ~0002822

Last edited: 2014-02-17 17:33

I don't think this is a bug. The case diverges due to the setup.

Try the usual stability tricks; switch to upwind schemes, improve the mesh, ramp the velocity at the start, etc...

user845

2014-02-18 07:21

  ~0002825

Thank you, Will

Issue History

Date Modified Username Field Change
2014-02-08 11:33 user845 New Issue
2014-02-08 11:33 user845 File Added: settlingFoamTry.rar
2014-02-17 17:33 will Note Added: 0002822
2014-02-17 17:33 will Note Edited: 0002822
2014-02-18 07:21 user845 Note Added: 0002825
2014-02-18 09:01 will Status new => resolved
2014-02-18 09:01 will Resolution open => fixed
2014-02-18 09:01 will Assigned To => will