@@ -109,8 +109,8 @@ class Curve:
109
109
"""
110
110
Defines a curve as a function of time.
111
111
112
- For example, ``load (ordinate value)``.
113
-
112
+ For example, ``load (ordinate value)``.
113
+
114
114
"""
115
115
116
116
def __init__ (self , sfo = 1 , x = [], y = [], func = None ):
@@ -286,7 +286,7 @@ def set_accuracy(
286
286
Implicit accuracy flag.
287
287
explicit_accuracy_flag : float
288
288
Explicit accuracy parameter.
289
-
289
+
290
290
- EQ.0.0: Off
291
291
- GT.0.0: On
292
292
@@ -326,25 +326,25 @@ def set_energy(
326
326
Hourglass energy calculation option.
327
327
rigidwall_energy : int
328
328
Rigidwall energy dissipation option.
329
-
329
+
330
330
- EQ.1: Energy dissipation is not computed.
331
331
- EQ.2: Energy dissipation is computed.
332
-
332
+
333
333
sliding_interface_energy : int
334
334
Sliding interface energy dissipation option.
335
-
335
+
336
336
- EQ.1: Energy dissipation is not computed.
337
337
- EQ.2: Energy dissipation is computed.
338
-
338
+
339
339
rayleigh_energy : int
340
340
Rayleigh energy dissipation option.
341
-
341
+
342
342
- EQ.1: Energy dissipation is not computed.
343
343
- EQ.2: Energy dissipation is computed.
344
-
344
+
345
345
initial_reference_geometry_energy : int
346
346
Initial reference geometry energy option.
347
-
347
+
348
348
- EQ.1: Initial reference geometry energy is not computed.
349
349
- EQ.2: Initial reference geometry energy is computed.
350
350
@@ -382,16 +382,16 @@ def set_output(
382
382
The default is ``True``, which means that none of these are printed: nodal
383
383
coordinates, element connectivities, rigid wall definitions, nodal SPCs,
384
384
initial velocities, initial strains, adaptive constraints, and SPR2/SPR3
385
- constraints. If ``False``, no supression occurs.
385
+ constraints. If ``False``, no suppression occurs.
386
386
print_suppression_echo : OutputEcho
387
387
Print suppression setting during the input phase flag for the echo file.
388
388
Options are:
389
-
389
+
390
390
- ALL_DATA_PRINTED: All data is printed.
391
391
- SUPPRESSED_NODAL_PRINTING: Nodal printing is suppressed.
392
392
- SUPPRESSED_ELEMENT_PRINTING: Element printing is suppressed.
393
393
- SUPPRESSED_NODAL_AND_ELEMENT_PRINTING : Both nodal and element printing is suppressed.
394
-
394
+
395
395
"""
396
396
if print_suppression_d3hsp :
397
397
npopt = 1
@@ -568,10 +568,10 @@ def create_control_solid(
568
568
esort : int, optional
569
569
Automatic sorting of tetrahedral and pentahedral elements to avoid
570
570
use of degenerate formulations for these shapes. The default is ``0``.
571
-
571
+
572
572
- EQ.0: No sorting
573
573
- EQ.1: Sort
574
-
574
+
575
575
fmatrx : int, optional
576
576
Method to use in the calculation of the deformation gradient matrix.
577
577
The default is ``1``.
@@ -669,7 +669,7 @@ def create_control_contact(self, rwpnal, shlthk=0, orien=1, ssthk=0, ignore=0, i
669
669
670
670
def create_damping_global (self , lcid = 0 , valdmp = 0.0 ):
671
671
"""Define mass-weighted nodal damping.
672
-
672
+
673
673
Mass-weighted nodal damping applies globally to the
674
674
nodes of deformable bodies and to the mass center of
675
675
rigid bodies.
@@ -853,6 +853,7 @@ def get_nid(self):
853
853
854
854
class SetType (Enum ):
855
855
"""Contains the enums for setting types."""
856
+
856
857
SHELL = "SET_SHELL"
857
858
SOLID = "SET_SOLID"
858
859
BEAM = "SET_BEAM"
@@ -862,7 +863,7 @@ class SetType(Enum):
862
863
863
864
class NodesetGeneral (BaseSet ):
864
865
"""Includes nodal points of element sets.
865
-
866
+
866
867
Element sets are defined by ``SET_XXXX_LIST``,
867
868
where ``XXXX`` can be ``SHELL``, ``SOLID``, ``BEAM``,
868
869
``TSHELL`` or ``DISCRETE``.
@@ -1147,7 +1148,7 @@ def set_property(self):
1147
1148
class BeamPart (Part ):
1148
1149
"""
1149
1150
Defines a beam part.
1150
-
1151
+
1151
1152
A beam part definition consists of the combined material information,
1152
1153
section properties, hourglass type, thermal properties, and a flag
1153
1154
for part adaptivity.
@@ -1192,7 +1193,7 @@ def set_property(self):
1192
1193
1193
1194
class ShellPart (Part ):
1194
1195
"""Defines a shell part.
1195
-
1196
+
1196
1197
A shell part definition consists of the combined material information,
1197
1198
section properties, hourglass type, thermal properties, and a flag
1198
1199
for part adaptivity.
@@ -1308,7 +1309,7 @@ def set_property(self):
1308
1309
class IGAPart (Part ):
1309
1310
"""
1310
1311
Defines an isogeometric shell part.
1311
-
1312
+
1312
1313
The part definition consists of the combined material information,
1313
1314
section properties, hourglass type, thermal properties, and a flag
1314
1315
for part adaptivity.
@@ -1354,7 +1355,7 @@ def set_property(self):
1354
1355
class SolidPart (Part ):
1355
1356
"""
1356
1357
Defines a solid part.
1357
-
1358
+
1358
1359
The part definition consists of the combined material information,
1359
1360
section properties, hourglass type, thermal properties, and a flag
1360
1361
for part adaptivity.
@@ -1400,7 +1401,7 @@ class DRO(Enum):
1400
1401
1401
1402
class DiscretePart (Part ):
1402
1403
"""Defines a discrete part.
1403
-
1404
+
1404
1405
The part definition consists of the combined material information,
1405
1406
section properties, hourglass type, thermal properties, and a flag
1406
1407
for part adaptivity.
@@ -1429,7 +1430,7 @@ def set_property(self):
1429
1430
pid = self .id ,
1430
1431
secid = self .secid ,
1431
1432
mid = self .mid ,
1432
- eosid = self .eosid ,hysical properties
1433
+ eosid = self .eosid ,
1433
1434
hgid = self .hgid ,
1434
1435
grav = self .grav ,
1435
1436
adpopt = self .adpopt ,
@@ -1797,7 +1798,7 @@ def set_contact_thickness(self, thickness):
1797
1798
1798
1799
def set_penalty_stiffness_scale_factor (self , scalefactor = 1.0 ):
1799
1800
"""Set the scale factor on the default surface penalty stiffness.
1800
-
1801
+
1801
1802
Parameters
1802
1803
----------
1803
1804
scalefactor : int, optional
@@ -1836,7 +1837,7 @@ def __init__(
1836
1837
1837
1838
def set_mortar (self ):
1838
1839
"""Set the mortar contact.
1839
-
1840
+
1840
1841
A mort contact is a segment-to-segment, penalty-based contact.
1841
1842
"""
1842
1843
self .mortar = True
@@ -1846,7 +1847,7 @@ def set_mortar(self):
1846
1847
1847
1848
def set_tiebreak (self ):
1848
1849
"""Set the contact allow for failure.
1849
-
1850
+
1850
1851
A tieback is a special case of this. After failure, the contact
1851
1852
usually becomes a normal one-way, two-way, or single surface version.
1852
1853
"""
@@ -1868,7 +1869,7 @@ def set_friction_coefficient(self, static=0, dynamic=0):
1868
1869
1869
1870
def set_active_time (self , birth_time = 0 , death_time = 1e20 ):
1870
1871
"""Set the birth and death time to active and deactivate the contact.
1871
-
1872
+
1872
1873
Parameters
1873
1874
----------
1874
1875
birth_time : int, optional
@@ -2072,7 +2073,7 @@ def create_joint_spherical(self, nodes, relative_penalty_stiffness=1.0, damping_
2072
2073
2073
2074
def merge_two_rigid_bodies (self , lead_rigidbody = 0 , constrained_rigidbody = 0 ):
2074
2075
"""Merge two rigid bodies.
2075
-
2076
+
2076
2077
One rigid body, called the constrained rigid body,
2077
2078
is merged into another rigid body, called the lead rigid body.
2078
2079
@@ -2398,7 +2399,7 @@ class RigidwallCylinder:
2398
2399
Coordinates of the head of the normal vector.
2399
2400
The default is ``(0, 0, 0)``.
2400
2401
radius : float, optional
2401
- Radius of the cylinder. The defaut is ``1``.
2402
+ Radius of the cylinder. The default is ``1``.
2402
2403
length : float, optional
2403
2404
Length of cylinder. The default is ``10``.
2404
2405
"""
@@ -2494,7 +2495,7 @@ class GravityOption(Enum):
2494
2495
2495
2496
class Gravity :
2496
2497
"""Defines body force loads using global axes directions.
2497
-
2498
+
2498
2499
Body force loads are due to a prescribed base acceleration or
2499
2500
angular velocity.
2500
2501
"""
0 commit comments