*heading
 Implement plane strain tension for HGO model using VUANISOHYPER_INV
*****************************************
**
** Element types: c3d8, cpe4r
** 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
 11,
 12,1.
 13,1.,1.,
 14,0.,1.,
 15,0.,0.,1.
 16,1.,0.,1.
 17,1.,1.,1.
 18,0.,1.,1.
 21,2
 22,3.
 23,3.,1.
 24,2.,1.
*nset,nset=nx0
 11,14,15,18,21,24
*nset,nset=nx1
 12,13,16,17,22,23
*nset,nset=ny0
 11,12,15,16,21,22
*nset,nset=nz0
 11,12,13,14
*nset,nset=nz1
 15,16,17,18
*element,type=c3d8,elset=e_c3d8
 1,11,12,13,14,15,16,17,18
*element,type=cpe4r,elset=e_cpe4r
 2,21,22,23,24
*elset,elset=eall
 1,2
*elset, elset=QA_TEST
 eall
*orientation,name=ori-1,local directions=2
 1.0,0.0,0.0,0.0,1.0,0.0
 3,0.0
 0.643055,0.76582,0.0
 0.643055,-0.76582,0.0
*solid section,elset=e_c3d8,material=hgo,orientation=ori-1
 1.0,
*solid section,elset=e_cpe4r,material=VUANISO_HGO_1,orientation=ori-1
 1.0,
*parameter
 density=5.0e-2
 C10=7.64
 D=1.e-8
 K1=996.6
 K2=524.6
 Kappa=0.226
*material,name=VUANISO_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, definition=smooth step
 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
*dynamic,explicit
 , 1.
*boundary
 nx0,1,1
 ny0,2,2
 nz0,3,3
 nz1,3,3
*boundary,amp=bc
 nx1,1,1,0.4
*output,field,number interval=4
*element output,elset=QA_TEST
 s,e
*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