writing the value field inherited from fixedValue BC; fixing #20

This commit is contained in:
Gerhard Holzinger
2017-04-25 14:47:07 +02:00
parent cb18593830
commit fba3a69243
2 changed files with 2 additions and 0 deletions

View File

@ -195,6 +195,7 @@ template<class Type>
void uniformFixedValueTubeFvPatchField<Type>::write(Ostream& os) const
{
fvPatchField<Type>::write(os);
this->writeEntry("value", os);
uniformValue_->writeData(os);
os.writeKeyword("tubeLength") << tubeLength_ << token::END_STATEMENT << nl;
os.writeKeyword("tubeDiameter") << tubeDiameter_ << token::END_STATEMENT << nl;

View File

@ -145,6 +145,7 @@ template<class Type>
void uniformFixedValueVoidfractionFvPatchField<Type>::write(Ostream& os) const
{
fvPatchField<Type>::write(os);
this->writeEntry("value", os);
uniformValue_->writeData(os);
}