April 27, 2022, 08:29
|
Custom thermophysical model causes problem with compressibleMultiphaseInterFoam
|
#1
|
|
New Member
Join Date: Aug 2019
Posts: 11
Rep Power: 8
|
Hello everyone,
I am facing a problem using my own custom thermophysical model in conjunction with the compressibleMultiphaseInterFoam solver.
The thermophysical model is using the following setup:
Code:
type heRhoThermo;
mixture pureMixture;
transport polynomial;
thermo hPolynomial;
equationOfState PengRobinsonGas;
specie specie;
energy sensibleEnthalpy;
This causes the solver to post the following error:
Quote:
--> FOAM FATAL ERROR: (openfoam-2112)
Supported energy type is e.fluid, thermodynamics package provides h.fluid
From void Foam::basicThermo::validate(const Foam::string&, const Foam::word&) const
in file basicThermo/basicThermo.C at line 485.
FOAM exiting
|
I suppose the solver's energy equation is in terms of internal energy and not enthalpy. However, I cannot choose sensibleInternalEnergy as an option with the PengRobinson EOS formulation.
Is there a way to get this to work? Any hints are highly appreciated.
Best regards
|
|
|