|
[Sponsors] |
April 17, 2015, 04:00 |
printf in DEFINE_PROFILE
|
#1 |
Member
Join Date: Jan 2015
Posts: 40
Rep Power: 11 |
Hi all,
there is an "easy" thing that I cannot understand: why the following code do not generate a single output "h=..." in the console, but more than one and less than the face cell number or I don't know what? Code:
DEFINE_PROFILE (name,t,i){ real h; h=some expression; printf("h=%f\n",h); begin_f_loop(f,t){ F_PROFILE(f,z,i)=h; }end_f_loop(f,t) } Can anyone help me on that? Thanks in advance, philus |
|
Tags |
define_profile, output, printf, udf |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A problem about 'printf' and 'Message' in UDF. | LICH | Fluent UDF and Scheme Programming | 2 | May 2, 2013 02:45 |
problem printf fluent | marye | FLUENT | 2 | June 7, 2010 05:19 |
C, printf | marye | FLUENT | 0 | June 1, 2010 06:08 |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 07:21 |