|
[Sponsors] |
September 5, 2002, 16:33 |
problem while looping over cells in LES
|
#1 |
Guest
Posts: n/a
|
ok, here's my problem.
i'm tryin to compute new variables over the entire domain at each time step in an LES simulation. I created an UDF with DEFINE_ADJUST that checks for time steps before applying operations. The idea is to compute mean value of some variables by updating a sum at each time step, i.e.: Vmean = (sumV(t-1)+ V(t))/N where N is number of time steps. Problems arise while looping on cells begin_c_loop. instead of updating the sum on each cell it takes all previous cells in the loop and add the values, creating a divergent sum. does anyone has an idea how to compute a basic operation on EACH cell in an independant way ? thx for help |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Checkerboarding problem in LES | Matteo85 | OpenFOAM Running, Solving & CFD | 3 | September 15, 2012 23:15 |
looping over cells | Chrisi1984 | OpenFOAM Running, Solving & CFD | 4 | August 5, 2010 03:44 |
LES & NITA diverge problem | wtyeh | FLUENT | 0 | May 21, 2009 22:02 |
Looping over cells | Karl | FLUENT | 4 | March 26, 2002 22:18 |
UDF for looping over nodes in cells. | Malcolm Wallace | FLUENT | 3 | July 3, 2000 10:22 |