View Issue Details

IDProjectCategoryView StatusLast Update
0004017OpenFOAMBugpublic2023-09-30 23:44
ReporterMatthiasK Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionsuspended 
PlatformLinuxOSUbuntuOS Version22.04
Product Version10 
Summary0004017: multiphaseEulerFoam not working with dynamic mesh and CrankNicolson ddtScheme
DescriptionI ran the OpenFOAM-10 tutorial case: OpenFOAM-10/tutorials/multiphase/multiphaseEulerFoam/laminar/mixerVessel2D

In system/fvSchemes I changed the ddtScheme from "Euler" to "CrankNicolson 0".
The two schemes should be equivalent.

With "Euler" the simulation runs without error.
With "CrankNicolson 0" the following error occurs:

--> FOAM FATAL ERROR:
LHS and RHS of - have different dimensions
    dimensions : [1 2 -2 0 0 0 0] - [1 2 -3 0 0 0 0]

    From function Foam::dimensionSet Foam::operator-(const Foam::dimensionSet&, const Foam::dimensionSet&)
    in file dimensionSet/dimensionSet.C at line 527.

FOAM aborting

The tutorial case: OpenFOAM-10/tutorials/multiphase/multiphaseEulerFoam/laminar/injection
works with both ddtSchemes.
The error seems to occur only when using a dynamic mesh.
Steps To ReproduceOpen the tutorial case "OpenFOAM-10/tutorials/multiphase/multiphaseEulerFoam/laminar/mixerVessel2D"
In system/fvSchemes change the ddtScheme from "Euler" to "CrankNicolson 0".
TagsNo tags attached.

Activities

henry

2023-09-29 11:49

manager   ~0013124

The CrankNicolson scheme is not currently supported in multiphaseEuler. It is complicated to add support for CrankNicolson with MULES and sub-cycling, see twoPhaseSolver/alphaPredictor.C for details of how it was done for 2-phase VoF, and it would be even more complicated for multiphaseEuler.

If you would be interested in sponsoring this development please contact CFD Direct to discuss funding.

Issue History

Date Modified Username Field Change
2023-09-28 15:51 MatthiasK New Issue
2023-09-29 11:49 henry Note Added: 0013124
2023-09-29 11:50 henry Assigned To => henry
2023-09-29 11:50 henry Status new => closed
2023-09-29 11:50 henry Resolution open => suspended