CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

problem while looping over cells in LES

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 5, 2002, 16:33
Default problem while looping over cells in LES
  #1
Jimmy
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
  Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 08:39.