|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Nick
Join Date: Nov 2011
Location: Daejeon, South Korea
Posts: 26
Rep Power: 2 ![]() |
Hii Foamers,
I am modifying one of the turbulence models. In that process I have to introduce a new term in the source code, D/Dt(k_/omega_) which can be written as d/dt(k_/omega_)+ fvc::div(phi_,k_/omega_) for incompressible flows. Also considering steady state, we have: D/Dt(k_/omega_) = fvc::div(phi_,k_/omega_) Now my doubt is::in openfoam, the RHS of equation is solved based on FVM so, when these terms are discretized, is the cell-volume already included in it or do we need to specify it in the source code itself? |
|
|
|
|
|
|
|
|
#2 |
|
New Member
Nick
Join Date: Nov 2011
Location: Daejeon, South Korea
Posts: 26
Rep Power: 2 ![]() |
Or to put it in another words......
what I want is "D/Dt(k/omega)" and not "integral of D/Dt(k/omega) dV". i.e. when I assign this new Field, volScalarField DDtkw = fvc::div(phi_,k_/omega_) what I get is DDtkw = integral of div(phi, k/omega) dV Did I get it right here? |
|
|
|
|
|
|
|
|
#3 |
|
New Member
Nick
Join Date: Nov 2011
Location: Daejeon, South Korea
Posts: 26
Rep Power: 2 ![]() |
Nobody with insights in this, really??
I had even posted this problem in another location, yet no response in there too.... How to deal with the divergence terms.....?? Maybe the question is rather clearer in the above mentioned forum. Anyone???? help!! |
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| .STL: non-closed manifold surface | giulio.topazio | OpenFOAM Native Meshers: snappyHexMesh and Others | 19 | August 4, 2012 07:34 |
| Source Term Question | Blackhawks84 | Fluent UDF and Scheme Programming | 1 | July 31, 2012 15:44 |
| momentum source term | zwdi | FLUENT | 7 | May 7, 2011 04:02 |
| Source term linearization | lost.identity | Main CFD Forum | 7 | May 8, 2010 11:07 |
| UDF's - linearizing a negative source term | Steve Howell | FLUENT | 1 | March 18, 2001 16:21 |