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
Forum Moderator -
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.
-
- The topic ‘Polynomial equation for curves’ is closed to new replies.
- The legend values are not changing.
- LPBF Simulation of dissimilar materials in ANSYS mechanical (Thermal Transient)
- Convergence error in modal analysis
- APDL, memory, solid
- How to model a bimodular material in Mechanical
- Meaning of the error
- Simulate a fan on the end of shaft
- Nonlinear load cases combinations
- Real Life Example of a non-symmetric eigenvalue problem
- How can the results of Pressures and Motions for all elements be obtained?
-
3872
-
1414
-
1241
-
1118
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.