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
45a4fbda
Commit
45a4fbda
authored
Sep 28, 2011
by
andy
Browse files
ENH: Added ddtPhiCorr to pimpleDyMFoam on a switch
parent
d1aab239
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/incompressible/pimpleFoam/pimpleDyMFoam/pEqn.H
View file @
45a4fbda
...
...
@@ -7,6 +7,11 @@ if (pimple.nCorr() <= 1)
phi
=
(
fvc
::
interpolate
(
U
)
&
mesh
.
Sf
());
if
(
ddtPhiCorr
)
{
phi
+=
fvc
::
ddtPhiCorr
(
rAU
,
U
,
phi
);
}
if
(
p
.
needReference
())
{
fvc
::
makeRelative
(
phi
,
U
);
...
...
applications/solvers/incompressible/pimpleFoam/pimpleDyMFoam/readControls.H
View file @
45a4fbda
...
...
@@ -8,3 +8,5 @@
const
bool
checkMeshCourantNo
=
pimpleDict
.
lookupOrDefault
(
"checkMeshCourantNo"
,
false
);
const
bool
ddtPhiCorr
=
pimpleDict
.
lookupOrDefault
(
"ddtPhiCorr"
,
true
);
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