How do I use command in Workbench?
How do I insert a APDL in Ansys Workbench?
How do I use complex loads in Ansys Workbench?
The answer is in APDL, he can achieve a functional load, such as the age of change, with the change in the position of the load, or the change of the reciprocating load, can be achieved. Please see the case of this article.
"Case description"
A cantilever beam, 1 meters long, the cross-sectional dimension is 100mmx100mm, the left end is fixed, and the distribution force system is applied on the top surface. The load increases gradually from the 1mpa,2mpa,3mpa, and the maximum displacement of the structure is obtained.
"Case Study"
This case can be solved directly in the WB using multi-load steps, which shows how to use the Insert APDL command.
"Solution Process"
1. Open Ansys WORKBENCH14.5
2. Create a structural statics analysis system.
3. Create the geometry.
Double-click Geometry cell, enter DM, select mm unit.
Create a box.
Its size setting is
Exit DM.
4. Divide the grid.
Double-click the model to enter into mechanical, dividing the grid by default.
5. Fix the left side face.
6. Add the APDL command to step-load.
Use the APDL command below to step through the load.
Since the command is finally passed to the classic interface for calculation, the classic interface has no units. In order to maintain uniformity, all units are in millimeters.
(1) Set unit
(2) Create a named set.
Because in order to reference the top face, in order to be able to correctly reference, you need to give it a name, which requires the use of a named set to complete.
Select the top face above to create a named set. Set the name in the popup dialog box: Topface
The named set appears in the tree outline.
With a named set, you can use that name later.
(3) Insert the APDL command.
Select A5 in the number outline and select the command button from the toolbar
The graphics window becomes a text editor where you can enter commands.
The text window said a lot of words, the main content contains two points:
First, these commands are executed before the solve command has just been executed.
Second, note that the unit used here is mm.
Now let's enter the following command into the text window.
The meaning of this section of the ADPL command flow is:
First exit one of the previous processors (finish)
Then enter into the Solver (/solve), in a three-to-one, time-step, in turn, apply the 1,2,3mpa load (SF) on the top surface, and then write the load step into the load step file (Lswrite), and then successively solve the three load steps (lssolve).
Final Exit solver (finish)
In the above command flow, the name of the named set defined earlier is used for top loading.
means to load the top face.
7. Simulate to see the results.
Simulate and view deformations
It can be seen that the maximum deformation has reached 22mm, which is already large deformation.
Stress results
The maximum stress reached nearly 900Mpa, obviously, this stress is larger than the general steel can withstand the limit.
Therefore, if this is an actual case, then we need to further consider the material nonlinearity and geometrical nonlinearity analysis.
Examples of using the APDL command in Ansys Workbench