CarrierEqn.H File Reference
Include dependency graph for CarrierEqn.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CarrierEqn< Type >
 Class to store the coefficients of a term in a carrier equation. More...
 

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define CARRIER_EQN_SCALAR_OPERATOR(Op)
 
#define CARRIER_SCALAR_EQN_OPERATOR(Op)
 

Functions

template<class Type >
tmp< CarrierEqn< Type > > operator* (const CarrierEqn< Type > &eqn, const dimensionedScalar &s)
 Multiplication. More...
 
template<class Type >
tmp< CarrierEqn< Type > > operator* (const tmp< CarrierEqn< Type >> &tEqn, const dimensionedScalar &s)
 
template<class Type >
tmp< CarrierEqn< Type > > operator* (const dimensionedScalar &s, const CarrierEqn< Type > &eqn)
 
template<class Type >
tmp< CarrierEqn< Type > > operator* (const dimensionedScalar &s, const tmp< CarrierEqn< Type >> &tEqn)
 
template<class Type >
tmp< CarrierEqn< Type > > operator/ (const CarrierEqn< Type > &eqn, const dimensionedScalar &s)
 Division. More...
 
template<class Type >
tmp< CarrierEqn< Type > > operator/ (const tmp< CarrierEqn< Type >> &tEqn, const dimensionedScalar &s)
 
template<class Type >
void operator+= (fvMatrix< Type > &fvEqn, const CarrierEqn< Type > &cEqn)
 Add to a finite-volume equation. More...
 
template<class Type >
void operator+= (fvMatrix< Type > &fvEqn, const tmp< CarrierEqn< Type >> &tcEqn)
 Add to a finite-volume equation. More...
 
template<class Type >
void operator-= (fvMatrix< Type > &fvEqn, const CarrierEqn< Type > &cEqn)
 Subtract from a finite-volume equation. More...
 
template<class Type >
void operator-= (fvMatrix< Type > &fvEqn, const tmp< CarrierEqn< Type >> &tcEqn)
 Subtract from a finite-volume equation. More...
 

Detailed Description

Original source file CarrierEqn.H

Definition in file CarrierEqn.H.

Macro Definition Documentation

◆ CARRIER_EQN_SCALAR_OPERATOR

#define CARRIER_EQN_SCALAR_OPERATOR (   Op)
Value:
\
template<class Type> \
tmp<CarrierEqn<Type>> operator Op \
( \
const CarrierEqn<Type>& eqn, \
); \
\
template<class Type> \
tmp<CarrierEqn<Type>> operator Op \
( \
const tmp<CarrierEqn<Type>>& tEqn, \
);
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< " ";}gmvFile<< nl;forAllConstIter(lagrangian::Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.name(), lagrangian::cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define Op(opName, op)
Definition: ops.H:100

Definition at line 128 of file CarrierEqn.H.

◆ CARRIER_SCALAR_EQN_OPERATOR

#define CARRIER_SCALAR_EQN_OPERATOR (   Op)
Value:
\
template<class Type> \
tmp<CarrierEqn<Type>> operator Op \
( \
const dimensionedScalar& s, \
const CarrierEqn<Type>& eqn \
); \
\
template<class Type> \
tmp<CarrierEqn<Type>> operator Op \
( \
const dimensionedScalar& s, \
const tmp<CarrierEqn<Type>>& tEqn \
);

Definition at line 144 of file CarrierEqn.H.