CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Custom thermophysical model causes problem with compressibleMultiphaseInterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 27, 2022, 08:29
Default Custom thermophysical model causes problem with compressibleMultiphaseInterFoam
  #1
New Member
 
Join Date: Aug 2019
Posts: 11
Rep Power: 7
R4z0rX is on a distinguished road
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
R4z0rX is offline   Reply With Quote

Reply

Tags
compressible multiphase, pengrobinsongas, sensibleenthalpy, thermophysical model


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Lagrangian Phase Change Model craven.brent OpenFOAM Programming & Development 4 December 25, 2022 20:22
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 19:19
Problem with k-epsilon model torkness FLUENT 2 February 27, 2015 03:44
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
Air-lift model with hot gases and water. Time step problem. PauliusRap FLOW-3D 0 August 4, 2014 05:47


All times are GMT -4. The time now is 03:39.