32 namespace regionModels
34 namespace surfaceFilmModels
53 Info<<
" Selecting film force models" <<
endl;
58 this->
setSize(forcesDict.size());
69 forcesDict.
isDict(iter().keyword())
70 ? forcesDict.subDict(iter().keyword())
77 else if (dict.
found(
"forces"))
bool found(const word &, bool recursive=false, bool patternMatch=true) const
Search dictionary for given keyword.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Base class for surface film models.
Base class for film (stress-based) force models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
T & ref() const
Return non-const reference or generate a fatal error.
const T & operator[](const label) const
Return element const reference.
Ostream & endl(Ostream &os)
Add newline and flush stream.
bool isDict(const word &) const
Check if entry is a sub-dictionary.
tmp< fvVectorMatrix > correct(volVectorField &U)
Return (net) force system.
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
static const dictionary null
Null dictionary.
A special matrix type and solver, designed for finite volume solutions of scalar equations. Face addressing is used to make all matrix assembly and solution loops vectorise.
const dimensionSet dimForce
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
void setSize(const label)
Reset size of PtrList. If extending the PtrList, new entries are.
virtual ~forceList()
Destructor.
static autoPtr< force > New(surfaceFilmRegionModel &film, const dictionary &dict, const word &modelType)
Return a reference to the selected force model.
label size() const
Return the number of elements in the UPtrList.
A templated 1D list of pointers to objects of type <T>, where the size of the array is known and used...
forceList(surfaceFilmRegionModel &film)
Construct null.
fvMatrix< vector > fvVectorMatrix
A class for managing temporary objects.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.