From 015d1fb1bfab017c83804efce9722a2233910403 Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 11 Oct 2012 18:11:21 +0100 Subject: [PATCH] thermophysicalProperties: added demo of dictionary tree lookup --- .../constant/thermophysicalProperties | 33 +++++++++++++++---- 1 file changed, 26 insertions(+), 7 deletions(-) diff --git a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties index 54be80fadb..849d5f8c72 100644 --- a/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties +++ b/tutorials/compressible/rhoPimpleFoam/les/pitzDaily/constant/thermophysicalProperties @@ -15,15 +15,34 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +gasThermoTypes +{ + constant + { + type hePsiThermo; + mixture pureMixture; + transport const; + thermo hConst; + equationOfState perfectGas; + specie specie; + energy sensibleEnthalpy; + } + + janaf + { + type hePsiThermo; + mixture pureMixture; + transport sutherland; + thermo janaf; + equationOfState perfectGas; + specie specie; + energy sensibleEnthalpy; + } +} + thermoType { - type hePsiThermo; - mixture pureMixture; - transport const; - thermo hConst; - equationOfState perfectGas; - specie specie; - energy sensibleEnthalpy; + $gasThermoTypes.constant; } mixture