mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: some general spelling fixes
This commit is contained in:
@ -176,7 +176,7 @@ double inters_cy
|
||||
// xc, yc Coordinates of axis of d.b.
|
||||
// theta, wa, wb Angle and widths
|
||||
//
|
||||
// The returned parameters will be multipled by the length of the obstacle's intersection with
|
||||
// The returned parameters will be multiplied by the length of the obstacle's intersection with
|
||||
// the third dimension of the 3-D cell to give this obstacle's contribution to the count, drag
|
||||
// and area blockages.
|
||||
// The return value is the area of intersection, which will multiply to volume blockage.
|
||||
|
||||
@ -95,7 +95,7 @@ void Foam::PDRutils::one_d_overlap
|
||||
// First and last steps overlapped given by *cmin, *cmax
|
||||
// Ditto for shifted grid given by *cfmin, *cfmax.
|
||||
|
||||
// Initially zero everwhere
|
||||
// Initially zero everywhere
|
||||
olap = Zero;
|
||||
|
||||
if (olap.size() < grid.nPoints())
|
||||
@ -591,7 +591,7 @@ scalar block_cylinder_overlap
|
||||
// The intersection between a circle and a rectangle can be an odd shape.
|
||||
// We have its area. a_lblk and b_lblk are dimensions of enclosing rectangle
|
||||
// and a_centre and b_centre its centre. We scale this rectangle down to
|
||||
// the corect areacorrect area, as a rectangular approximation to the intersection.
|
||||
// the correct areacorrect area, as a rectangular approximation to the intersection.
|
||||
const scalar ratio = std::sqrt( area / a_lblk / b_lblk );
|
||||
|
||||
a_lblk *= blk1.span.x() * ratio;
|
||||
|
||||
Reference in New Issue
Block a user