72 #ifndef Foam_fa_externalFileSource_H 73 #define Foam_fa_externalFileSource_H 91 class externalFileSource
93 public fa::faceSetOption
104 DimensionedField<scalar, areaMesh> pExt_;
110 PtrList<PatchFunction1Types::MappedFile<scalar>> mapping_;
116 void updateMapping();
130 const word& sourceName,
131 const word& modelType,
const fvMesh & mesh() const noexcept
Return const access to the mesh database.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Applies sources on a specified field within a specified region by using an external table file...
virtual void addSup(const areaScalarField &rho, faMatrix< scalar > &eqn, const label fieldi)
Add explicit contribution to compressible momentum equation.
A class for handling words, derived from Foam::string.
void operator=(const externalFileSource &)=delete
No copy assignment.
TypeName("externalFileSource")
Runtime type information.
virtual bool read(const dictionary &dict)
Read source dictionary.
virtual ~externalFileSource()=default
Destructor.
externalFileSource(const word &sourceName, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from explicit source name and mesh.
Mesh data needed to do the Finite Volume discretisation.
A special matrix type and solver, designed for finite area solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.