*HEADING
 EC28AFAD: AC2D8 ELEMENTS
 Acoustic test - 1D Problem, SS-DIRECT.
 A 4m long tube; from left to right,
 a sound source, 3m is air, then 1m of a highly
 absorbent material, followed by a rigid
 termination.
*PREPRINT,ECHO=NO,HISTORY=NO,MODEL=NO
*RESTART,WRITE
***********************************************************
**
**
**   Mesh Generation
**
*NODE, Nset=ODB_NSET
*NGEN,NSET=ALL
*NSET,NSET=QA_TEST,GENERATE
*NSET,NSET=LOAD
*ELEMENT,TYPE=AC2D8
*ELGEN,ELSET=CHANNEL
*ELEMENT,TYPE=AC2D8
*ELGEN,ELSET=ABSORB
**
**
************************************************
**    ** ELEMENT PROPERTIES **
**
*SOLID SECTION,MATERIAL=AIR,ELSET=CHANNEL
*SOLID SECTION,MATERIAL=ABSORB,ELSET=ABSORB
**
**
*MATERIAL,NAME=AIR
*DENSITY
 1.21,
*ACOUSTIC MEDIUM,BULK MODULUS
**
**
*MATERIAL,NAME=ABSORB
*DENSITY
 1.21,
*ACOUSTIC MEDIUM,BULK MODULUS
*ACOUSTIC MEDIUM,VOLUMETRIC DRAG
**
**
**
*************************************************
**
*Elset,Elset=ODB_ESET
CHANNEL, ABSORB
**
**
*Nset, Nset=ODB_NSET
ODB_NSET, ALL, QA_TEST
**
**
*STEP
*STEADY STATE DYNAMICS,DIRECT,FREQUENCY SCALE=LINEAR
 100,1100,3,1
**
** Prescribe outward acceleration of 100 at node LOAD
** To prescribe a total outward volume acceleration
** of 1 on the face with area 2/100, the load must be
** distributed in the ratios (1/6,2/3,1/6) to the
** (corner, midside, corner) nodes, respectively
*CLOAD
   1,8, -.33333
 501,8, -1.33333
1001,8, -.33333
**
*NODE PRINT, NSET=QA_TEST
 POR,PPOR,
*EL PRINT,FREQUENCY=0
*ENERGYPRINT
*OUTPUT,FIELD
*NODE OUTPUT,NSET=QA_TEST
 POR,
*ELEMENT OUTPUT
ACV,INTEN,GRADP,ENER,ELEN,ELEDEN
*OUTPUT,HISTORY
*NODE OUTPUT,NSET=QA_TEST
 POR,
*ENERGY OUTPUT
ALLSE,ALLKE,ALLWK,ALLVD
*ENDSTEP
**
**
*STEP
*FREQUENCY,NORM=MASS,EIGENSOLVER=LANCZOS, SIM=NO
50, , ,
*NODE PRINT,F=0
*EL PRINT,F=0
*OUTPUT,FIELD,Frequency=0
*END STEP
**
**
*STEP
*STEADY STATE DYNAMICS,SUBSPACE PROJECTION=ALL,FREQUENCY SCALE=LINEAR,INTERVAL=RANGE
 100,1100,3,1
**
** Prescribe outward acceleration of 100 at node LOAD
** To prescribe a total outward volume acceleration
** of 1 on the face with area 2/100, the load must be
** distributed in the ratios (1/6,2/3,1/6) to the
** (corner, midside, corner) nodes, respectively
*CLOAD
   1,8, -.33333
 501,8, -1.33333
1001,8, -.33333
**
*NODE PRINT, NSET=QA_TEST
 POR,PPOR,
*EL PRINT,FREQUENCY=0
*energyprint
*OUTPUT,FIELD,VARIABLE=PRESELECT,OP=ADD,FREQUENCY=9999
*OUTPUT,FIELD, OP=ADD
*NODE OUTPUT,NSET=QA_TEST
 POR,
*ELEMENT OUTPUT,ELSET=ABSORB
ACV,INTEN,GRADP
*OUTPUT,HISTORY
*NODE OUTPUT,NSET=QA_TEST
 POR,
*ENERGY OUTPUT
ALLSE,ALLKE,ALLWK,ALLVD
*ENDSTEP