Commit a85fb097 authored by sergio's avatar sergio
Browse files

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

parent 1687a454
......@@ -73,11 +73,11 @@ void Foam::fanFvPatchField<Foam::scalar>::calcFanJump()
deltap*pow4(constant::mathematical::pi)*sqr(dm_*rpm_)/1800.0
);
this->jump_ = max(pdFan, scalar(0));
this->jump_ = pdFan;
}
else
{
this->jump_ = max(this->jumpTable_->value(Un), scalar(0));
this->jump_ = this->jumpTable_->value(Un);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment