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
b244cd1b
Commit
b244cd1b
authored
Jun 29, 2020
by
Andrew Heather
Browse files
Merge remote-tracking branch 'origin/master' into develop
parents
d1dae159
51dd8f1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/heatTransferCoeff/heatTransferCoeffModels/ReynoldsAnalogy/ReynoldsAnalogy.C
View file @
b244cd1b
...
...
@@ -81,10 +81,10 @@ Foam::heatTransferCoeffModels::ReynoldsAnalogy::Cp(const label patchi) const
const
label
n
=
mesh_
.
boundary
()[
patchi
].
size
();
return
tmp
<
Field
<
scalar
>>::
New
(
n
,
CpRef_
);
}
else
if
(
mesh_
.
foundObject
<
fluidThermo
>
(
fluidThermo
::
type
Name
))
else
if
(
mesh_
.
foundObject
<
fluidThermo
>
(
fluidThermo
::
dict
Name
))
{
const
fluidThermo
&
thermo
=
mesh_
.
lookupObject
<
fluidThermo
>
(
fluidThermo
::
type
Name
);
mesh_
.
lookupObject
<
fluidThermo
>
(
fluidThermo
::
dict
Name
);
const
scalarField
&
pp
=
thermo
.
p
().
boundaryField
()[
patchi
];
const
scalarField
&
Tp
=
thermo
.
T
().
boundaryField
()[
patchi
];
...
...
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