TAGGED: #ANSYSworkbench #ANSYS #StaticStructural, apdl, curve, graph
-
-
June 15, 2023 at 2:09 pm
Shravani Bojja
SubscriberDear Team,
is there any possibility in Ansys workbench (or via APDL command snippets) that we can get a polynomial equation (of a user defined degree) for different curves?
For example, for 3 different design points, 3 different displacements curves are obtained (at 3 different loads). For these 3 curves, I would like to generate a polynomial equation such that the coefficients obtained from this equation can be used further.
Best Regards,
Shravani
-
June 16, 2023 at 7:06 am
Aniket
Ansys Employee -
June 16, 2023 at 7:49 am
Shravani Bojja
SubscriberHi Aniket,
Suppose I have 3 curves (ex: position v/s displacement) for 3 different design points of a model, and if i put those curves in an excel, I could get polynomial equations for these three curves. In the same way do we have an option in Ansys workbench (directly or via command snippets) to get a polynomial equation for the curves? so that I can make use of the coefficients of the equations for further calculation. I have attached a sample excel calculation showing the polynomial equation generation.
Please let me know if you have any queries.
Thanks,
Shravani
-
June 20, 2023 at 6:46 am
Shravani Bojja
SubscriberHello All,
can I get some information for the above query please?
Best Regards,
Shravani
-
June 20, 2023 at 8:46 am
mjmiddle
Ansys EmployeeThere is nothing in Mechanical for this. Even in Excel, curve fitting is not entirely automatic. You have to choose curve type, such as logarithmic, exponential, or polynomial, etc... For polynomial, you then must choose an order (2-6). We do have some curve fitting in the Engineering Data for material models to fit test data. But you wrote that this is for displacement. If this is a displacement load you can define by equation with a variable of "time":
If you are trying to curve-fit displacement or deformation output data, you could do it by script. You could do it in the "Automation > Scripting" console in Mechanical or insert a "Python Code" object under Solution. Your code would have to get the displacement data either from a native result in Mechanical or get the raw data, and your code would have to handle the curve fitting. Or you could just use a native deformation result in Mechanical, and right click on it to "Export > Export Text File" and then do the curve fitting in Excel.
-
- 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.
- Solver Pivot Warning in Beam Element Model
- Saving & sharing of Working project files in .wbpz format
- Understanding Force Convergence Solution Output
- User manual
- An Unknown error occurred during solution. Check the Solver Output…..
- What is the difference between bonded contact region and fixed joint
- The solver engine was unable to converge on a solution for the nonlinear problem as constrained.
- whether have the difference between using contact and target bodies
- Defining rigid body and contact
- Colors and Mesh Display
-
7592
-
4440
-
2953
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.