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
011b804b
Commit
011b804b
authored
Jan 10, 2012
by
sergio
Browse files
ENH: Adding fieldSources to Allwmake
parent
e4e42a9f
Changes
2
Hide whitespace changes
Inline
Side-by-side
applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionSimpleFoam/porousFluid/pPorousFluidEqn.H
View file @
011b804b
...
...
@@ -33,16 +33,11 @@ for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
}
}
//#include "incompressible/continuityErrs.H"
// Explicitly relax pressure for momentum corrector
porousP
.
relax
();
porousU
-=
rAUPorous
*
fvc
::
grad
(
porousP
);
porousU
.
correctBoundaryConditions
();
// For closed-volume cases adjust the pressure and density levels
// to obey overall mass continuity
if
(
closedVolume
)
{
porousP
+=
(
initialMass
-
fvc
::
domainIntegrate
(
porousPsi
*
porousP
))
...
...
src/Allwmake
View file @
011b804b
...
...
@@ -73,4 +73,6 @@ fvAgglomerationMethods/Allwmake $*
wmake
$makeType
fvMotionSolver
wmake
$makeType
engine
wmake
$makeType
fieldSources
# ----------------------------------------------------------------- end-of-file
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