Commit dcfaeef0 authored by sergio's avatar sergio
Browse files

ENH: Droping tangential U on the master for the swirling fan BC.

parent c8d585b1
......@@ -79,7 +79,7 @@ void Foam::swirlFanVelocityFvPatchField::calcFanJump()
deltaP
/rMag[i]
/fanEff_
/rpm_*constant::mathematical::pi/30.0;
/(rpm_*constant::mathematical::pi/30.0);
}
}
}
......@@ -93,22 +93,12 @@ void Foam::swirlFanVelocityFvPatchField::calcFanJump()
<< exit(FatalError);
}
magTangU =
deltaP/rEff_/fanEff_/rpm_*constant::mathematical::pi/30.0;
deltaP/rEff_/fanEff_/(rpm_*constant::mathematical::pi/30.0);
}
// U upstream from fan
const vectorField Uup(this->patchInternalField());
// U normal to fan
const vectorField Un((Uup & patch().nf())*patch().nf());
// U tangential into fan
const vectorField UtanIn(Uup - Un);
// Calculate the tangential velocity
const vectorField tangentialVelocity(magTangU*tanDir);
this->jump_ = tangentialVelocity + UtanIn;
this->jump_ = tangentialVelocity;
}
}
......
......@@ -33,7 +33,7 @@ Description
The U-jump is specified with a swirl component as follows:
Utan = deltaP/rEff/fanEff/rpm/pi/30.0;
Utan = deltaP/rEff/fanEff/(rpm*pi/30.0);
where:
......@@ -45,7 +45,7 @@ Description
Alternatively an inner and outer radii can be used instead of rEff. The
Utan is as follow for r > rInner and r < rOuter
Utan = deltaP/r/fanEff/rpm/pi/30.0;
Utan = deltaP/r/fanEff/(rpm/pi/30.0);
where:
......
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