Skip to content
Snippets Groups Projects
Commit e3efc267 authored by sergio's avatar sergio
Browse files

ENH: Allowing negative pressure drop in fan BC (EP 815)

parent e9a01787
No related branches found
No related tags found
No related merge requests found
...@@ -73,11 +73,11 @@ void Foam::fanFvPatchField<Foam::scalar>::calcFanJump() ...@@ -73,11 +73,11 @@ void Foam::fanFvPatchField<Foam::scalar>::calcFanJump()
deltap*pow4(constant::mathematical::pi)*sqr(dm_*rpm_)/1800.0 deltap*pow4(constant::mathematical::pi)*sqr(dm_*rpm_)/1800.0
); );
this->jump_ = max(pdFan, scalar(0)); this->jump_ = pdFan;
} }
else else
{ {
this->jump_ = max(this->jumpTable_->value(Un), scalar(0)); this->jump_ = this->jumpTable_->value(Un);
} }
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment