TAGGED: -user-defined-results, mechanical
-
-
June 9, 2023 at 10:03 am
Koen Franse
SubscriberHi there,
I've been trying to automate the computation of rotational stiffness computation, meaning dividing the moment reaction by the prescribed angle. However I cannot find how I can use the prescribed angle in my remote displacement boundary condition, or the moment reaction result in a user defined result, since I cannot assign an ID to these seperate values. Does anyone have a solution/workaround for this?
I want the rotational stiffness as a specific result so I can use it in a parameter set for designXplorer.
-
June 13, 2023 at 4:47 am
mjmiddle
Ansys EmployeeUser defined results are contour results. There are yet no summation (probe) types of User Defined Results. So a user defined result is like an array of data, each item in the array being a node or element value, and the equation is applied at each of these values. So to use any IDs in a User defined result, it has to have matching element/nodes in the array. This means you have to scope to the same geometry to use the ID for one result in another result, and it only works for contour results, not probe results. This means you have three choices, in order of increasing complexity:
- Make a typical moment reaction probe in Mechanical. Click the checkbox to promote the outout value to a design parameter. Also promote the angle load for your remote displacement. In the "Parameter Set" in workbench, make a user defined parameter and divide the two numbers to get your stiffness parameter.
- Use a command snippet under solution, using FSUM to compute moment. You may have to set summation point with SPOINT. If you name your final variable with prefix "my_" it will show in the Details and you can click the checkbox to make a design parameter. You will also promote the angle for your remote displacement load. In the "Parameter Set" on workbench, you can make a user defined parameter to divide the two numbers to get your stiffness parameter. When communicating with the APDL solver in command snippets, we usually make named selections of the necessary geometry and use CMSEL to get that selection.
- Do it all in a command snippet, using *GET to get the applied displacement angle from your remote boundary condition, as well as FSUM to compute the moment, and divide to get your stiffness. Name the final variable beginning with "my_" and you can promote to an output design parameter.
If you have never done APDL scripting before, you will have to do some learning,
-
June 13, 2023 at 9:08 am
Koen Franse
SubscriberOkay thanks a lot, I think solution 1 will already be sufficient for now!
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.Â

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- License Error
- Error with workbench SceneGraphChart
- Sizing on Ansys Workbench 19.2
- Workbench not opening
- Error: Exception of type ‘Ansys.Fluent.Cortex.Cortex not availableException’ was thrown
- Workbench error
- how to open DesignModeler
- FlexNet Licensing – Not running
- Problem with FlexNet Licensing
- An error occurred when the post processor attempted to load a specific result.
-
7776
-
4504
-
2971
-
1449
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.