CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Help discretising diffusive terms (https://www.cfd-online.com/Forums/main/71163-help-discretising-diffusive-terms.html)

ski December 17, 2009 10:04

Help discretising diffusive terms
 
Hi,

I want to check that the method I'm attempting to implement is correct.

When evaluating the diffusive terms in the incompressible Navier-Stokes equations, (using the finite volume method on structured grids), for the U-momentum equation we have:

\text{diffusive terms} = \frac{\partial}{\partial x} \left( \mu \frac{\partial U}{\partial x}\right) + \frac{\partial}{\partial y} \left( \mu \frac{\partial U}{\partial y}\right) + \underbrace{\frac{\partial}{\partial x} \left( \mu \frac{\partial U}{\partial x}\right) + \frac{\partial}{\partial y} \left( \mu \frac{\partial V}{\partial x}\right)}

(hopefully no mistakes so far!!)

Now, do I treat the underbraced terms explicitly as a source, or implicitly?

Assuming the former, do I compute the value of the underbraced terms at the cell center and then multiply by the cell volume?

i.e. is there anything wrong with the following:

\frac{\partial}{\partial x} \left( \mu \frac{\partial U}{\partial x}\right) + \frac{\partial}{\partial y} \left( \mu \frac{\partial V}{\partial x}\right) = \mu \frac{\partial}{\partial x} \left( \frac{\partial U}{\partial x} + \frac{\partial V}{\partial y} \right) + \frac{\partial U}{\partial x}\frac{\partial \mu}{\partial x} + \frac{\partial V}{\partial x}\frac{\partial \mu}{\partial y}

...Can I simply evaluate the above at the cell center (taking the first expression on the RHS as zero due to the continuity condition) and multiply by the volume?

Thanks very much in advance,

DoHander December 17, 2009 11:55

See the book of Anderson for an example of how you can discretize these terms using finite differences; or the book or Veersteg for a finite volume formulation.

Do


All times are GMT -4. The time now is 21:08.