OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen 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)

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.

scalar dist = mag(p)

Definition at line 9 of file trajectoryCM.H.

Referenced by triangle::ray().

scalar vAlign = vRel & (p/dist)

Definition at line 11 of file trajectoryCM.H.

Copyright © 2000-2007 OpenCFD Ltd