Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 8
    • Merge requests 8
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1616
Closed
Open
Issue created Mar 03, 2020 by Linus K@linus

CrankNicolson ddtScheme isn't working with MPPICInterFoam

Summary

MPPICInterFoam isn't working when using the CrankNicolson ddtScheme. After my own project didnt work, I tried the "twoPhasePachuka" tutorial case with the same result. After the first time step it crashes, showing the error message attached further down.

Steps to reproduce

Take the "twoPhasePachuka" tutorial case.

In file fvSchemes, change the ddtScheme to CrankNicolson:

ddtSchemes
{
    default         CrankNicolson 0.1;
}

In file fvSolution, change the number of AlphaSubCycles to 1:

solvers
{
    "alpha.water.*"
    {
        nAlphaCorr      2;
        nAlphaSubCycles 1;
        cAlpha          1;

Relevant logs and/or images

--> FOAM FATAL ERROR:
tmp<N4Foam14GeometricFieldIdNS_13fvsPatchFieldENS_11surfaceMeshEEE> deallocated

From function const T& Foam::tmp<T>::cref() const [with T = Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>]
in file /OpenFOAM/v1812/OpenFOAM-v1812/src/OpenFOAM/lnInclude/tmpI.H at line 230.

FOAM aborting

Environment information

OpenFOAM version : v1812

Assignee
Assign to
Time tracking