mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
Merge pull request #21 from ParticulateFlow/fix/uniformFixedValueVoidfractionBC
writing the value field inherited from fixedValue BC; fixing #20
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user