2ddp - two-dimensional double precs. solver i'm using. And i'm beginner at Ansys Fluent and Coding. For modelling, i need to use UDF but every time i tried there is a always same error. Here is a code and error
-----
line 26: parse error.
`#include' expects "FILENAME" or
-----
#include #include
/* ---- use a user defined scalar to track material properties of the domain */
enum { PERM, N_REQUIRED_UDS };
/* --- misc defines */
#define PERM_EXP_VOID 35.0 #define PERM_EXP_MATERIAL -20.0 #define PERM_ADJ_FALSE 0 #define PERM_ADJ_TRUE 1 #define UDS_PERM(alpha) log10(alpha)
/* --- permeability function for scalar-0 */
#define WEIGHT 1.0e20 /*
--- weighting co-eff in linearized eqn */
#define WEIGHT2 1.0e20 #define INLET_VELOCITY 10.0
/* --- inlet velocity in m/s */
/* ---- define criteria for various possible configurations */
#define MAT_CHANNEL(x,y,z) ((y=0.75)) #define MAT_STEP(x,y,z) ( ((x