mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: patchCloudSet: new sampledSet for nearest point on cloud
This commit is contained in:
@ -49,6 +49,9 @@ formatOptions
|
||||
// cell : use cell-centre value only; constant over cells (default)
|
||||
// cellPoint : use cell-centre and vertex values
|
||||
// cellPointFace : use cell-centre, vertex and face values.
|
||||
// pointMVC : use point values only (Mean Value Coordinates)
|
||||
// cellPatchConstrained : use cell-centre except on boundary faces where
|
||||
// it uses the boundary value. For use with e.g. patchCloudSet.
|
||||
// 1] vertex values determined from neighbouring cell-centre values
|
||||
// 2] face values determined using the current face interpolation scheme
|
||||
// for the field (linear, gamma, etc.)
|
||||
@ -83,6 +86,7 @@ fields
|
||||
// uniform, face, midPoint, midPointAndFace : start and end coordinate
|
||||
// uniform: extra number of sampling points
|
||||
// polyLine, cloud: list of coordinates
|
||||
// patchCloud: list of coordinates and set of patches to look for nearest
|
||||
sets
|
||||
(
|
||||
lineX1
|
||||
@ -113,8 +117,21 @@ sets
|
||||
points ((0.049 0.049 0.00501)(0.051 0.049 0.00501));
|
||||
}
|
||||
|
||||
somePatchPoints
|
||||
{
|
||||
// Sample nearest points on selected patches. Use with
|
||||
// interpolations:
|
||||
// - cell (cell value)
|
||||
// - cellPatchConstrained (boundary value)
|
||||
// - cellPoint (interpolated boundary value)
|
||||
type patchCloud;
|
||||
axis xyz;
|
||||
points ((0.049 0.099 0.005)(0.051 0.054 0.005));
|
||||
patches (".*Wall.*");
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// Surface sampling definition
|
||||
//
|
||||
// 1] patches are not triangulated by default
|
||||
@ -241,4 +258,5 @@ surfaces
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
// *********************************************************************** //
|
||||
|
||||
Reference in New Issue
Block a user