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

Entries for October 2014

Register Blogs Community New Posts Updated Threads Search

Old

useful udf ! thanks to macfly

Posted October 21, 2014 at 17:33 by diamondx

#include "udf.h"
real T_mean; /* defined outside because will be used in multiple DEFINE macros */

DEFINE_ADJUST(adjust, domain, t)
{
real T_tot;
real u;
real counter = 0;

face_t f;
int ID = 20; /* outlet ID displayed in Fluent boundary conditions panel */
Thread *thread;
thread = Lookup_Thread(domain, ID);
begin_f_loop(f, thread)
{
u = F_U(f, thread); /* x velocity...
diamondx's Avatar
Super Moderator
Posted in Uncategorized
Views 2992 Comments 1 diamondx is offline Edit Tags

All times are GMT -4. The time now is 11:14.