Provides a mechanism to calculate particle forces Note: forces are force per unit mass (accelerations) More...
#include <lagrangianIntermediate/particleForces.H>
Provides a mechanism to calculate particle forces Note: forces are force per unit mass (accelerations)
Definition at line 56 of file particleForces.H.
 Collaboration diagram for particleForces:Public Member Functions | |
| particleForces (const fvMesh &mesh, const dictionary &dict, const vector &g) | |
| Construct from mesh, dictionary and gravity.  
 | |
| particleForces (const particleForces &f) | |
| Construct copy.  
 | |
| ~particleForces () | |
| Destructor.  
 | |
| const dictionary & | dict () const | 
| Return the particleForces dictionary.  
 | |
| const vector & | g () const | 
| Return the gravity vector.  
 | |
| Switch | gravity () const | 
| Return gravity force activate switch.  
 | |
| Switch | virtualMass () const | 
| Return virtual mass force activate switch.  
 | |
| Switch | Cvm () const | 
| Return virtual mass force coefficient.  
 | |
| Switch | pressureGradient () const | 
| Return pressure gradient force activate switch.  
 | |
| const word & | UName () const | 
| Return name of velocity field.  
 | |
| void | cacheFields (const bool store) | 
| Cache carrier fields.  
 | |
| vector | calcCoupled (const label cellI, const scalar dt, const scalar rhoc, const scalar rho, const vector &Uc, const vector &U) const | 
| Calculate action/reaction forces between carrier and particles.  
 | |
| vector | calcNonCoupled (const label cellI, const scalar dt, const scalar rhoc, const scalar rho, const vector &Uc, const vector &U) const | 
| Calculate external forces applied to the particles.  
 | |
| particleForces | ( | const fvMesh & | mesh, | 
| const dictionary & | dict, | ||
| const vector & | g | ||
| ) | 
Construct from mesh, dictionary and gravity.
Definition at line 34 of file particleForces.C.
| particleForces | ( | const particleForces & | f ) | 
Construct copy.
Definition at line 57 of file particleForces.C.
| ~particleForces | ( | ) | 
Destructor.
Definition at line 73 of file particleForces.C.
| const Foam::dictionary & dict | ( | ) | const | 
Return the particleForces dictionary.
Definition at line 81 of file particleForces.C.
| const Foam::vector & g | ( | ) | const | 
Return the gravity vector.
Definition at line 87 of file particleForces.C.
| Foam::Switch gravity | ( | ) | const | 
Return gravity force activate switch.
Definition at line 93 of file particleForces.C.
| Foam::Switch virtualMass | ( | ) | const | 
Return virtual mass force activate switch.
Definition at line 99 of file particleForces.C.
| Switch Cvm | ( | ) | const | 
Return virtual mass force coefficient.
| Foam::Switch pressureGradient | ( | ) | const | 
Return pressure gradient force activate switch.
Definition at line 105 of file particleForces.C.
| const Foam::word & UName | ( | ) | const | 
Return name of velocity field.
Definition at line 111 of file particleForces.C.
| void cacheFields | ( | const bool | store ) | 
Cache carrier fields.
Definition at line 117 of file particleForces.C.
References Foam::fvc::grad(), and U.
| Foam::vector calcCoupled | ( | const label | cellI, | 
| const scalar | dt, | ||
| const scalar | rhoc, | ||
| const scalar | rho, | ||
| const vector & | Uc, | ||
| const vector & | U | ||
| ) | const | 
Calculate action/reaction forces between carrier and particles.
Definition at line 136 of file particleForces.C.
References notImplemented, and Vector< Cmpt >::zero.
| Foam::vector calcNonCoupled | ( | const label | cellI, | 
| const scalar | dt, | ||
| const scalar | rhoc, | ||
| const scalar | rho, | ||
| const vector & | Uc, | ||
| const vector & | U | ||
| ) | const | 
Calculate external forces applied to the particles.
Definition at line 169 of file particleForces.C.
References rho, and Vector< Cmpt >::zero.