Merge pull request #21 from ParticulateFlow/fix/uniformFixedValueVoidfractionBC

writing the value field inherited from fixedValue BC; fixing #20
This commit is contained in:
Daniel
2017-05-02 13:35:27 +02:00
committed by GitHub
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);
}