Go to the documentation of this file.
68 "-I$(LIB_SRC)/finiteVolume/lnInclude \\\n"
69 "-I$(LIB_SRC)/meshTools/lnInclude \\\n"
70 "-I$(LIB_SRC)/sampling/lnInclude \\\n"
72 +
"\n\nLIB_LIBS = \\\n"
74 +
" -lfvOptions -u fvOptionsLoad \\\n"
76 +
" -lfiniteVolume \\\n"
85 return const_cast<Time&
>(mesh_.time()).libs();
92 return "fvOption:: " + name_;
99 redirectFvOptionPtr_.clear();
116 const word& modelType,
132 if (!redirectFvOptionPtr_.valid())
135 constructDict.
set(
"type", redirectType_);
144 return redirectFvOptionPtr_();
157 <<
">::correct for source " << name_ <<
endl;
160 updateLibrary(redirectType_);
161 redirectFvOption().correct(field);
175 <<
">::addSup for source " << name_ <<
endl;
178 updateLibrary(redirectType_);
179 redirectFvOption().addSup(eqn, fieldI);
194 <<
">::addSup for source " << name_ <<
endl;
197 updateLibrary(redirectType_);
198 redirectFvOption().addSup(
rho, eqn, fieldI);
212 <<
">::constrain for source " << name_ <<
endl;
215 updateLibrary(redirectType_);
216 redirectFvOption().constrain(eqn, fieldI);
const string & libs() const
Return the code-libs.
virtual dlLibraryTable & libs() const
Get the loaded dynamic libraries.
A table of dynamically loaded libraries.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from string.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
Cell-set options abtract base class. Provides a base set of controls, e.g.
Tools for handling dynamic code compilation.
option & redirectFvOption() const
Dynamically compiled fvOption.
bool read(const char *, int32_t &)
Encapsulation of dynamic code dictionaries.
virtual void clearRedirect() const
Ostream & endl(Ostream &os)
Add newline and flush stream.
A class for handling character strings derived from std::string.
void addCopyFile(const fileName &name)
Add a file template name, which will be found and filtered.
A special matrix type and solver, designed for finite volume solutions of scalar equations.
virtual void constrain(fvMatrix< Type > &eqn, const label fieldI)
Set value.
void addCompileFile(const fileName &name)
Add a file template name, which will be found and filtered.
virtual void correct(GeometricField< Type, fvPatchField, volMesh > &)
Correct field.
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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const string & options() const
Return the code-options.
Mesh data needed to do the Finite Volume discretisation.
CodedSource(const word &name, const word &modelType, const dictionary &dict, const fvMesh &mesh)
Construct from components.
void setFilterVariable(const word &key, const std::string &value)
Define a filter variable.
virtual const dictionary & codeDict() const
void setMakeOptions(const std::string &content)
Define contents for Make/options.
virtual string description() const
Traits class for primitives.
Generic GeometricField class.
virtual void addSup(fvMatrix< Type > &eqn, const label fieldI)
Explicit and implicit matrix contributions.
word name(const complex &)
Return a string representation of a complex.
void set(entry *)
Assign a new entry, overwrite any existing entry.
virtual void prepare(dynamicCode &, const dynamicCodeContext &) const
Adapt the context for the current object.