72#ifndef Foam_fa_externalFileSource_H
73#define Foam_fa_externalFileSource_H
92 public fa::faceSetOption
103 DimensionedField<scalar, areaMesh> pExt_;
109 PtrList<PatchFunction1Types::MappedFile<scalar>> mapping_;
115 void updateMapping();
129 const word& sourceName,
130 const word& modelType,
134 const word& defaultAreaName =
word()
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
A special matrix type and solver, designed for finite area solutions of scalar equations....
Applies sources on a specified field within a specified region by using an external table file.
externalFileSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh, const word &defaultAreaName=word())
Construct from explicit source name and mesh.
virtual ~externalFileSource()=default
Destructor.
TypeName("externalFileSource")
Runtime type information.
externalFileSource(const externalFileSource &)=delete
No copy construct.
virtual bool read(const dictionary &dict)
Read source dictionary.
void operator=(const externalFileSource &)=delete
No copy assignment.
virtual void addSup(const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
Intermediate abstract class for handling face-set options for the derived faOptions.
const fvMesh & mesh() const noexcept
Return const access to the volume mesh.
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
Namespace for finite-area.
GeometricField< scalar, faPatchField, areaMesh > areaScalarField
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.