1 Info<<
"Constructing face momentum equations" <<
endl;
6 fluid.momentumTransfer();
9 autoPtr<phaseSystem::momentumTransferTable>
12 phaseSystem::momentumTransferTable&
17 phaseModel& phase =
fluid.movingPhases()[movingPhasei];
35 UEqns[phase.index()].relax();
37 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())