|
[Sponsors] | |||||
How can I use absoluteEnthalpy in thermo type in2.2.1 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 14 ![]() |
Dear Foamers:
Do some Foamers want to use absoluteEnthalpy in OF2.2.1? I want use the thermo type as the following: thermoType { type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy absoluteEnthalpy; equationOfState perfectGas; specie specie; } but class hePsiThermo only have "sensibleEnthalpy" insteadingof "absoluteEnthalpy".In 2.2.1,only when I use heheuPsiThermo,can I use "absoluteEnthalpy".So I have to according to class heheuPsiThermo to add "absoluteEnthalpy" in class hePsiThermo .However,when I run my case,the error showed me that there no change with "Valid psiThermo types ".In other word ,my modifies did not work.the file I modified is "thermophysicalModels/reactionThermo/psiReactionThermos.C"I just add the following code: makeReactionThermo ( PsiThermo, PsiReactionThermo, hePsiThermo, reactingMixture, sutherland, absoluteEnthalpy, janafThermo, perfectGas, specie; ) and #include "absoluteEntalpy.H" to psiReactionThermos.C.As you know ,it did not work.could you tell me how to modify psiReactionThermos.C to make my difined thermo type : { type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy absoluteEnthalpy; equationOfState perfectGas; specie specie; }to be useful? Or can I build myThermo library that include thermotype what I want to use?Please someone could give some advise! Please!here is my new thermotype librarymyThermo.zip Last edited by zqlhzx; September 15, 2013 at 21:18. |
|
|
|
|
|
|
|
|
#2 |
|
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 14 ![]() |
my owner solver do not solver transport(specise) equation,I have to use absoluteEnthalpy.Are not there Foamer using absoluteEnthalpy in 2.2.1?
|
|
|
|
|
|
|
|
|
#3 | |
|
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 130 ![]() ![]() ![]() ![]() ![]() ![]() |
Greetings zqlhzx,
I saw that you've asked this question on several threads and gotten some answers on them:
Quote:
Code:
echo $FOAM_SRC/thermophysicalModels/reactionThermo Bruno
__________________
|
||
|
|
|
||
|
|
|
#4 |
|
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 130 ![]() ![]() ![]() ![]() ![]() ![]() |
Hi zqlhzx,
Attached is your library with a very minor modification, namely in the "Make/options" file. I ran: Code:
wclean libso wmake libso Therefore my questions are as follows:
Bruno
__________________
|
|
|
|
|
|
|
|
|
#5 | |||
|
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 14 ![]() |
Dear wyldckat:
Thank you for your replies! Quote:
Quote:
Quote:
HTML Code:
http://pan.baidu.com/share/home?uk=3977527442#category/type=0 |
||||
|
|
|
||||
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| interFoam/kOmegaSST tank filling with printStackError/Mules | simpomann | OpenFOAM Running, Solving & CFD | 3 | February 17, 2014 18:06 |
| Temperature Issue in OpenFOAM-2.2.0 | prasant | OpenFOAM | 0 | March 12, 2013 08:17 |
| Pressure instability with rhoSimpleFoam | daniel_mills | OpenFOAM Running, Solving & CFD | 44 | February 17, 2011 18:08 |
| [Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
| Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 21:50 |