Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
34ecc21e
Commit
34ecc21e
authored
Jul 25, 2008
by
Mattijs Janssens
Browse files
Merge branch 'master' of /home/noisy2/OpenFOAM/OpenFOAM-dev
parents
e8a706fc
1e072d64
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/thermophysicalModels/basic/derivedFvPatchFields/wallHeatTransfer/wallHeatTransferFvPatchScalarField.C
View file @
34ecc21e
...
...
@@ -30,14 +30,9 @@ License
#include
"volFields.H"
#include
"basicThermo.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
Foam
::
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
...
...
@@ -53,7 +48,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
}
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
Foam
::
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
(
const
wallHeatTransferFvPatchScalarField
&
ptf
,
const
fvPatch
&
p
,
...
...
@@ -67,7 +62,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
{}
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
Foam
::
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
(
const
fvPatch
&
p
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
,
...
...
@@ -96,7 +91,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
}
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
Foam
::
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
(
const
wallHeatTransferFvPatchScalarField
&
tppsf
)
...
...
@@ -107,7 +102,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
{}
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
Foam
::
wallHeatTransferFvPatchScalarField
::
wallHeatTransferFvPatchScalarField
(
const
wallHeatTransferFvPatchScalarField
&
tppsf
,
const
DimensionedField
<
scalar
,
volMesh
>&
iF
...
...
@@ -121,7 +116,7 @@ wallHeatTransferFvPatchScalarField::wallHeatTransferFvPatchScalarField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
void
wallHeatTransferFvPatchScalarField
::
autoMap
void
Foam
::
wallHeatTransferFvPatchScalarField
::
autoMap
(
const
fvPatchFieldMapper
&
m
)
...
...
@@ -132,7 +127,7 @@ void wallHeatTransferFvPatchScalarField::autoMap
}
void
wallHeatTransferFvPatchScalarField
::
rmap
void
Foam
::
wallHeatTransferFvPatchScalarField
::
rmap
(
const
fvPatchScalarField
&
ptf
,
const
labelList
&
addr
...
...
@@ -148,7 +143,7 @@ void wallHeatTransferFvPatchScalarField::rmap
}
void
wallHeatTransferFvPatchScalarField
::
updateCoeffs
()
void
Foam
::
wallHeatTransferFvPatchScalarField
::
updateCoeffs
()
{
if
(
updated
())
{
...
...
@@ -159,13 +154,13 @@ void wallHeatTransferFvPatchScalarField::updateCoeffs()
(
"thermophysicalProperties"
);
const
label
patchi
=
patch
().
index
();
const
scalarField
&
Tw
=
thermo
.
T
().
boundaryField
()[
patchi
];
scalarField
Cpw
=
thermo
.
Cp
(
Tw
,
patchi
);
valueFraction
()
=
valueFraction
()
=
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
);
Tinf_
.
writeEntry
(
"Tinf"
,
os
);
...
...
@@ -188,10 +183,9 @@ void wallHeatTransferFvPatchScalarField::write(Ostream& os) const
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
makePatchTypeField
(
fvPatchScalarField
,
wallHeatTransferFvPatchScalarField
);
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// End namespace Foam
namespace
Foam
{
makePatchTypeField
(
fvPatchScalarField
,
wallHeatTransferFvPatchScalarField
);
}
// ************************************************************************* //
wmake/rules/General/CGAL
View file @
34ecc21e
CGAL_PATH = ${WM_
PROJECT_INST_DIR}/${WM_ARCH
}/CGAL-${CGAL_VERSION}
CGAL_PATH = ${WM_
THIRD_PARTY_DIR
}/CGAL-${CGAL_VERSION}
CGAL_INC = \
-Wno-old-style-cast \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment