*HEADING Test import capability: HYPERFOAM TEST - UNIAXIAL COMPRESSION UNI + SS DATA - CAX6M - N=3. Base for file: sx_x_cax6m_hfoam.inp *NODE,NSET=ALL 1, 2, 2., 0. 3, 2., 2. 4, 0., 2. 5, 1., 0. 6, 2., 1. 7, 1., 2. 8, 0., 1. 9, 1., 1. *NSET,NSET=FACE1 1,2,5 *NSET,NSET=FACE2 2, *NSET,NSET=FACE3 3,4,7 *NSET,NSET=FACE4 1,4,8 *NSET,NSET=FACE32 3,6 *EQUATION ** The stress output S is Cauchy or true stress and strain output E is ** accumulated strain. For postprocessing purposes (to compare with ** test data), nominal stress and strain values are needed and we can ** do the following: ** Nodes 3,6 (NSET=FACE32) is tied to node 2 in dof 1 so that: ** Nominal stress (dof 1) = RF1 (@ node 2) / Original area (1 x 1 = 1) ** Nominal strain can be requested with the NE output identifier. 2, FACE32,1,1, 2,1,-1 *ELEMENT, TYPE=CAX6M, ELSET=ONE 1, 1,2,4,5,9,8 2, 2,3,4,6,7,9 *SOLID SECTION,ELSET=ONE,MATERIAL=FOAM *MATERIAL,NAME=FOAM ** To change the strain energy function order, change the N parameter. *HYPERFOAM,N=2,TEST DATA INPUT,POISSON=0. *UNIAXIAL TEST DATA ** nominal stress, nominal strain -.0217, -.05 -.0317, -.10 -.0367, -.15 -.0402, -.20 -.0433, -.25 -.0467, -.30 -.0504, -.35 -.0542, -.40 -.0604, -.45 -.0668, -.50 -.0759, -.55 -.0909, -.60 -.1083, -.65 -.1410, -.70 -.1933, -.75 -.2896, -.80 ** To fit uniaxial test data only, remove the *SIMPLE SHEAR TEST DATA ** card and the stress-strain data below. *SIMPLE SHEAR TEST DATA ** nom. shear stress, nom. shear strain, nom. transverse stress .0140, .08, .0046 .0334, .16, .0166 .0533, .24, .0366 .0853, .32, .0573 .1280, .40, .0817 .1653, .48, .1098 .2080, .56, .1394 .2560, .64, .1666 .2987, .72, .1904 *density 1d-5, *RESTART,WRITE,FREQUENCY=5 ** *ELSET,ELSET=QA_TEST_ALLELEMS ONE, ** *NSET, NSET=QA_TEST_ALLNODES ALL, FACE1, FACE2, FACE3 FACE4, FACE32 ** *STEP,NLGEOM,INC=20 Step 1: Uniaxial Compression to 80% strain *STATIC .05,.80,.05,.05 *BOUNDARY FACE1,2 FACE4,1 FACE2,1,1,-.3 *ENERGY PRINT *EL PRINT,SUMMARY=NO,FREQUENCY=5 S, E, LE, NE, DG, DGP, *EL FILE,FREQUENCY=5 S,E,LE,NE,DG,DGP EP,LEP,NEP *NODE PRINT U,RF *NODE FILE,FREQUENCY=2 U,RF *OUTPUT,FIELD,VARIABLE=PRESELECT,FREQUENCY=5 *OUTPUT,FIELD,Frequency=5 *ELEMENT OUTPUT S,E,LE,NE EP,LEP,NEP *OUTPUT,HISTORY,Frequency=5 *ELEMENT OUTPUT, ELSET=QA_TEST_ALLELEMS S,E,LE,NE EP,LEP,NEP *OUTPUT,FIELD,Frequency=2 *NODE OUTPUT U,RF *OUTPUT,HISTORY,Frequency=2 *NODE OUTPUT, NSET=QA_TEST_ALLNODES U,RF *END STEP