-
-
September 22, 2023 at 9:55 pm
Holger Mettelsiefen
SubscriberHello,
I've generated transient solution data with Workbench, coupling ANSYS Mechanical to Fluent. I have a 2.5D domain with a membrane fluttering in a fluid stream. The membrane is clamped at its leading edge and undergoes self-excited oscillations. This screenshot shows the FEM geometry with the undeformed mesh. The upper horizontal face of the membrane is highlighted in green. The FSI interface includes the upper and lower horizontal faces, as well as the semicylindrical face of the trailing edge.
I want to export a number of quantities from the upper and lower surfaces to process the result data outside of Mechanical (e.g., MATLAB), as a function of time:
- Location
- Velocity
- Acceleration
- Load transferred from Fluent (pressure and shear)
Eventually, I want to merge the data from the upper and lower surfaces into a 1D-description of the membrane, to express displacement, velocity, acceleration, and pressure difference as a function of a Lagrangian coordinate, "s", along the membrane. To achieve this, I'd like to get a file for each time step of the solution, each file containing a list of nodes (or faces, or coordinates along the face) and the associated quantities, one column per quantity.
With the GUI of Mechanical I don't find a way to export the nodal data of a face, even not at a single instant of time. Please provide guidance on how I should approach this task, and where to find resources that explain what I need to know. Maybe I need to write a Python script, or an APDL script? If so, where to learn how to do that?
Thank you in advance for any constructive replies.
-
September 25, 2023 at 10:23 am
Aniket
Ansys EmployeeHave you tried exporting results by right-clicking on it and using export to text file:
-Aniket
-
September 25, 2023 at 6:07 pm
Holger Mettelsiefen
SubscriberThank you, Aniket, for your reply. Yes, I've tried that. It yields a text file for a single time step with the node locations (x,y,z) and total deformations for all nodes. I need the complete time history of locations (x,y,z) etc. for only a subset of nodes, though.
-
September 26, 2023 at 8:31 am
Erik Kostson
Ansys EmployeeHi
You can use dpf in the mechanical script console to export these results into a text file.
This example shows that (just needs some minor changes e.g., to get the displacement instead of the temperature: dpf.operators.result.temperature – change temperature part in this to say displacement or displacement_Y).
Alternative is just to use the act mechanical scripting (not dpf as above) - see link below:
https://discuss.ansys.com/discussion/2544/how-can-i-using-scripting-get-displacements-as-function-of-time-at-certain-areas/p1?new=1All the best
Erik
-
- 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.
- Saving & sharing of Working project files in .wbpz format
- Solver Pivot Warning in Beam Element Model
- Understanding Force Convergence Solution Output
- 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
- A solver pivot warning or error has been detected
-
8792
-
4658
-
3151
-
1680
-
1470
© 2023 Copyright ANSYS, Inc. All rights reserved.