CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   K-epsilon Source term (https://www.cfd-online.com/Forums/main/98001-k-epsilon-source-term.html)

cfdman_aero March 1, 2012 03:10

K-epsilon Source term
 
hi every body.
I have trouble in descritizing of Nonlinear terms of source in k and epsilon equations. My cfd code is based on finite volume method. For example in (du/dy)**2 how should I descritize it? It is computed in center of each cell so I face like this:
(du/dy)**2~|du/dy|*|du/dy|
that using Green theory in each cell:
|du/dy|={-\sum
[u(i)*dx(i)]}/area of cell
but when I implement, the Fortran code is terminated by math (M6101) error. tanx.


All times are GMT -4. The time now is 19:49.