Go to the documentation of this file.
73 origin_(
dict.
get<scalar>(
"origin"))
75 if (
mag(dir_) < SMALL)
78 <<
"magnitude Direction must be greater than zero"
100 profile_(ptf.profile_.clone()),
116 profile_(ptf.profile_.clone()),
130 profile_(ptf.profile_.clone()),
163 profile_->writeData(
os);
166 this->writeEntry(
"value",
os);
virtual void write(Ostream &) const
virtual void operator==(const fvPatchField< Type > &)
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
static constexpr const zero Zero
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
This boundary condition supplies a fixed value constraint, and is the base class for a number of othe...
This boundary condition provides a fixed value profile condition.
tmp< faMatrix< Type > > operator==(const faMatrix< Type > &, const faMatrix< Type > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
virtual void evaluate(const Pstream::commsTypes commsType=Pstream::commsTypes::blocking)
Lookup type of boundary radiation properties.
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))
virtual void write(Ostream &) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
errorManip< error > abort(error &err)
virtual void updateCoeffs()
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
#define FatalErrorInFunction
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
Ostream & writeEntry(const keyType &key, const T &value)
void write(vtk::formatter &fmt, const Type &val, const label n=1)
List< ReturnType > get(const UPtrList< T > &list, const AccessOp &aop)
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
fixedProfileFvPatchField(const fvPatch &, const DimensionedField< Type, volMesh > &)
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
string evaluate(label fieldWidth, const std::string &s, size_t pos=0, size_t len=std::string::npos)