|
[Sponsors] |
October 16, 2012, 01:56 |
UDF von neumann
|
#1 |
New Member
nadesan
Join Date: Oct 2012
Posts: 11
Rep Power: 14 |
#include udf.h
DEFINE_PROFILE(von_neumann,thread,index) { face_t f; Thread *t; cell_t c0; Thread *t0; begin_f_loop(f,t) { F_PROFILE(f,t,i)=C_U(c0,t0); } end_f_loop(f,t) } This is the udf i framed for the gradient boundary condition du/dy=0. But i want this udf to be executed at the end. But if i use execute_at_end macro, will i be able to declare the index i for the F_PROFILE(f,t,i). Please help. Thank you Rgds Nadesan |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
UDF von neumann | nadesan | Fluent UDF and Scheme Programming | 0 | October 15, 2012 08:22 |
Neumann Pressure Boundary Condition with UDF | Balder | Fluent UDF and Scheme Programming | 8 | July 6, 2012 12:21 |
Lax method stability via von neumann analysis | morteza08 | Main CFD Forum | 1 | June 5, 2010 13:43 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 15:44 |
UDF : Neumann boundary condition | PierreM | FLUENT | 1 | December 5, 2008 08:06 |