Question: Constants in pdsolve


I wish to declare the diffusion coefficient in the Fick's diffusion law as constant and solve numerically.How do I declare constants for a pd to use in pdsolve?I also have some constants in my boundary conditions.

diff(f(x, t), t) =D*(diff(f(x, t), x, x))

is the PD and,

{f(x, 0) = 0.25, (D[1](f))(0, t) = (1-N)*sqrt((2*k)/t)/(D)}

are the bc's.


Thank you,


Please Wait...