vmtkboundaryreferencesystems

Description

compute the reference systems relative to each open boundary of a model; a typical use is the specification of boundary conditions for CFD simulations; reference systems are given both as origin and normal, and as origin, a first point defining the x axis with the origin and a second point defining the xy plane with the former two

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iSurfacevtkPolyData1the input surface
ifileSurfaceInputFileNamestr1filename for the default Surface reader
boundaryradiusarrayBoundaryRadiusArrayNamestr1BoundaryRadiusname of the array where the mean radius of each boundary has to be stored
boundarynormalsarrayBoundaryNormalsArrayNamestr1BoundaryNormalsname of the array where outward pointing normals to each boundary have to be stored
point1arrayPoint1ArrayNamestr1Point1name of the array where the coordinates of a point of each boundary have to be stored
point2arrayPoint2ArrayNamestr1Point2name of the array where the coordinates of a second point of each boundary have to be stored
ofileReferenceSystemsOutputFileNamestr1filename for the default ReferenceSystems writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oReferenceSystemsvtkPolyData1the output reference systems, given as points coinciding with the origins
boundaryradiusarrayBoundaryRadiusArrayNamestr1BoundaryRadiusname of the array where the mean radius of each boundary has to be stored
boundarynormalsarrayBoundaryNormalsArrayNamestr1BoundaryNormalsname of the array where outward pointing normals to each boundary are stored
point1arrayPoint1ArrayNamestr1Point1name of the array where the coordinates of a point of each boundary are stored
point2arrayPoint2ArrayNamestr1Point2name of the array where the coordinates of a second point of each boundary are stored