From bf2812ed5af569695ea3740bda5df2906ed8b829 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sun, 12 Aug 2018 19:04:43 +0100 Subject: [PATCH] water/thermophysicalProperties: Changed equation of state to perfectFluid --- .../templates/materials/water/thermophysicalProperties | 7 ++++++- .../templates/materials/water/thermophysicalProperties | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/etc/templates/singleFluidCHT/templates/materials/water/thermophysicalProperties b/etc/templates/singleFluidCHT/templates/materials/water/thermophysicalProperties index 2a0efc167..cf821f395 100644 --- a/etc/templates/singleFluidCHT/templates/materials/water/thermophysicalProperties +++ b/etc/templates/singleFluidCHT/templates/materials/water/thermophysicalProperties @@ -20,7 +20,7 @@ thermoType mixture pureMixture; transport const; thermo hConst; - equationOfState perfectGas; + equationOfState perfectFluid; specie specie; energy sensibleEnthalpy; } @@ -32,6 +32,11 @@ mixture nMoles 1; molWeight 18.0; // [g/mol] } + equationOfState + { + R 3000; // [J/(kg K)] + rho0 1027; // [kg/m^3] + } thermodynamics { Cp 4181; // [J/(kg K)] at T = 293 K diff --git a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/templates/materials/water/thermophysicalProperties b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/templates/materials/water/thermophysicalProperties index 2a0efc167..cf821f395 100644 --- a/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/templates/materials/water/thermophysicalProperties +++ b/tutorials/heatTransfer/chtMultiRegionFoam/coolingSphere/templates/materials/water/thermophysicalProperties @@ -20,7 +20,7 @@ thermoType mixture pureMixture; transport const; thermo hConst; - equationOfState perfectGas; + equationOfState perfectFluid; specie specie; energy sensibleEnthalpy; } @@ -32,6 +32,11 @@ mixture nMoles 1; molWeight 18.0; // [g/mol] } + equationOfState + { + R 3000; // [J/(kg K)] + rho0 1027; // [kg/m^3] + } thermodynamics { Cp 4181; // [J/(kg K)] at T = 293 K