discrete transport equation with fdm
can somebody help me to discrete transport equation with finite difference method on uniform staggerd grid. i need an explicit algorithm for temperature in known 2D velocity field. algorithm anywhere on inet? thanks zane
Re: discrete transport equation with fdm
Pick up any undergraduate CFD book. They will take you by hand through the whole process. Half of the books will even give you code, however, it actually takes less time to write your own code for this problem than sitting and figuring out how the other code works.
I can give reference to collocated codes, 2-d, 3-d, implicit or explicit, with flow solvers if you are interested. Or do you need exactly the conditions stated for your CFD assignment?
Anyway, to discretize the equation use a Taylor series expansion for each variable to a given order of accuracy. Remember temperature is in the center of the cell and velocity is on cell the boundaries. There is a book by Patankar. you will find everything you need there.
|All times are GMT -4. The time now is 12:22.|