CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Fluent UDF and Scheme Programming

UDF von neumann

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 16, 2012, 00:56
Default UDF von neumann
  #1
New Member
 
nadesan
Join Date: Oct 2012
Posts: 11
Rep Power: 4
nadesan is on a distinguished road
#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
nadesan is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF von neumann nadesan Fluent UDF and Scheme Programming 0 October 15, 2012 07:22
Neumann Pressure Boundary Condition with UDF Balder Fluent UDF and Scheme Programming 8 July 6, 2012 11:21
Lax method stability via von neumann analysis morteza08 Main CFD Forum 1 June 5, 2010 12:43
wmake compiling Problem with OF1.5 openTom OpenFOAM Installation 4 May 3, 2009 14:44
UDF : Neumann boundary condition PierreM FLUENT 1 December 5, 2008 08:06


All times are GMT -4. The time now is 10:33.