constraining new velocity by solutionD()

This commit is contained in:
andy 2009-05-06 11:57:56 +01:00
parent 96d17a50a2
commit ce3db4f17a

View File

@ -85,6 +85,8 @@ void Foam::KinematicParcel<ParcelType>::calc
const scalar rho0 = rho_;
const scalar mass0 = mass();
const polyMesh& mesh = this->cloud().pMesh();
// Initialise transfer terms
// ~~~~~~~~~~~~~~~~~~~~~~~~~
@ -104,6 +106,9 @@ void Foam::KinematicParcel<ParcelType>::calc
vector U1 =
calcVelocity(td, dt, cellI, d0, U0, rho0, mass0, Fx, Cud, dUTrans);
// Constrain the new velocity for reduced -D cases
meshTools::constrainDirection(mesh, mesh.solutionD(), U1);
// Accumulate carrier phase source terms
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~