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 by Regő Simon