Skip to content

fixedNormalSlipFvPatchField does not write its value

The write function of fixedNormalSlipFvPatchField does not write its value to file:

template<class Type>
void Foam::fixedNormalSlipFvPatchField<Type>::write(Ostream& os) const
{
    transformFvPatchField<Type>::write(os);
    fixedValue_.writeEntry("fixedValue", os);
}

although this is required for for restart and visualisation in paraview.

I suggest changing it to:

template<class Type>
void Foam::fixedNormalSlipFvPatchField<Type>::write(Ostream& os) const
{
    transformFvPatchField<Type>::write(os);
    fixedValue_.writeEntry("fixedValue", os);
    this->writeEntry("value", os);
}