mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: Droping tangential U on the master for the swirling fan BC.
This commit is contained in:
@ -79,7 +79,7 @@ void Foam::swirlFanVelocityFvPatchField::calcFanJump()
|
|||||||
deltaP
|
deltaP
|
||||||
/rMag[i]
|
/rMag[i]
|
||||||
/fanEff_
|
/fanEff_
|
||||||
/rpm_*constant::mathematical::pi/30.0;
|
/(rpm_*constant::mathematical::pi/30.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -93,22 +93,12 @@ void Foam::swirlFanVelocityFvPatchField::calcFanJump()
|
|||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
}
|
}
|
||||||
magTangU =
|
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
|
// Calculate the tangential velocity
|
||||||
const vectorField tangentialVelocity(magTangU*tanDir);
|
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:
|
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:
|
where:
|
||||||
|
|
||||||
@ -45,7 +45,7 @@ Description
|
|||||||
Alternatively an inner and outer radii can be used instead of rEff. The
|
Alternatively an inner and outer radii can be used instead of rEff. The
|
||||||
Utan is as follow for r > rInner and r < rOuter
|
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:
|
where:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user