- Mapdl.d(node='', lab='', value='', value2='', nend='', ninc='', lab2='', lab3='', lab4='', lab5='', lab6='', **kwargs)#
Defines degree-of-freedom constraints at nodes.
APDL Command: D
Node at which constraint is to be specified. If ALL, NEND and NINC are ignored and constraints are applied to all selected nodes (NSEL). If Node = P, graphical picking is enabled and all remaining command fields are ignored (valid only in the GUI). A component name may also be substituted for Node.
Valid degree-of-freedom label. If ALL, use all appropriate labels.
Degree-of-freedom value or table name reference for tabular boundary conditions. To specify a table, enclose the table name in percent (%) signs (for example, D,Node,TEMP,%tabname%). Use the
*DIMcommand to define a table.
Second degree-of-freedom value (if any). If the analysis type and the degree of freedom allow a complex input, Value (above) is the real component and VALUE2 is the imaginary component.
- nend, ninc
Specifies the same values of constraint at the range of nodes from Node to NEND (defaults to Node), in steps of NINC (defaults to 1).
- lab2, lab3, lab4, lab5, lab6
Additional degree-of-freedom labels. The same values are applied to the nodes for these labels.
The available degrees of freedom per node are listed under “Degrees of Freedom” in the input table for each element type in the Element Reference. Degrees of freedom are defined in the nodal coordinate system. The positive directions of structural translations and rotations are along and about the positive nodal axes directions. Structural rotations should be input in radians. The node and the degree-of-freedom label must be selected (NSEL, DOFSEL).
In a structural analysis, you can apply only one displacement, velocity, or acceleration load at any degree of freedom. If multiple loads are specified, the last applied load overrides the previous ones. For example, the following commands apply loads to node 100:
In this case, the velocity load (VELX) applied in the last command will override the displacement load (UX).
For elements used in static and low frequency electromagnetic analysis (SOLID236 and SOLID237), the AZ degree of freedom is not a z-component of a vector potential, but rather the flux contribution on the element edge. To specify a flux-parallel condition, set AZ = 0. For more information, see 3-D Magnetostatics and Fundamentals of Edge-based Analysis in the Low-Frequency Electromagnetic Analysis Guide.
In an explicit dynamic analysis, the D command can only be used to fix nodes in the model. The degree-of-freedom value must be zero; no other values are valid. Use the EDLOAD command to apply a nonzero displacement in an explicit dynamic analysis.
For ELBOW290 cross-section degrees of freedom (Lab = SE, SO, SW, SRA, SRT, or SECT), the D command can only specify fixed constraints. The degree-of-freedom value must be zero; no other values are valid.
For hydrostatic fluid elements (HSFLD241 and HSFLD242), the HDSP degree-of-freedom constraint at the pressure node prescribes the pressure value for all the fluid elements sharing the pressure node.
Tabular boundary conditions (VALUE = %tabname%) are available only for the following degree-of-freedom labels: Electric (VOLT), structural (UX, UY, UZ, ROTX, ROTY, ROTZ, and velocity and acceleration loads VELX, VELY, VELZ, OMGX, OMGY, OMGZ, ACCX, ACCY, ACCZ, DMGX, DMGY, DMGZ), acoustic (PRES, UX, UY, UZ,), and temperature (TEMP, TBOT, TE2, TE3, …, TTOP). All labels are valid only in static (ANTYPE,STATIC) and full transient (ANTYPE,TRANS) analyses.
%_FIX% is an ANSYS reserved table name. When VALUE is set to %_FIX%, ANSYS will prescribe the degree of freedom to the “current” relative displacement value. This option is only valid for the following labels: UX, UY, UZ, ROTX, ROTY, ROTZ. Alternatively, functions UX(), UY(), etc. may be used (see
*GETfor a complete list of available functions). In most cases, %_FIX% usage is efficient and recommended for all structural degrees of freedom.
When Value = SUPPORT, specify only the minimum number of displacement constraints necessary to prevent rigid body motion: three constraints (or fewer, depending on the element type) for 2-D models and six (or fewer) for 3-D models.
If constraints and initial conditions (IC) are applied at the same node, the constraint specification overrides. This combination is useful when a constraint degree-of-freedom value needs to start with a nonzero value at time = 0.0. For example, if the constraint degree-of- freedom value is prescribed to be a cosine function, then specifying an initial condition for the same node and degree of freedom ensures that the initial value for the constraint degree of freedom at time = 0.0 is same as the cosine function evaluated at time = 0.0. If initial conditions are not specified, the constraint degree-of-freedom value ramps from zero in the first substep of the first loadstep.
If more than one rotational degrees of freedom are constrained with non-zero rotations (ROTX, ROTY, ROTZ), rotational velocities (OMGX, OMGY, OMGZ), or rotational accelerations (DMGX, DMGY, DMGZ), then the rotation of the constrained node from its initial configuration to its final configuration depends on the combination and the sequence in which the constraints are applied. See Rotations in a Large-Deflection Analysis in Structural Analysis Guide.
This command is also valid in PREP7.