Coulet,
I am trying to solve advection diffusion reaction equation in 2D. All that I want from reaction term is a first-order decay (-KC). The decay rate is 1 -per day. The code that I have changed in difsou.f is as follows.
DO ITRAC=1,NTRAC
CALL OS('X=0 ',X=TIMP%ADR(ITRAC)%P)
ENDDO
DO I=1,HPROP%DIM1
TIMP%ADR(1)%P%R(I)=-0.0000115D0*HPROP%R(I)
ENDDO
YASMI(1)=.TRUE
Could you kindly take a look and let me know if this is right. I was first trying to use TELEMAC-3D but did not completely succeed in replicating the analytical solution. The detail description of the problem is on the thread
www.opentelemac.org/index.php/kunena/21-...ytical?start=10#7950
Also would like to let you know that I am getting very good results with HEC-RAS. In HEC-RAS the resolution of my successive section is just 20 m, 500 sections in all for 10 KM channel. I wonder is this is the problem. Do I need to have very refined mesh to replicate the analytical solution.
Any and all help is greatly appreciated.
Later on I want to implement some water quality modules in T3D but before I go ahead I wanted to solve simple ADR equation.
Kind regards,
Sumit