thermophysicalModels: Removed the unnecessary pressure argument to patch and cellSet property evaluation functions
The pressure provided to the patch and cellSet property evaluation functions is always that stored by the thermodynamics package as is the composition which is provided internally; given that these functions are used in boundary conditions to estimate changes in heat flux corresponding to changes in temperature only there is no need for another pressure to be provided. In order that the pressure and composition treatment are consistent and to maintain that during future rationalisation of the handling of composition it makes sense to remove this unnecessary pressure argument.
This commit is contained in:
@ -172,8 +172,6 @@ Foam::basicThermo::basicThermo
|
||||
|
||||
phaseName_(phaseName),
|
||||
|
||||
p_(lookupOrConstruct(mesh, "p")),
|
||||
|
||||
T_
|
||||
(
|
||||
IOobject
|
||||
@ -227,8 +225,6 @@ Foam::basicThermo::basicThermo
|
||||
|
||||
phaseName_(phaseName),
|
||||
|
||||
p_(lookupOrConstruct(mesh, "p")),
|
||||
|
||||
T_
|
||||
(
|
||||
IOobject
|
||||
@ -470,18 +466,6 @@ Foam::wordList Foam::basicThermo::splitThermoName
|
||||
}
|
||||
|
||||
|
||||
Foam::volScalarField& Foam::basicThermo::p()
|
||||
{
|
||||
return p_;
|
||||
}
|
||||
|
||||
|
||||
const Foam::volScalarField& Foam::basicThermo::p() const
|
||||
{
|
||||
return p_;
|
||||
}
|
||||
|
||||
|
||||
const Foam::volScalarField& Foam::basicThermo::T() const
|
||||
{
|
||||
return T_;
|
||||
|
||||
Reference in New Issue
Block a user