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

reactingFoam equation of state

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2025, 13:33
Default reactingFoam equation of state
  #1
New Member
 
Alan Welisson
Join Date: May 2024
Posts: 1
Rep Power: 0
alanwelisson is on a distinguished road
Hello everyone,

I am trying to run a case with a custom solver based on reactingFoam and I need to use the Peng–Robinson equation of state. This is my thermoType dictionary:

Code:
thermoType
{
    type            hePsiThermo;
    mixture         multiComponentMixture;
    transport       const;
    thermo          hConst;
    equationOfState PengRobinsonGas;
    specie          specie;
    energy          sensibleEnthalpy;
}
Every time I try to run the case, I get this error:

Code:
--> FOAM FATAL IO ERROR: (openfoam-2212)
Unknown psiReactionThermo type 

Valid psiReactionThermo types :

23
(
hePsiThermo<homogeneousMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<homogeneousMixture<sutherland<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<homogeneousMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<inhomogeneousMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<inhomogeneousMixture<sutherland<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<inhomogeneousMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<multiComponentMixture<const<eConst<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<multiComponentMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<multiComponentMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<multiComponentMixture<sutherland<janaf<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<pureMixture<const<eConst<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<pureMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<pureMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<pureMixture<sutherland<janaf<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<reactingMixture<const<eConst<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<reactingMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<reactingMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<reactingMixture<sutherland<janaf<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<singleStepReactingMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<singleStepReactingMixture<sutherland<janaf<perfectGas<specie>>,sensibleInternalEnergy>>>
hePsiThermo<veryInhomogeneousMixture<const<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<veryInhomogeneousMixture<sutherland<hConst<perfectGas<specie>>,sensibleEnthalpy>>>
hePsiThermo<veryInhomogeneousMixture<sutherland<janaf<perfectGas<specie>>,sensibleEnthalpy>>>
)

type         mixture                    transport   thermo  equationOfState  specie  energy                  

hePsiThermo  homogeneousMixture         const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  homogeneousMixture         sutherland  hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  homogeneousMixture         sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  inhomogeneousMixture       const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  inhomogeneousMixture       sutherland  hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  inhomogeneousMixture       sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  multiComponentMixture      const       eConst  perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  multiComponentMixture      const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  multiComponentMixture      sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  multiComponentMixture      sutherland  janaf   perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  pureMixture                const       eConst  perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  pureMixture                const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  pureMixture                sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  pureMixture                sutherland  janaf   perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  reactingMixture            const       eConst  perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  reactingMixture            const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  reactingMixture            sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  reactingMixture            sutherland  janaf   perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  singleStepReactingMixture  sutherland  janaf   perfectGas       specie  sensibleEnthalpy        
hePsiThermo  singleStepReactingMixture  sutherland  janaf   perfectGas       specie  sensibleInternalEnergy  
hePsiThermo  veryInhomogeneousMixture   const       hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  veryInhomogeneousMixture   sutherland  hConst  perfectGas       specie  sensibleEnthalpy        
hePsiThermo  veryInhomogeneousMixture   sutherland  janaf   perfectGas       specie  sensibleEnthalpy        


file: constant/thermophysicalProperties.thermoType at line 21 to 27.
From what I understand, the available combinations in my build only show perfectGas variants. My questions is: Is it possible to use PengRobinsonGas with a reactingFoam-based solver (i.e., hePsiThermo / psiReactionThermo), or is that EOS only supported for certain top-level thermo types?
alanwelisson is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
reactingFOAM with fvOptions for gravity ERROR in energy equation er99 OpenFOAM Running, Solving & CFD 1 June 3, 2019 12:08
Problem with Velocity Poisson Equation and Vector Potential Poisson Equation mykkujinu2201 Main CFD Forum 1 August 12, 2017 14:15
continuity equation was diverging in transient state stenber FLUENT 0 March 19, 2016 23:37
Ansys CFX problem: unexpected very high temperatures in premix laminar combustion faizan_habib7 CFX 4 February 1, 2016 18:00
Equation of state for water? jinwon park Main CFD Forum 2 December 20, 2007 08:32


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