Go to the documentation of this file.
34 return this->operator()(field, field.name());
54 option& source = this->operator[](i);
66 Info<<
"Applying source " << source.
name() <<
" to field "
70 source.
addSup(mtx, fieldI);
86 return this->operator()(
rho, field, field.name());
110 option& source = this->operator[](i);
122 Info<<
"Applying source " << source.
name() <<
" to field "
123 << fieldName <<
endl;
143 return this->operator()(
alpha,
rho, field, field.name());
153 const word& fieldName
169 option& source = this->operator[](i);
181 Info<<
"Applying source " << source.
name() <<
" to field "
182 << fieldName <<
endl;
202 return this->operator()(field, field.name());
219 this->mesh_.time().timeName(),
229 return this->operator()(
alpha,
one, field, field.name());
241 return this->operator()(
rho, field, field.name());
264 Info<<
"Applying constraint " << source.
name()
265 <<
" to field " << eqn.
psi().name() <<
endl;
281 const word& fieldName = field.name();
285 option& source = this->operator[](i);
297 Info<<
"Correcting source " << source.
name()
298 <<
" for field " << fieldName <<
endl;
virtual void correct(volScalarField &field)
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
A class for handling words, derived from string.
void correct(GeometricField< Type, fvPatchField, volMesh > &field)
Apply correction to field.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
const word & name() const
Return const access to the source name.
void constrain(fvMatrix< Type > &eqn)
Apply constraints to equation.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
A class representing the concept of 1 (scalar(1.0)) used to avoid unnecessary manipulations for objec...
Ostream & endl(Ostream &os)
Add newline and flush stream.
Dimension set for the base types.
const GeometricField< Type, fvPatchField, volMesh > & psi() const
virtual label applyToField(const word &fieldName) const
Return index of field name if found in fieldNames list.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Finite volume options abtract base class. Provides a base set of controls, e.g.
void checkApplied() const
Check that all sources have been applied.
const T & operator[](const label) const
Return element const reference.
virtual void addSup(fvMatrix< scalar > &eqn, const label fieldI)
virtual void constrain(fvMatrix< scalar > &eqn, const label fieldI)
Generic dimensioned Type class.
virtual bool isActive()
Is the source active?
friend Ostream & operator(Ostream &, const PtrList< T > &)
const dimensionSet & dimensions() const
Return const reference to dimensions.
const dimensionSet dimVolume(pow3(dimLength))
Generic GeometricField class.
void setApplied(const label fieldI)
Set the applied flag to true for field index fieldI.