mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
twoPhaseEulerFoam: Minor reorganization
This commit is contained in:
@ -1,3 +1,5 @@
|
|||||||
|
Info<< "Constructing momentum equations" << endl;
|
||||||
|
|
||||||
MRF.correctBoundaryVelocity(U1);
|
MRF.correctBoundaryVelocity(U1);
|
||||||
MRF.correctBoundaryVelocity(U2);
|
MRF.correctBoundaryVelocity(U2);
|
||||||
MRF.correctBoundaryVelocity(U);
|
MRF.correctBoundaryVelocity(U);
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
Info<< "Constructing face momentum equations" << endl;
|
||||||
|
|
||||||
MRF.correctBoundaryVelocity(U1);
|
MRF.correctBoundaryVelocity(U1);
|
||||||
MRF.correctBoundaryVelocity(U2);
|
MRF.correctBoundaryVelocity(U2);
|
||||||
MRF.correctBoundaryVelocity(U);
|
MRF.correctBoundaryVelocity(U);
|
||||||
|
|||||||
@ -358,5 +358,3 @@ if (thermo1.dpdt() || thermo2.dpdt())
|
|||||||
{
|
{
|
||||||
dpdt = fvc::ddt(p);
|
dpdt = fvc::ddt(p);
|
||||||
}
|
}
|
||||||
|
|
||||||
#include "pUf/DDtU.H"
|
|
||||||
|
|||||||
@ -93,18 +93,18 @@ int main(int argc, char *argv[])
|
|||||||
fluid.correct();
|
fluid.correct();
|
||||||
|
|
||||||
#include "contErrs.H"
|
#include "contErrs.H"
|
||||||
#include "EEqns.H"
|
|
||||||
|
|
||||||
if (faceMomentum)
|
if (faceMomentum)
|
||||||
{
|
{
|
||||||
Info<< "Constructing face momentum equations" << endl;
|
|
||||||
#include "pUf/UEqns.H"
|
#include "pUf/UEqns.H"
|
||||||
|
#include "EEqns.H"
|
||||||
#include "pUf/pEqn.H"
|
#include "pUf/pEqn.H"
|
||||||
|
#include "pUf/DDtU.H"
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
Info<< "Constructing momentum equations" << endl;
|
|
||||||
#include "pU/UEqns.H"
|
#include "pU/UEqns.H"
|
||||||
|
#include "EEqns.H"
|
||||||
#include "pU/pEqn.H"
|
#include "pU/pEqn.H"
|
||||||
#include "pU/DDtU.H"
|
#include "pU/DDtU.H"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user