|
[Sponsors] |
March 24, 2013, 04:40 |
differences in OF 2.2
|
#1 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
i want to run a case i made in OF 2.1.1 into OF2.2 but it doesn't know thermophysical model.
|
|
March 24, 2013, 12:21 |
|
#2 |
Member
Michiel
Join Date: Oct 2010
Location: Delft, Netherlands
Posts: 97
Rep Power: 16 |
It might be helpful to post the name of the model you want to use and the error message you get in OF 2.2 so we at least can check what is wrong. I'm guessing the model has gotten a different name in OF 2.2 for some reason.
|
|
March 24, 2013, 12:32 |
|
#3 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings to all!
OpenFOAM 2.2 is now easier to use! Check the section "Dictionary-based Thermodynamics Selection" on the release notes: http://www.openfoam.org/version2.2.0....php#x10-40000 Best regards, Bruno
__________________
|
|
March 26, 2013, 07:53 |
|
#4 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
this is the error:
Code:
PIMPLE: no residual control data found. Calculations will employ 7 corrector loops Reading thermophysical properties Selecting thermodynamics package hPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> [0] [1] [1] [1] --> FOAM FATAL ERROR: [1] Unknown psiThermo type hPsiThermo<pureMixture<sutherlandTransport<specieThermo<janafThermo<perfectGas>>>>> Valid psiThermo types are: 34 ( 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>>> ) [1] [1] [1] From function psiThermo::New [1] in file lnInclude/basicThermoTemplates.C at line 123. [1] FOAM parallel run exiting [1] |
|
March 26, 2013, 08:01 |
|
#5 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
whats the difference between sensibleEnthalpy and sensibleInternalEnergy?
is former more suitable for gases and later for liquids?is there any more? Last edited by immortality; April 1, 2013 at 10:24. |
|
April 1, 2013, 08:52 |
|
#6 | |||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
According to the Doxygen documentation:
Strange... something doesn't add up... I'll keep looking at the code and let you know if I can figure how exactly "h" or "e" are chosen!? edit: Now I get it... it's chosen in the option "energy": Quote:
Best regards, Bruno
__________________
Last edited by wyldckat; April 1, 2013 at 12:51. Reason: see "edit"... also fixed broken links |
||||
April 1, 2013, 10:26 |
|
#7 |
Senior Member
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,208
Rep Power: 27 |
thanks dear Bruno.at which problems we use absoluteEnthalpy and in which sensibleEnthalpy?
|
|
April 1, 2013, 13:08 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Ehsan,
I've checked the tutorials for ideas... the following command gathers information about the tutorials that are using "absoluteEnthalpy": Code:
grep -R 'absoluteEnthalpy' $FOAM_TUTORIALS Code:
combustion/engineFoam/kivaTest/constant/thermophysicalProperties: energy absoluteEnthalpy; combustion/XiFoam/ras/moriyoshiHomogeneous/constant/thermophysicalProperties: energy absoluteEnthalpy; combustion/PDRFoam/flamePropagationWithObstacles/constant/thermophysicalProperties: energy absoluteEnthalpy; I'm not familiar with the specific details for each, but the tutorials seem to indicate that "sensibleEnthalpy" is the default option... Although for this logic, it would mean that "absoluteInternalEnergy" is rarely used... there is only one reference to it in the tutorial "combustion/engineFoam/kivaTest". I can only guess that the specific reasons depends on the chemical formulations behind it all. Best regards, Bruno
__________________
|
|
September 15, 2013, 21:56 |
|
#9 |
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 13 |
Dear wyldchat:
I want use the thermo type as the following: Code:
thermoType { type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy absoluteEnthalpy; equationOfState perfectGas; specie specie; } Code:
makeReactionThermo ( PsiThermo, PsiReactionThermo, hePsiThermo, reactingMixture, sutherland, absoluteEnthalpy, janafThermo, perfectGas, specie; ) Code:
{ type hePsiThermo; mixture reactingMixture; transport sutherland; thermo janaf; energy absoluteEnthalpy; equationOfState perfectGas; specie specie; } 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 library myThermo.zip Last edited by wyldckat; September 28, 2013 at 06:29. Reason: Added [CODE][/CODE] |
|
September 28, 2013, 06:50 |
|
#10 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings zqlhzx,
Sorry, unfortunately I haven't had the time to look into this. And I saw just now that you've asked about this on several other threads and have gotten a few answers, so I'll compile the list of threads you've gotten answers so far on your latest thread: http://www.cfd-online.com/Forums/ope...in2-2-1-a.html Best regards, Bruno
__________________
|
|
September 29, 2013, 23:23 |
|
#11 |
Member
赵庆良
Join Date: Aug 2013
Posts: 56
Rep Power: 13 |
Dear wyldckat:
Thank you for your reply!If you have some times,please take a look on my problem!Thanks in advance! |
|
July 22, 2015, 08:52 |
combustion
|
#12 |
Member
Join Date: Jul 2015
Posts: 33
Rep Power: 11 |
hi
I want to use homogeneousmixture in engineFoam > kivaTest but it doesn't work, can you guide me please? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
pressure distribution in water flow, differences in icoFoam and COMSOL | deniggo | OpenFOAM Running, Solving & CFD | 14 | September 30, 2010 04:48 |
How to install gmbit 2.2 on Vista ???? | shashi | FLUENT | 2 | October 15, 2008 09:45 |
Gambit 2.2 | Sal | FLUENT | 0 | July 12, 2007 23:14 |
Differences between RNG and RS | phil | FLUENT | 1 | September 5, 2003 07:36 |
The differences between Merge & Unite in Gambit? | bambang | FLUENT | 0 | July 29, 2001 12:41 |