|
[Sponsors] |
September 30, 2010, 07:44 |
Term source of enegry!! help
|
#1 |
Member
Join Date: Sep 2010
Posts: 60
Rep Power: 15 |
My calculation domain is a 2D rectangle contains 100 meshes along the X axis and 100 meshes along Y axis, I want to inject a source term of energy in a one cell only, for exemple i want to inject SOURCE=10000W/m3 in the mesh number 10?
DEFINE_SOURCE(energy_source,c,t,eqn) real source; if (c=50) source=10000; return source; } |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
momentum source term | zwdi | FLUENT | 14 | June 27, 2017 15:40 |
DxFoam reader update | hjasak | OpenFOAM Post-Processing | 69 | April 24, 2008 01:24 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 17:51 |
UDF Scalar Code: HT 1 | Greg Perkins | FLUENT | 8 | October 20, 2000 12:40 |
UDFs for Scalar Eqn - Fluid/Solid HT | Greg Perkins | FLUENT | 0 | October 13, 2000 23:03 |