Solver Differential Equations
Use the Diff Equations tool to set solver differential equations. These equations can be used to add additional states to the mechanical system being modeled.
Create Solver Differential Equations
- From the Model Browser, select the system to which the solver differential equation is to be added.
-
Right-click on a system in the Model Browser and select from the context menu.
ORRight-click on a solver differential equation folder in the Model Browser and select Add Solver Differential Equation from the context menu.ORFrom the Model ribbon, click the arrow next to the Controls tool set name, then select Diff Equations icon.The Add SolverDiff dialog is displayed.
-
Specify a label for the solver differential equation.
The label can be changed at any time.
-
Specify a variable name for the solver differential equation.
By default, variables names of entities in MotionView follow a certain convention. For example, all solver differential equation entities have a variable name starting with “diff_”. This is the recommended convention to follow when building models in MotionView since it has many advantages in model editing and model manipulation.
-
Click OK to close the window or
Apply to continue creating entities.
Once a solver differential equation entity has been added to the model, the panel for the equation will automatically be displayed in the panel area.
Edit Solver Differential Equations
These equations can be used to add additional states to the mechanical system being modeled.
-
If the Solver Differential Equations panel is not currently displayed, select
the desired solver diff by clicking on it in the Model Browser or in the modeling window.
The Solver Differential Equations panel is automatically displayed.
- Select Static Hold if the state of the solver differential equation is not permitted to change during static or quasi-static analysis of the solver. Otherwise, deselect the option.
- Select Implicit if the differential equation is of type implicit. If the equation is explicit, leave the option unselected.
- Enter a value for the initial condition of the differential equation in the IC text box.
-
Enter a value for the initial condition for the first
derivative of the user defined variable in the IC dot text box.
This option is usually used in conjunction with an implicit variable.
- Select an option from the drop-down menu at the bottom of the panel.
-
Define the properties associated with your choice.
If Linear is chosen, enter a value in the text box.If Curve is chosen:If Spline3D is chosen:If Expression is chosen, enter an expression.
Use User-Defined Properties for a Solver Differential Equation
If desired, define the solver differential equation using the User-Defined tab, which will allow you to specify the properties of the equation using user subroutines.
- From the Properties tab, click the User-defined properties check box.
- Click the newly added User-Defined tab.
-
Define the user subroutine.