|
[Sponsors] |
Problem in UDF about particle size distribution |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 25, 2005, 02:48 |
Problem in UDF about particle size distribution
|
#1 |
Guest
Posts: n/a
|
The following is an UDF about particle size in Mixture model.
/*Particle size in Eulerian Multiphase model*/ #include "udf.h" DEFINE_PROFILE(particle_distribution, thread, position) { real x[ND_ND]; real y; cell_t c; begin_c_loop(c,thread) { C_CENTROID(x,c,thread); y=x[1]; F_PROFILE(c,thread,position)=1-exp(pow(y/1.6,1.2)); } end_c_loop(c,thread) } when I compiled this program in Fluent 6.1, the following error is produced. (system "move user_nt.udf libudf\ntx86\3d")0 (system "copy c:\fluent.inc\fluent6.1\src\makefile_nt.udf libudf\ntx86\3d\makefile") have copied one file. 0 (chdir "libudf")() (chdir "ntx86\3d")() size.c # Generating udf_names.c because of makefile size.obj udf_names.c udf_names.c(7) : error C2059: syntax error : '}' udf_names.c(8) : warning C4034: sizeof returns 0 I don¡¯t know how to modify this program. Any suggestion is important to me. Thanks. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Superlinear speedup in OpenFOAM 13 | msrinath80 | OpenFOAM Running, Solving & CFD | 18 | March 3, 2015 06:36 |
DPM UDF particle position using the macro P_POS(p)[i] | dm2747 | FLUENT | 0 | April 17, 2009 02:29 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |
fluent add additional zones for the mesh file | SSL | FLUENT | 2 | January 26, 2008 12:55 |
the problem of UDF | zzb | FLUENT | 2 | April 5, 2006 06:36 |