diff --git a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C index 8535c571279124b0016ac8bf53901ae4c4ebea74..4c76bb0b9c2d2119d3b6a35dcc2b8e39ef2c9b55 100644 --- a/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C +++ b/src/finiteVolume/fields/fvPatchFields/derived/fan/fanFvPatchFields.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -61,7 +61,7 @@ void Foam::fanFvPatchField<Foam::scalar>::calcFanJump() Un /= patch().lookupPatchField<volScalarField, scalar>("rho"); } - this->jump_ = this->jumpTable_->value(Un); + this->jump_ = max(this->jumpTable_->value(Un), scalar(0)); } }