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
  • #2026
Closed
Open
Issue created Mar 14, 2021 by Regő Simon@simrego

twoPhaseMixtureThermo + solidificationMeltingSource

Functionality to add/problem to solve

compressibleInterFoam + solidificationMeltingSource does not work together but as I see they could.

Target audience

Multiphase cases with solidification and melting.

Proposal

This combination (twoPhaseMixtureThermo (compressibleInterFoam) + solidificationMeltingSource) currently raises the following error:

--> FOAM FATAL ERROR: (openfoam-2012)
Not implemented

    From virtual const volScalarField& Foam::twoPhaseMixtureThermo::he() const
    in file twoPhaseMixtureThermo.H at line 143.

FOAM aborting

This error comes from line 211 (source):

fieldNames_[1] = thermo.he().name();

I can't see if this variable is used anywhere else, but with an additional switch or using the default value (TName_) this problem vanishes.

EDIT: There is a lookup thermo mode which resolve this issue. I missed it, sorry. But I found another problem with dynamic mesh refinement and solidificationMelting (see my 1st comment).

Edited Jul 10, 2021 by Regő Simon
Assignee
Assign to
Time tracking