Go to the documentation of this file.
84 #ifndef oscillatingFixedValueFvPatchField_H
85 #define oscillatingFixedValueFvPatchField_H
101 class oscillatingFixedValueFvPatchField
103 public fixedValueFvPatchField<Type>
141 const DimensionedField<Type, volMesh>&
148 const DimensionedField<Type, volMesh>&,
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
Field< Type > & refValue()
Return reference to the ref value to allow adjustment.
Field< Type > refValue_
Reference value.
A class for managing temporary objects.
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
autoPtr< DataEntry< scalar > > amplitude_
Amplitude.
label curTimeIndex_
Current time index.
virtual tmp< fvPatchField< Type > > clone() const
Construct and return a clone.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const Field< Type > & refValue() const
Return the ref value.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition provides an oscillating condition in terms of amplitude and frequency.
virtual void write(Ostream &) const
Write.
virtual void rmap(const fvPatchField< Type > &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
scalar amplitude() const
Return amplitude.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
scalar currentScale() const
Return current scale.
autoPtr< DataEntry< scalar > > frequency_
Frequency.
scalar frequency() const
Return frequency.
Foam::fvPatchFieldMapper.
TypeName("oscillatingFixedValue")
Runtime type information.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
oscillatingFixedValueFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...