Revolve1D, Revolve2D
Create a 1D or 2D revolve data set.
Syntax
model.result().dataset().create(<dtag>,"Revolve1D");
model.result().dataset().create(<dtag>,"Revolve2D");
model.result().dataset(<dtag>).set(property, <value>);
Description
model.result().dataset().create(<dtag>,"Revolve1D") creates a 1D revolved data set feature named <dtag>.
model.result().dataset().create(<dtag>,"Revolve2D") creates a 2D revolved data set feature named <dtag>.
The revolved data set needs to supply variables that cannot be expressed in terms of the coordinates of the underlying data set: The spatial coordinates and the rotation angle. Therefore the xmesh interpolation/evaluation has to be extended with support for supplying the values of these variables in a given set of points. The names of the spatial coordinates need not be exposed to the user, but the revolution angle should be available as revphi.
The source data sets for the revolutions can be any 1D and 2D data sets although the feature is primarily intended for axisymmetric coordinate systems.
The following properties are available for Revolve1D:
none | data set name
The following properties are available for Revolve2D:
none | data set name
twopoint | pointdir
Active when method equals twopoint, this property contains the coordinates of the two points in the two rows of the matrix
coarse | custom | fine | normal
Active when method equals pointdir, this property contains the direction
Active when method equals pointdir, this property contains the coordinates of the point.
See Also
Solution