*axisymmetry
Creates or modifies the main plane of an axisymmetry entity.
Syntax
*axisymmetry ?option1=<value1>? ?option2=<value2>? ... ?optionN=<valueN>?
Type
HyperMesh Tcl Modify Command
Description
Creates an axisymmetry main plane for selected surfaces based on the specified axis. Modifies an axisymmetry main plane by imprinting secondary plane on the main plane or by imprinting lines, surfaces, or solids on the main plane.
Inputs
- axisptx
- The x coordinate of a point on the axis.
- axispty
- The y coordinate of a point on the axis.
- axisptz
- The z coordinate of a point on the axis.
- axisx
- The x coordinate of the axis.
- axisy
- The y coordinate of the axis.
- AxiSymmId=<value>
- The ID of the axisymmetry entity. Valid only when modified existing axisymmetry main plane.
- axisz
- The z coordinate of the axis.
- CrossSectionId=<value>
- The ID of the cross-section entity representing the active secondary plane cross-section.
- Delete=<value>
- The flag to delete the main plane. Valid value is 1.
- ImprintGeomMark=<value>
- The ID of the mark containing the lines, surfaces, or solids to be imprinted on the axisymmetry main plane. Valid values are 1 and 2 and should be always different from the VolumeSurfaceMark.
- ImprintGeomType=<value>
- The ID of the mark containing the user surfaces for user surface type axisymmetry main plane creation. Valid values are 1 and 2 and should be always different from the VolumeSurfaceMark.
- MainCrossSectionId=<value>
- The ID of the cross-section entity representing the main plane cross section.
- MainSurfaceCreate=<value>
- The flag to create main plane surface. Valid value is 1.
- MainSurfaceId=<value>
- The ID of the main plane surface entity. Valid only when modified existing axisymmetry main plane.
- Modify=<value>
- The flag to modify the main plane by imprinting secondary plane on the main plane or by imprinting lines, surfaces, solids on the main plane. Valid value is 1.
- NumGeomInstances=<value>
- The number of solids instances to be imprinted on the main plane.
- SecondaryImprint=<value>
- The flag to create first secondary plane imprint on the main plane. Valid value is 1.
- UserSurfaceMark=<value>
- The ID of the mark containing the user surfaces for user surface type axisymmetry main plane creation. Valid values are 1 and 2 and should be always different from the VolumeSurfaceMark.
- VolumeSurfaceMark=<value>
- The ID of the mark containing the surfaces for the axisymmetry main plane creation. Valid values are 1 and 2. This is mandatory for axisymmetry plane creation.
Examples
To create the axisymmetry main plane for selected surfaces based on the specified
axis:
*createentity axisymmetries name=Axisymmetry config=2
*setvalue axisymmetries id=1 STATUS=2 volumegeometries={solids 1}
*ME_ModuleOccurrenceCreate "Axisymmetry" "structural_type=part"
*createentity comps name=Axisymmetry
*setvalue axisymmetries id=1 STATUS=2 Part={modules 6}
*createentity crosssections name=MainAxisymmetry config=3 color=3
*setvalue axisymmetries id=1 STATUS=2 MainCrossSection={crosssections 1}
*setvalue crosssections id=1 geometrytype=2 basenode={87.149991989135742 9.8691298262565397e-06 -6.2505466758011607e-07} normal={0 1 -4.3711388286737929e-08} Offset=9.8691307357512414e-06 Edge={-1 0 0} Length=112.79998779296875 Width=75.200004577636719 DisplayMode=1
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*axisymmetry MainSurfaceCreate=1 CrossSectionId=1 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1
To create the secondary plane and imprint it on the axisymmetry main
plane:
*createentity crosssections name=SecondaryAxisymmetry config=3 color=7
*setvalue axisymmetries id=1 STATUS=2 SecondaryCrossSections={crosssections 2}
*setvalue crosssections id=2 geometrytype=2 basenode={87.14998722076416 9.8691298262565397e-06 -6.2505466758011607e-07} normal={0 1 -4.3711391839451608e-08} Offset=9.8691298262565397e-06 Edge={-1 0 0} Length=112.79998016357422 Width=75.200004577636719 DisplayMode=1.
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*axisymmetry SecondaryImprint=1 MainSurfaceId=217 CrossSectionId=2 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1
To modify the main plane by rotating and imprinting secondary plane on the main
plane:
*createmark crosssections 1 "SecondaryAxisymmetry"
*createplane 1 1 0 0 87.1499863 9.86912983e-06 -6.25054668e-07
*rotatemark crosssections 1 1 149.999997
*axisymmetry Delete=1 MainSurfaceId=217
*createentity comps color=6 name=Axisymmetry
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*axisymmetry MainSurfaceCreate=1 CrossSectionId=2 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*axisymmetry Modify=1 MainSurfaceId=217 CrossSectionId=2 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1
To modify the axisymmetry main plane by imprinting lines, surfaces, or solids on the main
plane:
*axisymmetry Delete=1 MainSurfaceId=217
*createentity comps color=6 name=Axisymmetry
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*axisymmetry MainSurfaceCreate=1 CrossSectionId=2 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1
*createmark surfaces 1 216 215 214 213 212 211 210 209 208 207 206 205 204 \
203 202 201 200 199 198 197 196 195 194 193 192 191 190 189 188 187 186 185
*createmark surfaces 2 89
*axisymmetry Modify=1 MainSurfaceId=217 CrossSectionId=2 MainCrossSectionId=1 AxiSymmId=1 VolumeSurfaceMark=1 ImprintGeomType=5 ImprintGeomMark=2
*setvalue axisymmetries id=1 STATUS=2 imprintsurfaces={surfs 89}
Errors
Incorrect usage results in a Tcl error. To detect
errors, you can use the catch
command:
if { [ catch {command_name...} ] } {
# Handle error
}
Version History
2022.1