Commit 011b804b authored by sergio's avatar sergio
Browse files

ENH: Adding fieldSources to Allwmake

parent e4e42a9f
...@@ -33,16 +33,11 @@ for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++) ...@@ -33,16 +33,11 @@ for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
} }
} }
//#include "incompressible/continuityErrs.H"
// Explicitly relax pressure for momentum corrector
porousP.relax(); porousP.relax();
porousU -= rAUPorous*fvc::grad(porousP); porousU -= rAUPorous*fvc::grad(porousP);
porousU.correctBoundaryConditions(); porousU.correctBoundaryConditions();
// For closed-volume cases adjust the pressure and density levels
// to obey overall mass continuity
if (closedVolume) if (closedVolume)
{ {
porousP += (initialMass - fvc::domainIntegrate(porousPsi*porousP)) porousP += (initialMass - fvc::domainIntegrate(porousPsi*porousP))
......
...@@ -73,4 +73,6 @@ fvAgglomerationMethods/Allwmake $* ...@@ -73,4 +73,6 @@ fvAgglomerationMethods/Allwmake $*
wmake $makeType fvMotionSolver wmake $makeType fvMotionSolver
wmake $makeType engine wmake $makeType engine
wmake $makeType fieldSources
# ----------------------------------------------------------------- end-of-file # ----------------------------------------------------------------- end-of-file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment