This section describes the methods you can use to define the magnitude of a boundary condition. Mechanical enables you to define a load value or magnitude as a:
: defined by a static value or through an Expression
: defined by varying time/frequency/space as well as varying per load step (for Static Structural only).
In addition, you can import and export load histories.
Note: Changing the method of how a multiple-step load value is specified (such as to ), the Activation/Deactivation state of all steps resets to the default, Active.
Tabular Heat Flow loads applied to an edge in a 3D analysis are not supported.
Function Heat Flow loads applied to an edge in a 3D analysis are not supported.
Once you have scoped the geometry for your boundary condition, generally, the Magnitude option defaults to the Constant setting and you can simply enter your desired magnitude value in the field.
As discussed below, you can also define constant values as expressions.
The Magnitude field defaults to the option Constant. Expressions are simply typed into the field. The expression is evaluated and applied.
For example and as illustrated, entering the expression =2 + (3 * 5) + pow(2,3) in English in the numeric field is evaluated as a Magnitude of 25.


The equal sign [=] must be used to begin an expression. Additional operators include: +, -, *, /, ^ (for power) and % (integer Modulus). Operator examples are shown here:
| 2+3 |
| 10.5-2.5 |
| 3.5*3.3 |
| 10.12/1.89 |
| 2^10 |
| 10%3 |
| 2*(3+5) |
The order of operator precedence is:
| parentheses |
| intrinsic functions (like sin or cos) |
| power (^) |
| multiplication (*), division (/) and integer modulus (%) |
| addition (+) and subtraction (-) |
Note: If the decimal separator in the current language is a comma (,) as it is in German, then the separator for the list of parameters of a function is a semicolon (;).
For example, if an English expression is =2.5 + pow (1.3, 6), the equivalent German expression is =2,5 + pow (1.3; 6).
The supported intrinsic functions are:
| Supported Intrinsic Functions | Sample Usage | Usage (angles in current Mechanical units setting) |
|---|---|---|
| sin(x) | sin(3.1415926535/2) | Calculate sines and hyperbolic sines. |
| sinh(x) | sinh(3.1415926535/2) | |
| cos(x) | cos(3.1415926535/2) | Calculate the cosine (cos) or hyperbolic cosine (cosh). |
| cosh(x) | cosh(3.1415926535/2) | |
| tan(x) | tan(3.1415926535/4) | Calculate the tangent (tan) or hyperbolic tangent (tanh). |
| tanh | tanh(1.000000) | |
| asin(x) | asin(0.326960) | Calculates the arcsine. (x - Value whose arcsine is to be calculated). |
| acos(x) | acos(0.326960) | Calculates the arccosine. (x - Value between –1 and 1 whose arccosine is to be calculated). |
| atan(x) | atan(-862.42) | Calculates the arctangent of x (atan) or the arctangent of y/x (atan2). (x,y Any numbers). |
| atan2(y,x) | atan2(-862.420000,78.514900) | |
| pow(x,y) | pow(2.0,3.0) | Calculates x raised to the power of y. (x – Base y - Exponent). |
| sqrt(x) | sqrt(45.35) | Calculates the square root. (x should be a Nonnegative value). |
| exp(x) | exp(2.302585093) | Calculates the exponential. (x - Floating-point value). |
| log(x) | log(9000.00) | Calculates the natural logarithm. (x - Value whose logarithm is to be found). |
| log10(x) | log10(9000.00) | Calculates the common logarithm. (x - Value whose logarithm is to be found). |
| rand() | rand() | Generates a pseudorandom number. |
| ceil(x) | ceil(2.8) | Calculates the ceiling of a value. It returns a floating-point value representing the smallest integer that is greater than or equal to x. (x - Floating-point value). |
| ceil(-2.8) | ||
| floor(x) | floor(2.8) | Calculates the floor of a value. It returns a floating-point value representing the largest integer that is less than or equal to x. (x - Floating-point value). |
| floor(-2.8) | ||
| fmod(x,y) | fmod(-10.0, 3.0) | Calculates the floating-point remainder. The fmod function calculates the floating-point remainder f of x / y such that x = i * y + f, where i is an integer, f has the same sign as x, and the absolute value of f is less than the absolute value of y. (x,y - Floating-point values). |
You can also enter hexadecimal (starting with 0x) and octal (starting with &) numbers, for example 0x12 and &12.
data is most often entered using the Magnitude property of the boundary condition. The Distance property is also an option for Displacements. As illustrated below, from the appropriate property in the Details view, open the fly-out menu and select Tabular.

Based on your analysis system, enter the appropriate data in the Tabular Data window (pressure, force, frequency, etc). The Graph window displays the variation of the load with time for Static and Transient analysis systems or frequency for Harmonic analysis systems.

For varying loads, annotations in the Geometry window display the current time in the Graph window along with the load value at that time. Tabular Loads allow up to 100,000 entries. For frequency varying loads, annotations in the Geometry window displays the minimum range of harmonic frequency sweep and load value of first frequency entry.
All new data is entered into the row that begins with an asterisk (*) regardless of whether the time or frequency point is higher or lower than the last defined point in the table. The application automatically sorts the content of the table into ascending order.
Any Tabular Data values preceded by an equal sign (=) are not defined table values. These values are application interpolated values shown for reference.
When using spatial varying loads, selecting Tabular as the input option displays the Tabular Data category and based on the entry of the Tabular Data category, the Graph Controls category may also display.
The Tabular Data category provides the following options:
The Independent Variable property specifies how the load varies with either (default), load (Static Structural only), or in the , , or spatial direction. For a Harmonic Response analysis the default setting is Frequency. And, for certain temperature-based loads, you can select as the Independent Variable.
The application typically writes loading values to the input file as a table of values. When you set the Independent Variable property to , the application instead writes a constant load value for each load step.
For a Pressure load, the Define By property must be set to .
The option becomes available for Line Pressure loads in a 3D analysis when the Define By property is set to or Pressure loads in a 2D analysis when the Define By property is set to .
The option enables you to define pressure as a function of the distance along a path whose length is denoted by . When you select the variable, the Tabular Data window accepts input data in the form of normalized values of path length () and corresponding Pressure values. A path length of 0 denotes the start of the path and a 1 denotes the end of the path. Any intermediate values between 0 and 1 are acceptable in the table. Load values are sent to the solver for each element on the defined path based on a first-order approximation.
The Coordinate System property displays if you specify the Independent Variable in a spatial direction (X, Y, or Z). Use this property to specify a coordinate system.
The Graph Controls category displays when you define the Independent Variable as a spatial direction (X, Y, or Z), as , or as . This category provides the property X-Axis which you use to change the Graph window's display. The options of the X-Axis property vary based upon analysis type and the selection made for the Independent Variable property. Options may include , or the spatial direction specified, or .
When the X-Axis property is defined as Time:
Tabular Data content can be Scaled against time.
You can Activate and/or Deactivate the load at a solution load step.
If is not an available option of the X-Axis option, then scaling or activation/deactivation are not possible for the boundary condition.
For entering a mathematical function, click the flyout arrow in the input field (for example, Magnitude), choose Function, then type a function such as =1000*sin(10*time). Any time values that you are evaluating can exceed the final time value by as much as one time step. The Graph window displays the variation of the load with time. Annotations in the Geometry window display the current time in the Graph window along with the load value at that time. The following functions are supported: sin, cos, tan, asin, acos, atan, atan2, log, log10, exp, pow, and sqrt.
When using spatial varying loads or displacements, selecting Function as the input option in the Details view presents an editable function field. Enter a mathematical expression in this field. Expressions have the following requirements:
For a Pressure load, the Define By option must be set to Normal To.
For a Line Pressure load, the Define By option must be set to Tangential.
You can use the spatial variation independent variables x, y, or z, and time (entered in lowercase) in the definition of the function.
For Line Pressure loads in a 3D analysis or Pressure loads in a 2–D analysis, you can also use the variable s, which allows you to define pressure as a function of the distance along a path whose length is denoted by s. When defining a path length, valid primary variables you can enter are s alone or s combined with time, for example, s*time, or s*sin(time/s). Load values are sent to the solver for each element on the defined path based on a first-order approximation.
Define only one direction, x, y, or z; or path length, s. After entering a direction or path length, the Graph Controls category (see above) displays.
When the Details view property Magnitude is set to Function, the following categories automatically display.
Function - properties include:
Unit System – the active unit system.
Angular Measure – the angular measure that is used to evaluate trigonometric functions.
Graph Controls - based of the defined function, properties include:
X-Axis – This provides options to display time or the spatial independent variable in the graph. When set to Time you can activate and deactivate the load at a solution step.
Alternate Value – If the function combines time and a spatial independent variable, one of these values (alternate) must be fixed to evaluate the function for the two dimensional graph.
Range Minimum – If the X-Axis property is set to a spatial independent variable, this is the minimum range of the graph. For time, this value defaults to 0.0 and cannot be modified.
Range Maximum – If the X-Axis property is set to a spatial independent variable, this is the maximum range of the graph. For time this defaults to the analysis end time and can’t be modified.
Number of Segments - The function is graphed with a default value of two hundred line segments. This value may be changed to better visualize the function. The function can be graphed with up to 100,000 segments.
Caution: Specifying larger numbers of points may slow the response time of Mechanical.
You can also apply spatial varying displacements, which have the following additional or unique characteristics:
Edge scoping is available.
Displacements are shown as vectors instead of contours except if you choose Normal To the surface. Vectors are only displayed if the model has been meshed. The vector arrows are color-coded to indicate their value. A contour band is included for interpretation of the values. The contour band is the vector sum of the possible three vector components and therefore will only display positive values.
For one Displacement object, you can select up to three displacement components that can all vary using the same direction. If an additional direction is required, you can use an additional Displacement object.
A constant value and a table cannot be used in different components. A table will be forced in any component having a constant value if another component has a table.
There are four types of Direction:
| Planar Face |
| Edge |
| Cylindrical Face or Geometric Axis |
| Two Vertices |

Selected planar face. The load is directed normal to the face.
Note: Not applicable to Rotational Velocity or Rotational Acceleration. These objects are aligned along the normal to a planar face and along the axis of a cylindrical face.
Colinear to the edge
Normal to the plane containing the edge


Selected straight edge
Applies to cylinders, cones, tori, and cylindrical or conical fillets. For vector-based loading on a cylindrical face or geometric axis, you define the radial direction by selecting a different piece of geometry on your model that allows you to modify the Direction in the desired direction.

Selected cylinder

2 selected vertices
Note: Hold the CTRL key to select the second vertex.
Loads that require you to define an associated direction include the Define By Details view control. Setting Define By to Vector allows you to define the direction graphically, based on the selected geometry. Setting Define By to Components allows you to define the direction by specifying the x, y, and z magnitude components of the load.
Note: If you switch the load direction setting in the Define By field, the data is lost.
Select the appropriate geometry on the model and do one of the following:
Click on the appropriate icon on the toolbar and choose the load.
OR...
Click right mouse button, select Insert, and choose the load.
Go to the Details view and in the input field, such as the Magnitude field, click the flyout field and choose Import. Note that the Import feature can present different dependencies, such as time and temperature.
Choose the desired load history if it is listed, then click . If it is not listed, click the button, choose a load history or Browse to one that is stored, then click in both dialog boxes.
By default, any load history that you create in the application remains in the application. To save the load history for future use:
Create a load history using the Graph or Tabular Data windows.
Go to the Details view and in the input field, such as the Magnitude field, click the flyout field, choose Export, and save the file to a specific location.