UserMatCPU

Structure

   int* p_internal_fail
   int* p_face_update
   int* p_curve_data
double* p_curve_val
double* p_strain
double* p_dstrain
double* p_stress
double* p_f_mat
double* p_u_mat
double* p_history
double* p_cmat
double* p_stiffness
 double elem_volume0
 double elem_volume
 double ip_volume0
 double ip_volume
    int elem_id
    int ip_id
    int type
 double dt1
 double tt
    int part_id
   int* p_face_ids
double* p_face_area
double* p_face_normal

Variables

int* p_internal_fail

Integration point failure flag.


int* p_face_update

Force update of faces (used with erosion).


int* p_curve_data

Curve data, used together with load_curve.


double* p_curve_val

Curve data, used together with load_curve.


double* p_strain

Strain tensor.


double* p_dstrain

Strain increment tensor.


double* p_stress

Stress tensor.


double* p_f_mat

Deformation gradient matrix.


double* p_u_mat

Right stretch tensor.


double* p_history

History state variable array.


double* p_cmat

Material parameters array.


double* p_stiffness

Used for time step calculation.

  • 0 = shear
  • 1 = bulk
  • 2 = xi
  • 3 = bfac

double elem_volume0

Inital volume of the element.


double elem_volume

Current volume of the element.


double ip_volume0

Initial volume of the integration point.


double ip_volume

Current volume of the integration point.


int elem_id

Element ID.


int ip_id

Integration point ID.


int type

Element type.


double dt1

Current time step size.


double tt

Current time.


int type

Part ID.


int* p_face_ids

Array of (maximum 3) face IDs tied to the current integration point. Non-zero value for each external face.


double* p_face_area

Area of the corresponding external face from p_face_ids. Use the index of p_face_ids where the value is not 0.


double* p_face_normal

Normal vector of the corresponding external face from p_face_ids. Use the index of p_face_ids where the value is not 0.