CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   finite volume discretization (https://www.cfd-online.com/Forums/main/140459-finite-volume-discretization.html)

sciense August 15, 2014 07:26

finite volume discretization
 
how we can discretized k-epsilon equation with finite volume method
thanks in advance

Hamidzoka August 15, 2014 07:43

it is normally similar to descritizing the energy equation

sciense August 15, 2014 08:14

thanks
are we need to linearize ( epsilon^2) term in epsilon equation?

Joachim August 15, 2014 15:43

Hey,

You do not need to linearize anything when computing the fluxes, source terms, etc.
You should only need the linearized fluxes if you are using an implicit scheme (when computing the Jacobian matrices).

If you are unfamiliar with finite volume methods, I suggest you have a look at the following book:

Computational Fluid Dynamics: Principles and Applications
by Blazek

Really nice book, in which the finite volume version of the k-epsilon model is described.

Good luck,

Joachim

FMDenaro August 15, 2014 16:50

The general guideline is that the differential equation must be written in divergence form so, that once integrated over a finite volume, you can express the surface integral of the normal component of the fluxes.
Such equation can be discretized using some quadrature rule for the integral and some numerical reconstrction for the fluxes

leflix August 16, 2014 14:26

Quote:

Originally Posted by sciense (Post 506122)
how we can discretized k-epsilon equation with finite volume method
thanks in advance

k-espilon equation are general transport equations so you just have to discretize convective flux, diffusive flux temporal term and source term.
epsilon^2 will be considered as sourceterm in the right hand side of your matrix system (if you use an implicit temporal scheme).

sciense August 20, 2014 08:54

what is the discretization of (du/dx)^2 term in finite volume method
thanks for your reply

FMDenaro August 20, 2014 11:18

Quote:

Originally Posted by sciense (Post 506834)
what is the discretization of (du/dx)^2 term in finite volume method
thanks for your reply


it cannot be written in divergence form but must be integrated over a finite volume as a source term. Then you can use some quadrature rule for the discretization of the integral (see the book of Peric & Ferziger)

sbaffini August 25, 2014 08:02

You can also do the following transformation (i don't know if it helps stability):

du/dx*du/dx = d/dx(u*du/dx) - u*d/dx(du/dx)

sciense August 25, 2014 08:39

Quote:

Originally Posted by sbaffini (Post 507658)
You can also do the following transformation (i don't know if it helps stability):

du/dx*du/dx = d/dx(u*du/dx) - u*d/dx(du/dx)

thanks for your realy helpfull guidance
what a about the [(du/dx)+(dv/dy)]^2 term?

sbaffini August 25, 2014 12:02

Actually, the previous example only applies to terms like:

du_j/dx_i * du_k/dx_i = d/dx_i(u_j*du_k/dx_i) - u_j*d2u_k/dx_i^2

If you can fit your term in this template then it still applies.

Parth04 August 26, 2014 05:04

how to descretise orlanski's boundary condition (CBC) using FVM???

thnx in advance


All times are GMT -4. The time now is 16:17.