Actuation disk zone definition. Constant values for momentum source for actuation disk. More...
#include <finiteVolume/actuationDiskSource.H>
Actuation disk zone definition. Constant values for momentum source for actuation disk.
T = 2*rho*A*sqr(Uo)*a*(1-a) U1 = (1 -a)Uo where: A: disk area Uo: upstream velocity a: 1 - Cp/Ct U1: velocity at the disk
Definition at line 68 of file actuationDiskSource.H.
Public Member Functions | |
TypeName ("actuationDiskSource") | |
Runtime type information.
| |
actuationDiskSource (const word &name, const dictionary &dict, const fvMesh &mesh) | |
Construct from components.
| |
virtual | ~actuationDiskSource () |
Destructor.
| |
label | zoneId () const |
cellZone number
| |
scalar | Cp () const |
Return Cp.
| |
scalar | Ct () const |
Return Ct.
| |
const vector & | diskDir () const |
Normal disk direction.
| |
scalar | diskArea () const |
Disk area.
| |
virtual void | addSu (fvMatrix< vector > &UEqn) |
Source term to fvMatrix<vector>
| |
virtual void | addSu (fvMatrix< scalar > &UEqn) |
Source term to fvMatrix<scalar>
| |
virtual void | addExplicitSources () |
Add all explicit source.
| |
virtual void | addSu (DimensionedField< scalar, volMesh > &field) |
Add source to scalar field.
| |
virtual void | addSu (DimensionedField< vector, volMesh > &field) |
Add source to vector field.
| |
virtual void | writeData (Ostream &) const |
Write data.
| |
virtual bool | read (const dictionary &dict) |
Read dictionary.
|
actuationDiskSource | ( | const word & | name, |
const dictionary & | dict, | ||
const fvMesh & | mesh | ||
) |
Construct from components.
Definition at line 70 of file actuationDiskSource.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, Pstream::master(), Foam::name(), and Foam::reduce().
virtual ~actuationDiskSource | ( | ) | [inline, virtual]
|
Destructor.
Definition at line 134 of file actuationDiskSource.H.
TypeName | ( | "actuationDiskSource" | ) |
Runtime type information.
label zoneId | ( | ) | const [inline]
|
cellZone number
Definition at line 143 of file actuationDiskSource.H.
scalar Cp | ( | ) | const [inline]
|
Return Cp.
Definition at line 149 of file actuationDiskSource.H.
scalar Ct | ( | ) | const [inline]
|
Return Ct.
Definition at line 155 of file actuationDiskSource.H.
const vector& diskDir | ( | ) | const [inline]
|
Normal disk direction.
Definition at line 161 of file actuationDiskSource.H.
scalar diskArea | ( | ) | const [inline]
|
Disk area.
Definition at line 167 of file actuationDiskSource.H.
Source term to fvMatrix<vector>
Implements basicSource.
Definition at line 107 of file actuationDiskSource.C.
References cells, fvMatrix< Type >::dimensions(), mesh, fvMatrix< Type >::psi(), fvMatrix< Type >::source(), U, and fvMesh::V().
virtual void addSu | ( | fvMatrix< scalar > & | UEqn ) | [inline, virtual]
|
Source term to fvMatrix<scalar>
Implements basicSource.
Definition at line 179 of file actuationDiskSource.H.
virtual void addExplicitSources | ( | ) | [inline, virtual]
|
Add all explicit source.
Implements basicSource.
Definition at line 182 of file actuationDiskSource.H.
virtual void addSu | ( | DimensionedField< scalar, volMesh > & | field ) | [inline, virtual]
|
Add source to scalar field.
Implements basicSource.
Definition at line 185 of file actuationDiskSource.H.
virtual void addSu | ( | DimensionedField< vector, volMesh > & | field ) | [inline, virtual]
|
Add source to vector field.
Implements basicSource.
Definition at line 188 of file actuationDiskSource.H.
void writeData | ( | Ostream & | os ) | const [virtual]
|
Write data.
Implements basicSource.
Definition at line 150 of file actuationDiskSource.C.
References token::BEGIN_BLOCK, Foam::decrIndent(), token::END_BLOCK, token::END_STATEMENT, Foam::endl(), Foam::incrIndent(), Foam::indent(), Foam::name(), Foam::nl, Ostream::write(), and Ostream::writeKeyword().
bool read | ( | const dictionary & | dict ) | [virtual]
|
Read dictionary.
Implements basicSource.
Definition at line 170 of file actuationDiskSource.C.
References Foam::name(), basicSource::read(), dictionary::readIfPresent(), and dictionary::subDict().