|
[Sponsors] |
July 29, 2013, 02:37 |
Compilation error
|
#1 |
New Member
uday
Join Date: Jul 2013
Posts: 9
Rep Power: 12 |
Hi im trying to model unsteady heat transfer from wall with the following udf:
#include "udf.h" DEFINE_PROFILE(unsteady_heat, thread, position) { face_t f; begin_f_loop(f, thread) { real t = RP_Get_Real("flow-time"); F_PROFILE(f, thread, position) = 0.01072*(300.0+(1527.84*doubleexp(double(0.0854*t) ))); } end_f_loop(f, thread) } However I am getting syntax error while compiling. Can anybody help me out? thanks in advance. |
|
Tags |
syntax error, unsteady heat transfer |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 06:45 |
[OpenFOAM] Native ParaView Reader Bugs | tj22 | ParaView | 270 | January 4, 2016 11:39 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 17:38 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |