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
Planned maintenance at 14:00 - platform may be offline until 15:00 (UK times)
Open sidebar
Development
OpenFOAM-plus
Commits
7c2be34e
Commit
7c2be34e
authored
Jun 26, 2019
by
Andrew Heather
Browse files
BUG: Removed Debug statements
parent
780a0bc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/functionObjects/field/pressure/pressure.C
View file @
7c2be34e
...
...
@@ -157,10 +157,8 @@ Foam::tmp<Foam::volScalarField> Foam::functionObjects::pressure::calcPressure
}
case
ISENTROPIC
:
{
DebugVar
(
"getting thermo"
);
const
basicThermo
*
thermoPtr
=
p
.
mesh
().
lookupObjectPtr
<
basicThermo
>
(
basicThermo
::
dictName
);
DebugVar
(
"got thermo"
);
if
(
!
thermoPtr
)
{
...
...
@@ -169,16 +167,13 @@ DebugVar("got thermo");
<<
"thermodynamics package"
<<
exit
(
FatalError
);
}
DebugVar
(
"calc gamma"
);
const
volScalarField
gamma
(
thermoPtr
->
gamma
());
DebugVar
(
gamma
);
const
volScalarField
Mb
(
mag
(
lookupObject
<
volVectorField
>
(
UName_
))
/
sqrt
(
gamma
*
tp
.
ref
()
/
thermoPtr
->
rho
())
);
DebugVar
(
Mb
);
return
tp
()
*
(
pow
(
1
+
(
gamma
-
1
)
/
2
*
sqr
(
Mb
),
gamma
/
(
gamma
-
1
)));
}
...
...
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