Foam::relativeVelocityModel::relativeVelocityModel ( const dictionary& dict, const incompressibleTwoPhaseInteractingMixture& mixture ) : mixture_(mixture), alphac_(mixture.alpha2()), alphad_(mixture.alpha1()), rhoc_(mixture.rhoc()), rhod_(mixture.rhod()), Udm_ ( IOobject ( "Udm", alphac_.time().timeName(), alphac_.mesh() ), alphac_.mesh(), dimensionedVector("Udm", dimVelocity, vector::zero), mixture.U().boundaryField().types() ) {}
Foam::relativeVelocityModel::relativeVelocityModel ( const dictionary& dict, const incompressibleTwoPhaseInteractingMixture& mixture ) : mixture_(mixture), alphac_(mixture.alpha2()), alphad_(mixture.alpha1()), rhoc_(mixture.rhoc()), rhod_(mixture.rhod()), Udm_ ( IOobject ( "Udm", alphac_.time().timeName(), alphac_.mesh(), IOobject::NO_READ, IOobject::AUTO_WRITE ), alphac_.mesh(), dimensionedVector("Udm", dimVelocity, Zero) ) {}