Ansys Assistant will be unavailable on the Learning Forum starting January 30. An upgraded version is coming soon. We apologize for any inconvenience and appreciate your patience. Stay tuned for updates.

Ansys Learning Forum Forums Discuss Simulation General Mechanical Element volume in USERMAT Reply To: Element volume in USERMAT

David Weed
Ansys Employee

Hi,

The following code will give you the element volume fraction (volume per integration point):

DOUBLE PRECISION vect2(1)INTEGER v_num
v_num = 1
print*,'element num',elemId
print*,'int point num',kDomIntPt
call get_ElmData ('EJAC',elemId, kDomIntPt,v_num,vect2)
print*,'vect2 value',vect2
[bingo_chatbox]