diff --git a/src/overset/oversetPolyPatch/oversetFvPatchField.C b/src/overset/oversetPolyPatch/oversetFvPatchField.C index 57a7245835d794e9d819cfdd7c521a3f48ba4e8c..c34e8a3071dd81aba7591cd95cc7011dd54ffef4 100644 --- a/src/overset/oversetPolyPatch/oversetFvPatchField.C +++ b/src/overset/oversetPolyPatch/oversetFvPatchField.C @@ -350,4 +350,13 @@ void Foam::oversetFvPatchField<Type>::initEvaluate //} +template<class Type> +void Foam::oversetFvPatchField<Type>::write(Ostream& os) const +{ + zeroGradientFvPatchField<Type>::write(os); + // Make sure to write the value for ease of postprocessing. + this->writeEntry("value", os); +} + + // ************************************************************************* // diff --git a/src/overset/oversetPolyPatch/oversetFvPatchField.H b/src/overset/oversetPolyPatch/oversetFvPatchField.H index eceb76a2beb30d7a1c8918f30df6c4a417a40d9d..f4ba1b013bc4c6a9b7f893eb773512532a99d717 100644 --- a/src/overset/oversetPolyPatch/oversetFvPatchField.H +++ b/src/overset/oversetPolyPatch/oversetFvPatchField.H @@ -165,6 +165,12 @@ public: // const direction cmpt, // const Pstream::commsTypes commsType // ) const; + + + // I-O + + //- Write + virtual void write(Ostream& os) const; };