isothermalFilm: write value entry for film-specific BCs

to allow post-processing without loading the isothermalFilm library.
This commit is contained in:
Henry Weller
2023-03-07 13:27:41 +00:00
parent 67e692b5a8
commit a0264c98e8
4 changed files with 2 additions and 3 deletions

View File

@ -98,6 +98,7 @@ void Foam::alphaOneFvPatchScalarField::updateCoeffs()
void Foam::alphaOneFvPatchScalarField::write(Ostream& os) const
{
fvPatchField<scalar>::write(os);
writeEntry(os, "value", *this);
}

View File

@ -94,6 +94,7 @@ void Foam::filmContactAngleFvPatchScalarField::write
{
zeroGradientFvPatchScalarField::write(os);
writeEntry(os, contactAngle_());
writeEntry(os, "value", *this);
}

View File

@ -163,7 +163,6 @@ void Foam::filmSurfaceVelocityFvPatchVectorField::write
) const
{
fvPatchField<vector>::write(os);
writeEntry(os, "Cs", Cs_);
writeEntry(os, "value", *this);
}

View File

@ -123,9 +123,7 @@ void Foam::mappedFilmPressureFvPatchScalarField::updateCoeffs()
void Foam::mappedFilmPressureFvPatchScalarField::write(Ostream& os) const
{
fvPatchField<scalar>::write(os);
mappedFvPatchField<scalar>::write(os);
writeEntry(os, "value", *this);
}