ENH: overset: add value field. Fixes #1334.

This commit is contained in:
mattijs
2019-06-05 11:38:06 +01:00
committed by Andrew Heather
parent 1de2f30545
commit a31d0c834e
2 changed files with 15 additions and 0 deletions

View File

@ -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);
}
// ************************************************************************* //

View File

@ -165,6 +165,12 @@ public:
// const direction cmpt,
// const Pstream::commsTypes commsType
// ) const;
// I-O
//- Write
virtual void write(Ostream& os) const;
};