Reddit reviews Numerical Methods for Partial Differential Equations: Finite Difference and Finite Volume Methods
We found 1 Reddit comments about Numerical Methods for Partial Differential Equations: Finite Difference and Finite Volume Methods. Here are the top ones, ranked by their Reddit score.
ACADEMIC PRESS
Are
T_gas
andP
functions of time or just z?If they're only functions of z and don't change with time--assuming you're trying to solve for
C_i
--this is a relatively straightforward PDE to solve, of the formdC_dt = a*dC_dz + b*C + d
. You can use a finite difference method, like Euler's Forward / Explicit, to discretize both space and time. You then stick it in a loop to march through each time step until you reach steady-state or you get bored.If you're using Euler's forward method, each time step would look something like:
C_next = C_now + dt * (a * gradient(C_now, dz) + b * C_now + d)
This is my favourite book on PDEs: https://www.amazon.ca/Numerical-Methods-Partial-Differential-Equations/dp/0128498943 but it's probably at the library!