-
-
August 26, 2022 at 4:54 am
alexandre.casadei
SubscriberHello,
I'm having problems exporting information about the volume of each element of a mesh generated in Ansys mechanical.
Is there any way I can access and/or export this data? -
August 26, 2022 at 12:09 pm
Erik Kostson
Ansys EmployeeIt can be done probably by a combination of *GET (*GET, vele, ELEM,i,VOLU), then by saving these values *DIM (vols(i)=vele) in a *DO loop over all elements, and then finally write the array (*cfopen,vw1.out – *VWRITE,’Vol. is: ‘, vols(1) – (A12, E13.5) – *cfclose) to a file:
Here is an example that shows some of this (except of *get, but the *get for the element volume is shown above).
https://www.padtinc.com/2012/05/18/writing-text-files-with-vwrite/
All the best
Erik -
September 5, 2022 at 10:49 pm
Mike Rife
Ansys Employeealexandre.casadei Look up *vget in the help - it will be faster to use than *get.
-
- You must be logged in to reply to this topic.

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
- An Unknown error occurred during solution. Check the Solver Output…..
- Understanding Force Convergence Solution Output
- Solver Pivot Warning in Beam Element Model
- Colors and Mesh Display
- How to calculate the residual stress on a coating by Vickers indentation?
- whether have the difference between using contact and target bodies
- 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.
- User manual
-
2616
-
2096
-
1321
-
1108
-
461
© 2023 Copyright ANSYS, Inc. All rights reserved.