85 #ifndef functionObjects_surfaceCourantNumber_H 86 #define functionObjects_surfaceCourantNumber_H 99 namespace functionObjects
106 class surfaceCourantNumber
108 public fvMeshFunctionObject,
123 std::shared_ptr<const faMesh> faMeshPtr_;
129 virtual void writeFileHeader(Ostream&
os);
145 const dictionary&
dict 156 virtual bool read(
const dictionary&);
162 virtual bool write();
TypeName("surfaceCourantNumber")
Runtime type information.
surfaceCourantNumber(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
const word & name() const noexcept
Return the name of this functionObject.
OBJstream os(runTime.globalPath()/outputName)
virtual bool write()
Write the result field.
virtual bool read(const dictionary &)
Read the surfaceCourantNumber data.
virtual bool execute()
Calculate the Courant number field and return true if successful.
virtual ~surfaceCourantNumber()=default
Destructor.