# How can I do a harmonic analysis of a small AC voltage on top of a DC bias? Can you provide an example?

 The transducer element, TRANS126 accepts a DC bias input, but if you can't use that feature the following procedure may work. It moves the model to the deformed position after the static analysis, which will make the model capacitance reflect the DC voltage.1. Perform a static analysis with DC voltage2. Issue UPCOORD,1.0 to move the mesh to the deformed position to make electrostatic forces correct in the harmonic.3. Remove DC voltage and run harmonic with forces due to AC voltage.Here's a sample input file using this procedure.fini/clear/prep7et,1,223,1001 ! Structural and Volt DOFet,2,183 ! structural onlymp,perx,1,1000mp,ex,1,1e6mp,nuxy,1,0mp,ex,2,1e11mp,dens,2,1000mp,nuxy,2,0rect,,1,,.01rect,,1,.01,.02numm,kpesize,.005amesh,1mat,2amesh,2nsel,s,loc,x,0nsel,a,loc,y,0d,all,ux,0d,all,uy,0nsel,s,loc,x,1d,all,ux,0nsel,s,loc,y,0d,all,volt,0nsel,s,loc,y,.01,.02d,all,volt,10000 ! DC voltagensel,allfini/solusolveupcoord,1 ! Move mesh to deformed positionfini/solunsel,s,loc,y,.01,.02d,all,volt,25 ! Replace DC voltage with AC voltage and compute electrostatic forcesnsel,allsolvefini/prep7 ! change element type to plane183 (structural)type,2emodif,all,typefini/soluantype,harmldread,forc ! Read electrostatic forces due to AC voltage and applyharf,100dmprat,.001solvefini/post1set,1,1plns,uy