#### 6.9.1.1. MaxStressCriterion

`class compolyx.MaxStressCriterion`(s1=1, s2=1, s3=0, s12=1, s13=0, s23=0, wf_s1=1.0, wf_s2=1.0, wf_s3=1.0, wf_s12=1.0, wf_s13=1.0, wf_s23=1.0)

Max stress failure criterion configuration Properties are s1, s2, s3, s12, s13, s23, wf_s1, wf_s2, wf_s3, wf_s12, wf_s13, wf_s23 e.g. MaxStressCriterion(s1=1, s2=1, s3=0, s12=1, s13=0, s23=0, wf_s1=1, wf_s2=1, wf_s3=1, wf_s12=1, wf_s13=1, wf_s23=1)

`s1`

  specifies whether to compute max stress in 1 direction

`s12`

  specifies whether to compute max shear stress in 1 direction

`s13`

  specifies whether to compute max normal stress in 1 direction

`s2`

  specifies whether to compute max stress in 2 direction

`s23`

  specifies whether to compute max normal stress in 2 direction

`s3`

  specifies whether to compute max stress in 3 direction

`serialize`()

  Serialize to Python string

`wf_s1`

  weighting factor of s1

`wf_s12`

  weighting factor of s12

`wf_s13`

  weighting factor of s13

`wf_s2`

  weighting factor of s2

`wf_s23`

  weighting factor of s23

`wf_s3`

  weighting factor of s3

Release 18.2 - © ANSYS, Inc. All rights reserved.