CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   compile of new combination of property in thermophisicalpropery (https://www.cfd-online.com/Forums/openfoam-solving/170131-compile-new-combination-property-thermophisicalpropery.html)

milad653279 April 25, 2016 02:53

compile of new combination of property in thermophisicalpropery
 
Hi

could anyone help me?!! I am very boring anymore because I can't solve my problem... I want to use a thermophysical model with adiabaticperfectfluid as equation of state. I use psiThermo or FluidThermo type and fill thermophysicalProperties las shown below:


Quote:

thermoType
{
type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
equationOfState adibaticPerfectFluid;
specie specie;
energy sensibleEnthalpy;
}

but when I run my case, Error occurs?!!!! my error is:

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 hConst perfectGas specie sensibleEnthalpy
hePsiThermo multiComponentMixture const hConst perfectGas specie sensibleInternalEnergy
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 const hConst perfectGas specie sensibleInternalEnergy
hePsiThermo pureMixture sutherland eConst perfectGas specie sensibleInternalEnergy
hePsiThermo pureMixture sutherland hConst perfectGas specie sensibleEnthalpy
hePsiThermo pureMixture sutherland hConst perfectGas specie sensibleInternalEnergy
hePsiThermo pureMixture sutherland janaf perfectGas specie sensibleEnthalpy
hePsiThermo pureMixture sutherland janaf perfectGas specie sensibleInternalEnergy
hePsiThermo reactingMixture const hConst perfectGas specie sensibleEnthalpy
hePsiThermo reactingMixture const hConst perfectGas specie sensibleInternalEnergy
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
heRhoThermo homogeneousMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo multiComponentMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst perfectGas specie sensibleInternalEnergy
heRhoThermo multiComponentMixture polynomial hPolynomial icoPolynomial specie sensibleEnthalpy
heRhoThermo multiComponentMixture polynomial hPolynomial icoPolynomial specie sensibleInternalEnergy
heRhoThermo multiComponentMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture sutherland janaf incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo multiComponentMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture sutherland janaf perfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo pureMixture const hConst incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture const hConst perfectFluid specie sensibleEnthalpy
heRhoThermo pureMixture const hConst perfectFluid specie sensibleInternalEnergy
heRhoThermo pureMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo pureMixture const hConst perfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture const hConst rhoConst specie sensibleEnthalpy
heRhoThermo pureMixture const hConst rhoConst specie sensibleInternalEnergy
heRhoThermo pureMixture polynomial hPolynomial icoPolynomial specie sensibleEnthalpy
heRhoThermo pureMixture polynomial hPolynomial icoPolynomial specie sensibleInternalEnergy
heRhoThermo pureMixture sutherland hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo pureMixture sutherland hConst incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture sutherland hConst perfectGas specie sensibleEnthalpy
heRhoThermo pureMixture sutherland hConst perfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo pureMixture sutherland janaf incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo pureMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo pureMixture sutherland janaf perfectGas specie sensibleInternalEnergy
heRhoThermo reactingMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo reactingMixture const hConst incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo reactingMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo reactingMixture const hConst perfectGas specie sensibleInternalEnergy
heRhoThermo reactingMixture polynomial hPolynomial icoPolynomial specie sensibleEnthalpy
heRhoThermo reactingMixture polynomial hPolynomial icoPolynomial specie sensibleInternalEnergy
heRhoThermo reactingMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo reactingMixture sutherland janaf incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo reactingMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo reactingMixture sutherland janaf perfectGas specie sensibleInternalEnergy
heRhoThermo singleStepReactingMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo singleStepReactingMixture sutherland janaf perfectGas specie sensibleInternalEnergy
heRhoThermo veryInhomogeneousMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo veryInhomogeneousMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo veryInhomogeneousMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo veryInhomogeneousMixture sutherland janaf perfectGas specie sensibleEnthalpy
heheuPsiThermo egrMixture const hConst perfectGas specie absoluteEnthalpy
heheuPsiThermo egrMixture sutherland janaf perfectGas specie absoluteEnthalpy
heheuPsiThermo egrMixture sutherland janaf perfectGas specie absoluteInternalEnergy
heheuPsiThermo homogeneousMixture const hConst perfectGas specie absoluteEnthalpy
heheuPsiThermo homogeneousMixture sutherland janaf perfectGas specie absoluteEnthalpy
heheuPsiThermo homogeneousMixture sutherland janaf perfectGas specie absoluteInternalEnergy
heheuPsiThermo inhomogeneousMixture const hConst perfectGas specie absoluteEnthalpy
heheuPsiThermo inhomogeneousMixture sutherland janaf perfectGas specie absoluteEnthalpy
heheuPsiThermo inhomogeneousMixture sutherland janaf perfectGas specie absoluteInternalEnergy
heheuPsiThermo veryInhomogeneousMixture const hConst perfectGas specie absoluteEnthalpy
heheuPsiThermo veryInhomogeneousMixture sutherland janaf perfectGas specie absoluteEnthalpy
heheuPsiThermo veryInhomogeneousMixture sutherland janaf perfectGas specie absoluteInternalEnergy

I think that OF didn't compile my desired combination of above property. Could anyone tell me how I compile a new combination of thermophysicalpropery. for example: new combination is:

type hePsiThermo;
mixture pureMixture;
transport sutherland;
thermo hConst;
equationOfState adibaticPerfectFluid;
specie specie;
energy sensibleEnthalpy;


Regards,

Alex2 June 16, 2016 07:32

hello,

have you solved the problem, yet?
how does it work?

thank's in advance
alex

milad653279 July 11, 2016 18:04

Quote:

Originally Posted by Alex2 (Post 605161)
hello,

have you solved the problem, yet?
how does it work?

thank's in advance
alex

No, I can't solve it yet.

Alex2 July 12, 2016 02:38

hi,

if you still need it, I have found a great summary on the thermophysical library in OpenFOAM.

http://www.tfd.chalmers.se/~hani/kur...3-or-2.4.x.pdf

I think, it should help you to solve your problem. Thank's to the author.

A.Kiss-Hun April 6, 2017 04:35

About wrong definition in thermophysicalProperties dictionary
 
Hi OpenFOAMers,


As far as I know only a limited set of combinations can be used with each solver. Thus, if you use improper combination of models in the thermophysicalProperties dictionary in OpemFOAM and you try to run your case then the OpenFOAM indicates you this problem, e.g.:

"Unknown rhoReactionThermo type
thermoType
{
type rhoReactingThermo;
mixture basicMultiComponentMixture;
transport const;
thermo hConst;
equationOfState perfectGas;
specie specie;
energy sensibleEnthalpy;
}"

and the program lists the available combinations, e.g.:

"Valid rhoReactionThermo types are:
type mixture transport thermo equationOfState specie energy
heRhoThermo homogeneousMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo homogeneousMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture sutherland janaf incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo inhomogeneousMixture sutherland janaf perfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst incompressiblePerfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst incompressiblePerfectGas specie sensibleInternalEnergy
heRhoThermo multiComponentMixture const hConst perfectGas specie sensibleEnthalpy
heRhoThermo multiComponentMixture const hConst perfectGas specie sensibleInternalEnergy
heRhoThermo multiComponentMixture polynomial hPolynomial icoPolynomial"
***

So, what you need is to select a proper combination to your solver listed in the error message.
Suggested workflow: investigate your error message, try to understand it (using the User Guide, forums, etc.), look after other's solutions, adopt other's solution to yours, try it and start from the beginning or enjoy.
:)
Regards,

Attila


All times are GMT -4. The time now is 18:44.