mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev
This commit is contained in:
@ -30,14 +30,9 @@ License
|
|||||||
#include "volFields.H"
|
#include "volFields.H"
|
||||||
#include "basicThermo.H"
|
#include "basicThermo.H"
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
namespace Foam
|
|
||||||
{
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
@ -53,7 +48,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||||
(
|
(
|
||||||
const wallHeatTransferFvPatchScalarField& ptf,
|
const wallHeatTransferFvPatchScalarField& ptf,
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
@ -67,7 +62,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||||
(
|
(
|
||||||
const fvPatch& p,
|
const fvPatch& p,
|
||||||
const DimensionedField<scalar, volMesh>& iF,
|
const DimensionedField<scalar, volMesh>& iF,
|
||||||
@ -96,7 +91,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||||
(
|
(
|
||||||
const wallHeatTransferFvPatchScalarField& tppsf
|
const wallHeatTransferFvPatchScalarField& tppsf
|
||||||
)
|
)
|
||||||
@ -107,7 +102,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
|||||||
{}
|
{}
|
||||||
|
|
||||||
|
|
||||||
wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
Foam::wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
||||||
(
|
(
|
||||||
const wallHeatTransferFvPatchScalarField& tppsf,
|
const wallHeatTransferFvPatchScalarField& tppsf,
|
||||||
const DimensionedField<scalar, volMesh>& iF
|
const DimensionedField<scalar, volMesh>& iF
|
||||||
@ -121,7 +116,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
|
||||||
|
|
||||||
void wallHeatTransferFvPatchScalarField::autoMap
|
void Foam::wallHeatTransferFvPatchScalarField::autoMap
|
||||||
(
|
(
|
||||||
const fvPatchFieldMapper& m
|
const fvPatchFieldMapper& m
|
||||||
)
|
)
|
||||||
@ -132,7 +127,7 @@ void wallHeatTransferFvPatchScalarField::autoMap
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wallHeatTransferFvPatchScalarField::rmap
|
void Foam::wallHeatTransferFvPatchScalarField::rmap
|
||||||
(
|
(
|
||||||
const fvPatchScalarField& ptf,
|
const fvPatchScalarField& ptf,
|
||||||
const labelList& addr
|
const labelList& addr
|
||||||
@ -148,7 +143,7 @@ void wallHeatTransferFvPatchScalarField::rmap
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wallHeatTransferFvPatchScalarField::updateCoeffs()
|
void Foam::wallHeatTransferFvPatchScalarField::updateCoeffs()
|
||||||
{
|
{
|
||||||
if (updated())
|
if (updated())
|
||||||
{
|
{
|
||||||
@ -159,13 +154,13 @@ void wallHeatTransferFvPatchScalarField::updateCoeffs()
|
|||||||
(
|
(
|
||||||
"thermophysicalProperties"
|
"thermophysicalProperties"
|
||||||
);
|
);
|
||||||
|
|
||||||
const label patchi = patch().index();
|
const label patchi = patch().index();
|
||||||
|
|
||||||
const scalarField& Tw = thermo.T().boundaryField()[patchi];
|
const scalarField& Tw = thermo.T().boundaryField()[patchi];
|
||||||
scalarField Cpw = thermo.Cp(Tw, patchi);
|
scalarField Cpw = thermo.Cp(Tw, patchi);
|
||||||
|
|
||||||
valueFraction() =
|
valueFraction() =
|
||||||
1.0/
|
1.0/
|
||||||
(
|
(
|
||||||
1.0
|
1.0
|
||||||
@ -177,7 +172,7 @@ void wallHeatTransferFvPatchScalarField::updateCoeffs()
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void wallHeatTransferFvPatchScalarField::write(Ostream& os) const
|
void Foam::wallHeatTransferFvPatchScalarField::write(Ostream& os) const
|
||||||
{
|
{
|
||||||
fvPatchScalarField::write(os);
|
fvPatchScalarField::write(os);
|
||||||
Tinf_.writeEntry("Tinf", os);
|
Tinf_.writeEntry("Tinf", os);
|
||||||
@ -188,10 +183,9 @@ void wallHeatTransferFvPatchScalarField::write(Ostream& os) const
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
makePatchTypeField(fvPatchScalarField, wallHeatTransferFvPatchScalarField);
|
namespace Foam
|
||||||
|
{
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
makePatchTypeField(fvPatchScalarField, wallHeatTransferFvPatchScalarField);
|
||||||
|
}
|
||||||
} // End namespace Foam
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
CGAL_PATH = ${WM_PROJECT_INST_DIR}/${WM_ARCH}/CGAL-${CGAL_VERSION}
|
CGAL_PATH = ${WM_THIRD_PARTY_DIR}/CGAL-${CGAL_VERSION}
|
||||||
|
|
||||||
CGAL_INC = \
|
CGAL_INC = \
|
||||||
-Wno-old-style-cast \
|
-Wno-old-style-cast \
|
||||||
|
|||||||
Reference in New Issue
Block a user