Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 380
    • Issues 380
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #911

Closed
Open
Created Jun 26, 2018 by Admin@OpenFOAM-adminMaintainer

interIsoFoam crashes with nOuterCorrectors > 1

Hello,

when using interIsoFoam (version OpenFOAM-plus develop-prerelease) with nOutercorrectors larger than 1, the solver crashes with the following error message:

--> FOAM FATAL ERROR: previous iteration field IOobject: volScalarField alpha.water readOpt: 0 writeOpt: 0 globalObject: 0 "/home/heinri8/OpenFOAM/OpenFOAM-plus/tutorials/multiphase/interIsoFoam/damBreak/0"

not stored. Use field.storePrevIter() at start of iteration.

To reproduce this simply take the dambreak tutorial case and change nOuterCorrectors from 1 to 2 and start the Allrun script.

I assume there is a typo in the alphaEqn.H file on line 14. It states:

alpha1.prevIter();

It should probably be as following:

alpha.storePrevIter();

since the previous iteration is actually called later in the file on line 23.

Regards

Martin

Edited Jun 26, 2018 by Admin
Assignee
Assign to
Time tracking