Tagged: percentage, script, stress, volume
-
-
June 6, 2022 at 9:58 am
FAQ
ParticipantThis is post processing commands should be added under the ‘Solution’ object:
resume
strs_limit=100 !element with equivalent stress larger than this limit will be outputed
my_volu_all = 0
my_volu = 0/post1
set,last
allsel
*get,my_n_el,elem,,count !count of elements
etable,vonMises,s,EQV
etable,el_volu,volu
*cfopen,el_out,dat !open a dat file to write output
*do,i,1,my_n_el,1 !do loop over all elements
*dim,avg_vonMise,array,1,1
*vget,avg_vonMise(1,1),elem,i,etab,vonMises !get vonMise stress of element i
*get,i_volu,elem,i,volu !get element volume
my_volu_all = my_volu_all+i_volu !add element volume to total volume of the model
*if,avg_vonMise(1,1),gt,strs_limit,then my_volu = my_volu + i_volu !add element volume to volume with stress over stress limit
my_volu_ratio = my_volu/my_volu_all
*endif
*ENDDO
*cfclose
-

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...

How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...

Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1Â provides background information on the model and a...

Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- What is the difference between secant and instantaneous coefficients of thermal expansion (CTE)?
- How to use the Newton-Raphson residuals option under Solution Information?
- Does ECAD trace mapping support more than one type of trace material (usually copper) in the same layer?
- How can I understand Beam Probe results?
- How to find total heat flowing through a surface in Mechanical?
- ANSYS Mechanical: Fatigue Crack Growth Analysis using SMART Crack Growth
- How to reduce contact penetration?
- How to plot stresses of a beam connection in Workbench?
- Difference Between Environment Temperature and Reference Temperature in Mechanical
- How to define frictional coefficient as a function of relative sliding velocity
© 2025 Copyright ANSYS, Inc. All rights reserved.