|
[Sponsors] |
September 8, 2013, 16:32 |
|
#21 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
OpenFOAM hasn't implemented all possible combinations of thermodynamic options.
You have to first check the list of valid combinations, as implied here: http://www.openfoam.org/version2.2.0....php#x10-40000 - section "Dictionary-based Thermodynamics Selection". In other words: did you first run the solver with those options in the dictionary file, to confirm if it works?
__________________
|
|
September 8, 2013, 17:09 |
|
#22 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
Hi Bruno
yes that case is finished 10 days before and I'm engaging with making more than 150 plots,and its the thermodynamic dictionary: Code:
thermoType { type hePsiThermo; mixture pureMixture; transport const; thermo hConst;//janaf;// equationOfState perfectGas; specie specie; energy sensibleEnthalpy; } mixture { specie { nMoles 1; molWeight 28.96; } thermodynamics { /*Tlow 200; Thigh 6000; Tcommon 1000; highCpCoeffs (3.129672277499967 1.211766752750042e-3 -4.04761109000018e-7 6.409571300000324e-11 -3.780447620000211e-15 -.996955811e3 5.257756413); lowCpCoeffs (3.593868050000014 -8.419292810001117e-4 2.08457592775033e-6 -5.938441825004294e-10 -2.456771699998039e-13 -1.0512181e3 3.140021718);*/ Cp 1100; Hf 2.544e+06; } transport { /*As 1.4584e-6; Ts 110.4;*/ mu 0;//1.84e-05 Pr 0.75; } }
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
September 8, 2013, 17:37 |
|
#23 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
Unfortunately OpenFOAM doesn't have the calculation of entropy implemented for the "hConstThermo": Quote:
Code:
ls -l $FOAM_SRC/thermophysicalModels/specie/thermo After looking at the source codes, only the following options have an implemented entropy calculation: Code:
janaf hPolynomial Bruno
__________________
|
||
September 8, 2013, 18:18 |
|
#24 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
many thanks Bruno for consideration and investigation,
when I wanted to run the "inviscid case" because its inviscid,so viscosity had to be 0(constant) then Code:
transport const; Code:
thermo janaf;// hConst;// Code:
Valid psiThermo types are: 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 hConst perfectGas specie sensibleEnthalpy hePsiThermo multiComponentMixture sutherland janaf perfectGas specie sensibleEnthalpy 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 sutherland janaf perfectGas specie sensibleEnthalpy hePsiThermo singleStepReactingMixture sutherland janaf perfectGas specie sensibleEnthalpy hePsiThermo veryInhomogeneousMixture const hConst perfectGas specie sensibleEnthalpy hePsiThermo veryInhomogeneousMixture sutherland hConst perfectGas specie sensibleEnthalpy hePsiThermo 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
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King. To Be or Not To Be,Thats the Question! The Only Stupid Question Is the One that Goes Unasked. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Entropy | Cormac | Main CFD Forum | 5 | March 31, 2023 01:30 |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 06:51 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
Velocity spots in openFoam results | Valle | OpenFOAM Running, Solving & CFD | 4 | August 19, 2009 06:53 |