*HEADING
 EC3KAFAS: AC3D20,ASI8
 1D transient wave propagation in an acoustic medium
 with prescribed acceleration on DOF 1.
 Verification problem: Transient Dynamics Tests
**
** C = root (K/rho)= 343.05 m/s   K=bulk mod, rho=density.
**
** Analytic solution to prescribed constant acceleration of a0 at x=0
**
** p(x,t) = (K a0 / c^2) (ct - x)  for x < ct
**        = 0  			   for x > ct
**
*PREPRINT,ECHO=NO,HISTORY=YES,MODEL=YES
**
*part,name=old
*NODE, Nset=ODB_NSET
*NGEN,NSET=CHANNEL
*NSET,NSET=SAMPLE,GENERATE
*NSET,NSET=LOAD
*ELEMENT,TYPE=AC3D20
*ELGEN,ELSET=CHANNEL
*SOLID SECTION,MATERIAL=AIR,ELSET=CHANNEL
*ELEMENT,TYPE=ASI8,ELSET=LOAD
*INTERFACE,ELSET=LOAD
*endpart
*part,name=new
*NODE, Nset=ODB_NSET
*NGEN,NSET=CHANNEL
*NSET,NSET=SAMPLE,GENERATE
*NSET,NSET=LOAD
*ELEMENT,TYPE=AC3D20
*ELGEN,ELSET=CHANNEL
*SOLID SECTION,MATERIAL=AIR,ELSET=CHANNEL
*ELEMENT,TYPE=ASI3D8,ELSET=LOAD
*INTERFACE,ELSET=LOAD
*endpart
**
*assembly,name=both
*instance,name=old,part=old
*endinstance
*instance,name=new,part=new
*endinstance
*nset,nset=sample
old.sample,new.sample
*nset,nset=load
old.load,new.load
*surface,NAME=NRS
 old.50,S4,
 new.50,S4,
*endassembly
**************************************
*MATERIAL,NAME=AIR
*DENSITY
 1.21,
*ACOUSTIC MEDIUM,BULK MODULUS
**
**
*RESTART,WRITE
**
*STEP,INC=1000
*DYNAMIC
.0001,.0036
** Define nonreflective boundary at x=1
*IMPEDANCE
 old.50,I4
 new.50,I4
**
*BOUNDARY,TYPE=ACCELERATION
 LOAD,1,1,1.
*EL PRINT,FREQ=0
*NODE PRINT,NSET=SAMPLE,FREQ=6
 POR,
*NODE FILE,NSET=SAMPLE,FREQ=6
 POR,
*OUTPUT,FIELD, OP=NEW,Frequency=6
*NODE OUTPUT
 POR,
*OUTPUT,HISTORY,OP=ADD,Frequency=6
*NODE OUTPUT,NSET=SAMPLE
 POR,
*ENDSTEP
***********************
*STEP,INC=1000
*DYNAMIC
.0001,.0008
*IMPEDANCE,OP=NEW
*SIMPEDANCE
 NRS,
*BOUNDARY,TYPE=ACCELERATION
 LOAD,1,1,1.
*EL PRINT,FREQ=0
*NODE PRINT,NSET=SAMPLE,FREQ=6
 POR,
*NODE FILE,NSET=SAMPLE,FREQ=6
 POR,
*OUTPUT,FIELD, OP=NEW,Frequency=6
*NODE OUTPUT
 POR,
*OUTPUT,HISTORY,OP=ADD,Frequency=6
*NODE OUTPUT,NSET=SAMPLE
 POR,
*ENDSTEP