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

solidParticle Class Reference

Simple solid spherical particle class with one-way coupling with the continuous phase. More...

Inheritance diagram for solidParticle:
Collaboration diagram for solidParticle:

List of all members.


Classes

class  trackData
 Class used to pass tracking data to the trackToFace function. More...

Public Member Functions

 solidParticle (const Cloud< solidParticle > &c, const vector &position, const label celli, const scalar m, const vector &U)
 Construct from components.
 solidParticle (const Cloud< solidParticle > &c, Istream &is, bool readFields=true)
 Construct from Istream.
autoPtr< solidParticle > clone () const
 Construct and return a clone.
scalar d () const
 Return diameter.
const vector & U () const
 Return velocity.
scalar wallImpactDistance (const vector &n) const
 The nearest distance to a wall that.
bool move (trackData &)
 Move.
bool hitPatch (const polyPatch &, solidParticle::trackData &td, const label patchI)
 Overridable function to handle the particle hitting a patch.
bool hitPatch (const polyPatch &p, int &td, const label patchI)
 Overridable function to handle the particle hitting a patch.
void hitProcessorPatch (const processorPolyPatch &, solidParticle::trackData &td)
 Overridable function to handle the particle hitting a.
void hitProcessorPatch (const processorPolyPatch &, int &)
 Overridable function to handle the particle hitting a.
void hitWallPatch (const wallPolyPatch &, solidParticle::trackData &td)
 Overridable function to handle the particle hitting a wallPatch.
void hitWallPatch (const wallPolyPatch &, int &)
void hitPatch (const polyPatch &, solidParticle::trackData &td)
 Overridable function to handle the particle hitting a polyPatch.
void hitPatch (const polyPatch &, int &)
void transformProperties (const tensor &T)
 Transform the physical properties of the particle.
void transformProperties (const vector &separation)
 Transform the physical properties of the particle.

Static Public Member Functions

static void readFields (Cloud< solidParticle > &c)
 Read the fields associated with the owner cloud.
static void writeFields (const Cloud< solidParticle > &c)
 Write the fields associated with the owner cloud.

Friends

class Cloud< solidParticle >
Ostream & operator<< (Ostream &, const solidParticle &)

Detailed Description

Simple solid spherical particle class with one-way coupling with the continuous phase.

Source files

Definition at line 53 of file solidParticle.H.


Constructor & Destructor Documentation

solidParticle ( const Cloud< solidParticle > &  c,
const vector &  position,
const label  celli,
const scalar  m,
const vector &  U 
) [inline]

Construct from components.

Definition at line 38 of file solidParticleI.H.

solidParticle ( const Cloud< solidParticle > &  c,
Istream &  is,
bool  readFields = true 
)

Construct from Istream.

Definition at line 24 of file solidParticleIO.C.

References IOstream::ASCII, IOstream::format(), Istream::read(), and Foam::readScalar().

Here is the call graph for this function:


Member Function Documentation

autoPtr<solidParticle> clone (  )  const [inline]

Construct and return a clone.

Reimplemented from Particle< solidParticle >.

Definition at line 139 of file solidParticle.H.

Foam::scalar d (  )  const [inline]

Return diameter.

Definition at line 83 of file solidParticleI.H.

const Foam::vector & U (  )  const [inline]

Return velocity.

Definition at line 93 of file solidParticleI.H.

Foam::scalar wallImpactDistance ( const vector &  n  )  const [inline]

The nearest distance to a wall that.

the particle can be in the n direction

Reimplemented from Particle< solidParticle >.

Definition at line 88 of file solidParticleI.H.

bool hitPatch ( const polyPatch &  ,
solidParticle::trackData &  td,
const label  patchI 
)

Overridable function to handle the particle hitting a patch.

Executed before other patch-hitting functions

Definition at line 90 of file solidParticle.C.

bool hitPatch ( const polyPatch &  p,
int &  td,
const label  patchI 
)

Overridable function to handle the particle hitting a patch.

Executed before other patch-hitting functions without trackData

Definition at line 101 of file solidParticle.C.

void hitProcessorPatch ( const processorPolyPatch &  ,
solidParticle::trackData &  td 
)

Overridable function to handle the particle hitting a.

processorPatch

Definition at line 112 of file solidParticle.C.

void hitProcessorPatch ( const processorPolyPatch &  ,
int &   
)

Overridable function to handle the particle hitting a.

processorPatch without trackData

Definition at line 122 of file solidParticle.C.

References trackData::switchProcessor.

void hitWallPatch ( const wallPolyPatch &  wpp,
solidParticle::trackData &  td 
)

Overridable function to handle the particle hitting a wallPatch.

Definition at line 130 of file solidParticle.C.

void hitWallPatch ( const wallPolyPatch &  ,
int &   
)

Overridable function to handle the particle hitting a wallPatch without trackData

Definition at line 151 of file solidParticle.C.

References solidParticleCloud::e(), and trackData::spc().

Here is the call graph for this function:

void hitPatch ( const polyPatch &  ,
solidParticle::trackData &  td 
)

Overridable function to handle the particle hitting a polyPatch.

Definition at line 159 of file solidParticle.C.

void hitPatch ( const polyPatch &  ,
int &   
)

Overridable function to handle the particle hitting a polyPatch without trackData

Definition at line 169 of file solidParticle.C.

References trackData::keepParticle.

void transformProperties ( const tensor &  T  )  [virtual]

Transform the physical properties of the particle.

according to the given transformation tensor

Reimplemented from Particle< solidParticle >.

Definition at line 176 of file solidParticle.C.

Referenced by solidParticle::transformProperties().

Here is the caller graph for this function:

void transformProperties ( const vector &  separation  )  [virtual]

Transform the physical properties of the particle.

according to the given separation vector

Reimplemented from Particle< solidParticle >.

Definition at line 183 of file solidParticle.C.

References Foam::transform(), and solidParticle::transformProperties().

Here is the call graph for this function:

void readFields ( Cloud< solidParticle > &  c  )  [static]

Read the fields associated with the owner cloud.

Reimplemented from Particle< solidParticle >.

Definition at line 54 of file solidParticleIO.C.

void writeFields ( const Cloud< solidParticle > &  c  )  [static]

Write the fields associated with the owner cloud.

Reimplemented from Particle< solidParticle >.

Definition at line 78 of file solidParticleIO.C.


Friends And Related Function Documentation

friend class Cloud< solidParticle > [friend]

Definition at line 68 of file solidParticle.H.

Ostream& operator<< ( Ostream &  ,
const solidParticle &   
) [friend]


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd