Boundary condition for size-group fractions that sets a value of one in a single group, identified by its index, and a value of zero in all other groups. More...


Public Member Functions | |
| TypeName ("singleSizeGroup") | |
| Runtime type information. More... | |
| singleSizeGroupFvPatchScalarField (const fvPatch &, const DimensionedField< scalar, volMesh > &, const dictionary &) | |
| Construct from patch, internal field and dictionary. More... | |
| singleSizeGroupFvPatchScalarField (const singleSizeGroupFvPatchScalarField &, const fvPatch &, const DimensionedField< scalar, volMesh > &, const fieldMapper &) | |
| Construct by mapping given fixedValueTypeFvPatchField. More... | |
| singleSizeGroupFvPatchScalarField (const singleSizeGroupFvPatchScalarField &)=delete | |
| Disallow copy without setting internal field reference. More... | |
| singleSizeGroupFvPatchScalarField (const singleSizeGroupFvPatchScalarField &, const DimensionedField< scalar, volMesh > &) | |
| Copy constructor setting internal field reference. More... | |
| virtual tmp< fvPatchScalarField > | clone (const DimensionedField< scalar, volMesh > &iF) const |
| Construct and return a clone setting internal field reference. More... | |
| virtual void | updateCoeffs () |
| Update the coefficients associated with the patch field. More... | |
| virtual void | write (Ostream &) const |
| Write. More... | |
Boundary condition for size-group fractions that sets a value of one in a single group, identified by its index, and a value of zero in all other groups.
<patchName>
{
type singleSizeGroup;
index 0;
value $internalField;
}
Definition at line 61 of file singleSizeGroupFvPatchScalarField.H.
| singleSizeGroupFvPatchScalarField | ( | const fvPatch & | p, |
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const dictionary & | dict | ||
| ) |
Construct from patch, internal field and dictionary.
Definition at line 32 of file singleSizeGroupFvPatchScalarField.C.
| singleSizeGroupFvPatchScalarField | ( | const singleSizeGroupFvPatchScalarField & | ptf, |
| const fvPatch & | p, | ||
| const DimensionedField< scalar, volMesh > & | iF, | ||
| const fieldMapper & | mapper | ||
| ) |
Construct by mapping given fixedValueTypeFvPatchField.
onto a new patch
Definition at line 44 of file singleSizeGroupFvPatchScalarField.C.
|
delete |
Disallow copy without setting internal field reference.
| singleSizeGroupFvPatchScalarField | ( | const singleSizeGroupFvPatchScalarField & | ptf, |
| const DimensionedField< scalar, volMesh > & | iF | ||
| ) |
Copy constructor setting internal field reference.
Definition at line 57 of file singleSizeGroupFvPatchScalarField.C.
| TypeName | ( | "singleSizeGroup" | ) |
Runtime type information.
|
inlinevirtual |
Construct and return a clone setting internal field reference.
Definition at line 111 of file singleSizeGroupFvPatchScalarField.H.
|
virtual |
Update the coefficients associated with the patch field.
Definition at line 70 of file singleSizeGroupFvPatchScalarField.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, sizeGroup::group(), sizeGroup::i(), Foam::operator==(), and velocityGroup::sizeGroups().

|
virtual |
Write.
Definition at line 98 of file singleSizeGroupFvPatchScalarField.C.
References fvPatchField< Type >::write(), and Foam::writeEntry().
