|
[Sponsors] |
May 11, 2011, 08:20 |
How to handel source term in near wall cells
|
#1 | |
Member
|
Hi Foamers
I have a source term Gamma on RHS of energy equation, which of course is a type of volScalarField. However this source term only appears in near wall cells and it is zero elsewhere. In physics, this source term should only come from the wall, which should be a surfaceScalarField. The flux of Gamma on the wall surface should be: Quote:
// Kai |
||
May 15, 2011, 17:59 |
|
#2 |
Member
|
Some updates: My mistake. All the explicit term in energy equation will be treated like
Code:
Gamma*volume of cell // Kai |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
UDF for wall slipping | HFLUENT | Fluent UDF and Scheme Programming | 0 | April 27, 2011 13:03 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 02:24 |
Multicomponent fluid | Andrea | CFX | 2 | October 11, 2004 06:12 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 13:40 |