Skip to content
Snippets Groups Projects
Open fixedNormalSlipFvPatchField does not write its value
  • View options
  • fixedNormalSlipFvPatchField does not write its value

  • View options
  • Open Issue created

    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);
    }
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading