View Issue Details

IDProjectCategoryView StatusLast Update
0004241OpenFOAMBugpublic2025-06-08 09:15
Reportermuez Assigned Tohenry  
PrioritynormalSeveritytweakReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSOtherOS Version(please specify)
Product Version12 
Fixed in Versiondev 
Summary0004241: multiphase case with non conformale couple gives unrelated error if using CranckNicolson ddtScemes
DescriptionI made a multiphase case with non conformal couple and I set the ddtScemes to CranckNicolson but it gives this error:

--> FOAM FATAL ERROR:
Attempt to cast type calculated to type conformed

    From function To& Foam::refCast(From&) [with To = conformedFvsPatchField<double>; From = fvsPatchField<double>]
    in file /<path to openfoam>/OpenFOAM-12/src/OpenFOAM/lnInclude/typeInfo.H at line 137.

but if I change the ddtSchemes to Euler the case runs fine.
that leave us with many questions:
first: does CrankNicolson make additional patches of type conformal?
second: is it just that NCC in multiphase only support Euler?. if yes then the error must be easier to debug because this toke me a long type searching through the 0 directory and did not find a patch that uses the type calculated
Steps To Reproducecopy the mixerVessel case from $FOAM_TUTORIALS/incompressibleVoF/
change the ddtSchemes to CranckNicolson 0.9
run the case
TagsNo tags attached.

Activities

henry

2025-06-08 09:15

manager   ~0013573

Upgrade to OpenFOAM-dev

Issue History

Date Modified Username Field Change
2025-06-08 07:56 muez New Issue
2025-06-08 09:15 henry Assigned To => henry
2025-06-08 09:15 henry Status new => resolved
2025-06-08 09:15 henry Resolution open => fixed
2025-06-08 09:15 henry Fixed in Version => dev
2025-06-08 09:15 henry Note Added: 0013573