39 typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
41 if (io.headerClassName() == fieldType::typeName)
45 fvPatchField<Type>::dictionaryConstructorTablePtr_->sortedToc()
50 Info<<
"Available boundary conditions for " 51 << pTraits<Type>::typeName <<
" field: " << io.name() <<
nl;
55 Info<<
" " << types[i] <<
nl;
74 wordList types(fieldConditions<Type>(io,
false));
81 typedef GeometricField<Type, fvPatchField, volMesh> fieldType;
83 const fvMesh& mesh =
dynamic_cast<const fvMesh&
>(io.db());
90 mesh.time().timeName(),
101 Info<<
"Fixed value boundary conditions for " 102 << pTraits<Type>::typeName <<
" field: " << io.name() <<
nl;
109 bool foundFixed =
false;
112 const word& patchType = types[i];
120 mesh.nInternalFaces(),
126 fvPatch fvp(pp, mesh.boundary());
128 tmp<fvPatchField<Type>> pf
138 if (pf().fixesValue())
140 Info<<
" " << patchType <<
nl;
#define forAll(list, i)
Loop across all elements in list.
Ostream & endl(Ostream &os)
Add newline and flush stream.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];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.
void fixedValueFieldConditions(const IOobject &io) const
Output the available fixed boundary conditions for fields of Type.
wordList fieldConditions(const IOobject &io, const bool write) const
Return/output the available boundary conditions for fields of Type.
List< word > wordList
A List of words.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)