1 Info<<
"Constructing momentum equations" <<
endl;
6 autoPtr<phaseSystem::momentumTransferTable>
9 phaseSystem::momentumTransferTable&
14 phaseModel& phase =
fluid.movingPhases()[movingPhasei];
32 UEqns[phase.index()].relax();
34 U.correctBoundaryConditions();
Info<< "Constructing momentum equations"<< endl;PtrList< fvVectorMatrix > UEqns(phases.size())
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
Ostream & endl(Ostream &os)
Add newline and flush stream.
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Foam::fvConstraints & fvConstraints
phaseSystem::momentumTransferTable & momentumTransfer(momentumTransferPtr())
forAll(fluid.movingPhases(), movingPhasei)
bool constrain(fvMatrix< Type > &eqn) const
Apply constraints to an equation.
Foam::fvModels & fvModels
fvMatrix< vector > fvVectorMatrix
phaseSystem::phaseModelList & phases
autoPtr< phaseSystem::momentumTransferTable > momentumTransferPtr(fluid.momentumTransferf())