From 12d3b734ee4dcc0ce1405733f6708450e5efff39 Mon Sep 17 00:00:00 2001 From: andy Date: Wed, 13 Oct 2010 12:31:11 +0100 Subject: [PATCH] BUG: Correcting bug introduced by changing thermo units --- .../basic/psiThermo/ePsiThermo/ePsiThermo.C | 6 +++--- .../basic/psiThermo/hPsiThermo/hPsiThermo.C | 6 +++--- .../basic/psiThermo/hsPsiThermo/hsPsiThermo.C | 2 +- .../basic/rhoThermo/hRhoThermo/hRhoThermo.C | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/thermophysicalModels/basic/psiThermo/ePsiThermo/ePsiThermo.C b/src/thermophysicalModels/basic/psiThermo/ePsiThermo/ePsiThermo.C index f81255bbbc..ef59ef1b1b 100644 --- a/src/thermophysicalModels/basic/psiThermo/ePsiThermo/ePsiThermo.C +++ b/src/thermophysicalModels/basic/psiThermo/ePsiThermo/ePsiThermo.C @@ -114,7 +114,7 @@ Foam::ePsiThermo::ePsiThermo(const fvMesh& mesh) IOobject::NO_WRITE ), mesh, - dimensionSet(0, 2, -2, 0, 0), + dimEnergy/dimMass, this->eBoundaryTypes() ) { @@ -245,7 +245,7 @@ Foam::tmp Foam::ePsiThermo::Cp() const IOobject::NO_WRITE ), mesh, - dimMass/dimEnergy/dimTemperature + dimEnergy/dimMass/dimTemperature ) ); @@ -308,7 +308,7 @@ Foam::tmp Foam::ePsiThermo::Cv() const IOobject::NO_WRITE ), mesh, - dimMass/dimEnergy/dimTemperature + dimEnergy/dimMass/dimTemperature ) ); diff --git a/src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.C b/src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.C index ceabb9b928..b6e053e734 100644 --- a/src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.C +++ b/src/thermophysicalModels/basic/psiThermo/hPsiThermo/hPsiThermo.C @@ -112,7 +112,7 @@ Foam::hPsiThermo::hPsiThermo(const fvMesh& mesh) IOobject::NO_WRITE ), mesh, - dimensionSet(0, 2, -2, 0, 0), + dimEnergy/dimMass, this->hBoundaryTypes() ) { @@ -243,7 +243,7 @@ Foam::tmp Foam::hPsiThermo::Cp() const IOobject::NO_WRITE ), mesh, - dimMass/dimEnergy/dimTemperature + dimEnergy/dimMass/dimTemperature ) ); @@ -306,7 +306,7 @@ Foam::tmp Foam::hPsiThermo::Cv() const IOobject::NO_WRITE ), mesh, - dimMass/dimEnergy/dimTemperature + dimEnergy/dimMass/dimTemperature ) ); diff --git a/src/thermophysicalModels/basic/psiThermo/hsPsiThermo/hsPsiThermo.C b/src/thermophysicalModels/basic/psiThermo/hsPsiThermo/hsPsiThermo.C index 62ad897abf..8774f3a7b8 100644 --- a/src/thermophysicalModels/basic/psiThermo/hsPsiThermo/hsPsiThermo.C +++ b/src/thermophysicalModels/basic/psiThermo/hsPsiThermo/hsPsiThermo.C @@ -243,7 +243,7 @@ Foam::tmp Foam::hsPsiThermo::Cp() const IOobject::NO_WRITE ), mesh, - dimMass/dimEnergy/dimTemperature + dimEnergy/dimMass/dimTemperature ) ); diff --git a/src/thermophysicalModels/basic/rhoThermo/hRhoThermo/hRhoThermo.C b/src/thermophysicalModels/basic/rhoThermo/hRhoThermo/hRhoThermo.C index 1e43d467eb..fc4d349da0 100644 --- a/src/thermophysicalModels/basic/rhoThermo/hRhoThermo/hRhoThermo.C +++ b/src/thermophysicalModels/basic/rhoThermo/hRhoThermo/hRhoThermo.C @@ -117,7 +117,7 @@ Foam::hRhoThermo::hRhoThermo(const fvMesh& mesh) IOobject::NO_WRITE ), mesh, - dimensionSet(0, 2, -2, 0, 0), + dimEnergy/dimMass, this->hBoundaryTypes() ) { @@ -242,7 +242,7 @@ Foam::tmp Foam::hRhoThermo::Cp() const IOobject::NO_WRITE ), mesh, - dimensionSet(0, 2, -2, -1, 0) + dimEnergy/dimMass/dimTemperature ) ); @@ -305,7 +305,7 @@ Foam::tmp Foam::hRhoThermo::Cv() const IOobject::NO_WRITE ), mesh, - dimensionSet(0, 2, -2, -1, 0) + dimEnergy/dimMass/dimTemperature ) );