*heading
 Implement plane strain tension for HGO model using UANISOHYPER_INV
*****************************************
**
** Element types: c3d8, cpe8r, cpeg4
** Material     : Compressible HGO model (native and user defined)
** Types of test: Plane-strain tension/compression with orientation
** Results      : Tension / Compression
**           S11:  59.08  /  -46.43
**           S33: -8.258  /  -55.25
**
*****************************************
*preprint, model=yes
*node,nset=all
*nset,nset=nx0
*nset,nset=nx1
*nset,nset=ny0
*nset,nset=nz0
*nset,nset=nz1
*element,type=c3d8,elset=e_c3d8
*element,type=cpe8r,elset=e_cpe8r
*element,type=cpeg4,elset=e_cpeg4
*elset,elset=eall
*orientation,name=ori-1,local directions=2
*solid section,elset=e_c3d8,material=hgo,orientation=ori-1
 1.0,
*solid section,elset=e_cpe8r,material=UANISO_HGO_1,orientation=ori-1
 1.0,
*solid section,elset=e_cpeg4,material=UANISO_HGO_1,orientation=ori-1,refnode=5
 1.0,
*parameter
 density=5.0e-4
 C10=7.64
 D=1.e-8
 K1=996.6
 K2=524.6
 Kappa=0.226
*material,name=UANISO_HGO_1
*density
 <density>
*anisotropic hyperelastic,user,formulation=invariant, local directions=2,type=compressible,properties=5
 <C10>, <D>, <K1>, <K2>, <Kappa>
*material,name=hgo
*density
 <density>
*anisotropic hyperelastic,holzapfel,local directions=2
 <C10>, <D>, <K1>, <K2>, <Kappa>
*amplitude,name=bc
0.0,0.0, 0.25,0.5, 0.5,0.0, 0.75,-0.25,
1.0,0.0
*step,nlgeom=yes
 uniaxial loading
*static
 0.05,1.0,,0.05
*boundary
nx0,1,1
ny0,2,2
5,3,5
nz0,3,3
nz1,3,3
*boundary,amp=bc
nx1,1,1,0.4
*output,field, variable=preselect, freq=5
*node out, nset=all
 u, rf
*output, history
*element output, elset=eall
 s11, s22, s33, s12, le11, le22, le33, le12
*node out, nset=nx1
 rf1, u1
*end step