Go to the documentation of this file.
41 typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
43 if (io.headerClassName() == fieldType::typeName)
47 fvPatchField<Type>::dictionaryConstructorTablePtr_->sortedToc()
52 Info<<
"Available boundary conditions for "
53 << pTraits<Type>::typeName <<
" field: " << io.name() <<
nl;
57 Info<<
" " << types[i] <<
nl;
76 wordList types(fieldConditions<Type>(io,
false));
83 typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
85 const fvMesh&
mesh =
dynamic_cast<const fvMesh&
>(io.db());
92 mesh.time().timeName(),
103 Info<<
"Fixed value boundary conditions for "
104 << pTraits<Type>::typeName <<
" field: " << io.name() <<
nl;
111 bool foundFixed =
false;
114 const word& patchType = types[i];
122 mesh.nInternalFaces(),
128 fvPatch fvp(pp,
mesh.boundary());
130 tmp<fvPatchField<Type>> pf
140 if (pf().fixesValue())
142 Info<<
" " << patchType <<
nl;
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
static constexpr const zero Zero
Global zero (0)
void fixedValueFieldConditions(const IOobject &io) const
Output the available fixed boundary conditions for fields of Type.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
List< word > wordList
A List of words.
messageStream Info
Information stream (uses stdout - output is on the master only)
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
static tmp< fvPatchField< Type > > New(const word &, const fvPatch &, const DimensionedField< Type, volMesh > &)
Return a pointer to a new patchField created on freestore given.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
wordList fieldConditions(const IOobject &io, const bool write) const
Return/output the available boundary conditions for fields of Type.
bool throwExceptions(bool doThrow)
Activate/deactivate exception throwing.