tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Traps particles within a given phase fraction for multi-phase cases.
virtual void postEvolve()
Post-evolve hook.
CloudType::parcelType parcelType
Convenience typedef for parcel type.
const volScalarField * alphaPtr_
Pointer to the volume fraction field.
virtual void postMove(typename CloudType::parcelType &p, const label cellI, const scalar dt, const point &position0, bool &keepParticle)
Post-move hook.
const word alphaName_
Name of vol fraction field.
scalar threshold_
Threshold beyond which model is active.
ParticleTrap(const dictionary &dict, CloudType &owner, const word &modelName)
Construct from dictionary.