Plotting a 3D finition with 1D implicite variable
8 views (last 30 days)
Hello! I have a 3D advection-dispersion équation as follows: dC/dt = Dx *d^2C/dx^2 + Dy *d^2C/dy^2 + Dz *d^2C/dz^2 - vx *dC/dx - vy *dC/dy - vy *dC/dz -mu*C. When using change of variable e.g. X = a*x + b*y + c*z i obtained a 1D advection-dispersion équation: dC/dt = D *d^2C/dX^2 - V*dC/dX -mu*C. The solution si in the form C(X,t) = exp((V/2D)*X+√V^2 + 4*D*mu)*erfc((X+√ 4*D*mu)/2√D*t).My problème si that i wanted to plot thé concentration C with respect to x, y, ans z for fixes values of other variables. How Can i do or in MATLAB knowing that the solution si expressed in term of X???