vmtklineartoquadratic

Description

convert the elements of a mesh from linear to quadratic

Input arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
disabledDisabledbool10disable execution and piping
iMeshvtkUnstructuredGrid1the input mesh
ifileMeshInputFileNamestr1filename for the default Mesh reader
rSurfacevtkPolyData1the reference surface to project nodes onto
rfileSurfaceInputFileNamestr1filename for the default Surface reader
modeModestr1["volume","surface"]volumekind of elements to work with
biquadraticwedgeUseBiquadraticWedgebool1Trueif on, convert linear wedges to 18-noded biquadratic quadratic wedges, otherwise use 15-noded quadratic wedges
capsurfaceCapSurfacebool1Falseif on, cap the reference surface before projecting
entityidsarrayCellEntityIdsArrayNamestr1Nonename of the array where entity ids relative to cells are stored
jacobianrelaxationJacobianRelaxationbool10if on, relax projected nodes until Jacobians are all positive
projectedidProjectedCellEntityIdint11id of the entity that is to be projected onto the reference surface
quadratureorderQuadratureOrderint110quadrature order for checking negative Jacobians
jacobiantoleranceNegativeJacobianTolerancefloat10.0tolerance for the evaluation of negative Jacobians
subdivisionmethodSubdivisionMethodstr1["linear","butterfly"]linearsubdivision method for surface elements
hexahedranodesNumberOfNodesHexahedraint127Output hexahedral element type by # of nodes: 20 or 27 (see vtkQuadraticHexahedron and vtkTriQuadraticHexahedron classes in VTK documentation)
ofileMeshOutputFileNamestr1filename for the default Mesh writer

Output arguments

ArgumentVariableTypeLengthRangeDefaultDescription
idIdstr10script id
handleSelfself1handle to self
oMeshvtkUnstructuredGrid1the output mesh