August 20th, 2002, 11:06 am
Hi all,Has anybody in this forum implemented the ADI technique for solving 2-D PDEs? I could use some guidance! I am following the explanation in PWOQF and have a few queries:Page 919I'm happy with the first discretisation, where we have [ V(i,j,k) - V(i,j,k+0.5) ] / 0.5*delta_t + .... = 0 eqn 1The ifrst term here is -dV/dk which is equal to dV/dt from the definition t = T - k*delta_t However, for the second step (where the explicit and implicit schemes are reversed) this becomes: [ V(i,j,k+1) - V(i,j,k+0.5) ] / 0.5*delta_t + ... = 0 eqn 2My intuition tells me that the derivative wrt 't' in the second expression (eqn 2) is not dV/dt, but -dV/dt.... (again, because in 'reversing the time' we have t= T -k*delta_t and so dt = -dk... So how does the expression hold? Where am I going wrong? Also, on the next page, the text describes the second discretisation as an explicit scheme... Is this a typo? Should it be implicit? Thanks, Sam