OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

trajectoryCM.H File Reference

Go to the source code of this file.


Functions

 if (vAlign > 0)

Variables

vector v1 = p1().U()
vector v2 = p2().U()
scalar pc = spray_.p()[p1().cell()]
vector vRel = v1 - v2
scalar magVRel = mag(vRel)
vector p = p2().position() - p1().position()
scalar dist = mag(p)
scalar vAlign = vRel & (p/(dist+SMALL))

Function Documentation


Variable Documentation

vector v1 = p1().U()

Definition at line 1 of file trajectoryCM.H.

vector v2 = p2().U()

Definition at line 2 of file trajectoryCM.H.

scalar pc = spray_.p()[p1().cell()]

Definition at line 3 of file trajectoryCM.H.

vector vRel = v1 - v2

Definition at line 5 of file trajectoryCM.H.

scalar magVRel = mag(vRel)

Definition at line 6 of file trajectoryCM.H.

vector p = p2().position() - p1().position()

Definition at line 8 of file trajectoryCM.H.

Referenced by advectiveFvPatchField< Type >::advectiveFvPatchField(), alphatWallFunctionFvPatchScalarField::alphatWallFunctionFvPatchScalarField(), angularOscillatingDisplacementPointPatchVectorField::angularOscillatingDisplacementPointPatchVectorField(), angularOscillatingVelocityPointPatchVectorField::angularOscillatingVelocityPointPatchVectorField(), basicSymmetryFvPatchField< Type >::basicSymmetryFvPatchField(), basicSymmetryPointPatchField< Type >::basicSymmetryPointPatchField(), buoyantPressureFvPatchScalarField::buoyantPressureFvPatchScalarField(), cellMotionFvPatchField< Type >::cellMotionFvPatchField(), coupledFvPatchField< Type >::coupledFvPatchField(), coupledFvsPatchField< Type >::coupledFvsPatchField(), coupledPointPatchField< Type >::coupledPointPatchField(), cyclicFvPatchField< Type >::cyclicFvPatchField(), cyclicFvsPatchField< Type >::cyclicFvsPatchField(), cyclicPointPatchField< Type >::cyclicPointPatchField(), directionMixedFvPatchField< Type >::directionMixedFvPatchField(), directMappedFixedValueFvPatchField< Type >::directMappedFixedValueFvPatchField(), directMappedVelocityFluxFixedValueFvPatchField::directMappedVelocityFluxFixedValueFvPatchField(), emptyFvPatchField< Type >::emptyFvPatchField(), emptyFvsPatchField< Type >::emptyFvsPatchField(), emptyPointPatchField< Type >::emptyPointPatchField(), expDirectionMixedFvPatchField< Type >::expDirectionMixedFvPatchField(), fanFvPatchField< Type >::fanFvPatchField(), fixedGradientFvPatchField< Type >::fixedGradientFvPatchField(), fixedNormalSlipFvPatchField< Type >::fixedNormalSlipFvPatchField(), fixedPressureCompressibleDensityFvPatchScalarField::fixedPressureCompressibleDensityFvPatchScalarField(), fixedValueFvPatchField< Type >::fixedValueFvPatchField(), fixedValueFvsPatchField< Type >::fixedValueFvsPatchField(), fixedValuePointPatchField< Type >::fixedValuePointPatchField(), for(), forAll(), FreeStream< CloudType >::FreeStream(), freestreamFvPatchField< Type >::freestreamFvPatchField(), fvsPatchField< Type >::fvsPatchField(), genericPointPatchField< Type >::genericPointPatchField(), globalPointPatchField< Type >::globalPointPatchField(), gradientUnburntEnthalpyFvPatchScalarField::gradientUnburntEnthalpyFvPatchScalarField(), if(), inletOutletFvPatchField< Type >::inletOutletFvPatchField(), jumpCyclicFvPatchField< Type >::jumpCyclicFvPatchField(), cell::labels(), face::mag(), mixedEnthalpyFvPatchScalarField::mixedEnthalpyFvPatchScalarField(), mixedFvPatchField< Type >::mixedFvPatchField(), mixedInternalEnergyFvPatchScalarField::mixedInternalEnergyFvPatchScalarField(), mixedUnburntEnthalpyFvPatchScalarField::mixedUnburntEnthalpyFvPatchScalarField(), cellShape::model(), DsmcParcel< ParcelType >::move(), muSgsWallFunctionFvPatchScalarField::muSgsWallFunctionFvPatchScalarField(), fvsPatchField< Type >::New(), nuSgsWallFunctionFvPatchScalarField::nuSgsWallFunctionFvPatchScalarField(), Foam::operator<<(), oscillatingDisplacementPointPatchVectorField::oscillatingDisplacementPointPatchVectorField(), oscillatingVelocityPointPatchVectorField::oscillatingVelocityPointPatchVectorField(), outletInletFvPatchField< Type >::outletInletFvPatchField(), partialSlipFvPatchField< Type >::partialSlipFvPatchField(), pointPatchField< Type >::pointPatchField(), pressureDirectedInletOutletVelocityFvPatchVectorField::pressureDirectedInletOutletVelocityFvPatchVectorField(), pressureDirectedInletVelocityFvPatchVectorField::pressureDirectedInletVelocityFvPatchVectorField(), pressureInletOutletVelocityFvPatchVectorField::pressureInletOutletVelocityFvPatchVectorField(), pressureInletUniformVelocityFvPatchVectorField::pressureInletUniformVelocityFvPatchVectorField(), pressureInletVelocityFvPatchVectorField::pressureInletVelocityFvPatchVectorField(), pressureNormalInletOutletVelocityFvPatchVectorField::pressureNormalInletOutletVelocityFvPatchVectorField(), processorFvPatchField< Type >::processorFvPatchField(), processorFvsPatchField< Type >::processorFvsPatchField(), processorPointPatchField< Type >::processorPointPatchField(), pTraits< Type >::pTraits(), UILList< DLListBase, basicThermoParcel >::remove(), rotatingTotalPressureFvPatchScalarField::rotatingTotalPressureFvPatchScalarField(), rotatingWallVelocityFvPatchVectorField::rotatingWallVelocityFvPatchVectorField(), slicedFvPatchField< Type >::slicedFvPatchField(), slicedFvsPatchField< Type >::slicedFvsPatchField(), slipFvPatchField< Type >::slipFvPatchField(), slipPointPatchField< Type >::slipPointPatchField(), SRFVelocityFvPatchVectorField::SRFVelocityFvPatchVectorField(), supersonicFreestreamFvPatchVectorField::supersonicFreestreamFvPatchVectorField(), surfaceNormalFixedValueFvPatchVectorField::surfaceNormalFixedValueFvPatchVectorField(), symmetryFvPatchField< Type >::symmetryFvPatchField(), symmetryFvsPatchField< Type >::symmetryFvsPatchField(), symmetryPointPatchField< Type >::symmetryPointPatchField(), syringePressureFvPatchScalarField::syringePressureFvPatchScalarField(), timeVaryingMappedFixedValueFvPatchField< Type >::timeVaryingMappedFixedValueFvPatchField(), transformFvPatchField< Type >::transformFvPatchField(), turbulentHeatFluxTemperatureFvPatchScalarField::turbulentHeatFluxTemperatureFvPatchScalarField(), turbulentInletFvPatchField< Type >::turbulentInletFvPatchField(), turbulentMixingLengthDissipationRateInletFvPatchScalarField::turbulentMixingLengthDissipationRateInletFvPatchScalarField(), turbulentMixingLengthFrequencyInletFvPatchScalarField::turbulentMixingLengthFrequencyInletFvPatchScalarField(), uniformFixedValueFvPatchField< Type >::uniformFixedValueFvPatchField(), uniformFixedValuePointPatchField< Type >::uniformFixedValuePointPatchField(), waveTransmissiveFvPatchField< Type >::waveTransmissiveFvPatchField(), wedgeFvPatchField< Type >::wedgeFvPatchField(), wedgeFvsPatchField< Type >::wedgeFvsPatchField(), wedgePointPatchField< Type >::wedgePointPatchField(), zeroGradientFvPatchField< Type >::zeroGradientFvPatchField(), and zeroGradientPointPatchField< Type >::zeroGradientPointPatchField().

scalar vAlign = vRel & (p/(dist+SMALL))

Definition at line 11 of file trajectoryCM.H.

Referenced by if().

Copyright © 2000-2009 OpenCFD Ltd