*createCAERO2card
Creates a body component of type CAERO2.
Syntax
*createCAERO2card start_id system_id origin_coordinate length n_int n_slend radii theta axis
Type
HyperMesh Tcl Modify
Description
Creates a body component of type CAERO2.
Inputs
- start_id
- The ID from which the component and element numbering will start.
- system_id
- The ID of the local coordinate system which the mesh will be generated based on. A value of 0 indicates the global coordinate system.
- origin_coordinate
- The location of the origin. This must be 3 values enclosed in double quotes.
- length
- The length along the x-axis of the the coordinate system.
- n_int
- The number of interference elements.
- n_slend
- The number of slender body elements.
- radii
- The radius at each interval along the length of the body. This must be the same number of values as given by n_slend, and must be enclosed in double quotes.
- theta
- The angle along the radial direction of the body. This must be the same number of values as given by n_int, and must be enclosed in double quotes.
- axis
- 1 - x-axis
Examples
Create a body component with ID 677771, system ID 508, and considering the length along the y-axis of the coordinate system:
*createCAERO2card 677771 508 "1011.96772 124.925267 172.770859" 500 6 7 "0 40.0 40.0 50.0 60.0 60.0 80.0" "0 60.0 120.0 180.0 240.0 300.0" 2
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
2019