-
-
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 EmployeeÂ
It 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
mrife
Ansys Employeealexandre.casadei Look up *vget in the help - it will be faster to use than *get. Â
-
- The topic ‘Volume of each element in a mesh’ 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
- Real Life Example of a non-symmetric eigenvalue problem
- Nonlinear load cases combinations
- How can the results of Pressures and Motions for all elements be obtained?
-
4062
-
1487
-
1308
-
1156
-
1021
© 2025 Copyright ANSYS, Inc. All rights reserved.