flowRateInletVelocity: Map wall distance on decompose, rather than recompute
A wall distance computation will not be correct on a disconnected processor case. This is also more efficient. Resolves bug report https://bugs.openfoam.org/view.php?id=3833
This commit is contained in:
@ -208,10 +208,10 @@ flowRateInletVelocityFvPatchVectorField
|
||||
volumetric_(ptf.volumetric_),
|
||||
rhoName_(ptf.rhoName_),
|
||||
rhoInlet_(ptf.rhoInlet_),
|
||||
alphaName_(ptf.alphaName_)
|
||||
{
|
||||
setWallDist();
|
||||
}
|
||||
alphaName_(ptf.alphaName_),
|
||||
y_(mapper(ptf.y_)),
|
||||
area_(ptf.area_)
|
||||
{}
|
||||
|
||||
|
||||
Foam::flowRateInletVelocityFvPatchVectorField::
|
||||
|
||||
Reference in New Issue
Block a user