Ansys > Fluent

error in udf interpretation

(1/1)

iitgbim:
Hi

I am unable to interpret the attached udf. It says parse error in flowf.h. Please help me.

admin:
Please compile the UDF. Do not use interpreter, it does not work for UDFs in which you have defined your own variables.

iitgbim:
When I tried to compile, I got following error:
degas.c
..\..\src\degas.c(174) : error C2061: syntax error : identifier 'degas_treat_symm_thrd_p'
..\..\src\degas.c(174) : error C2059: syntax error : ';'
..\..\src\degas.c(174) : error C2059: syntax error : 'type'
..\..\src\degas.c(470) : error C2065: 'boolean' : undeclared identifier
..\..\src\degas.c(470) : error C2146: syntax error : missing ';' before identifier 'my_sg_mphase'
..\..\src\degas.c(470) : error C2065: 'my_sg_mphase' : undeclared identifier
..\..\src\degas.c(472) : error C2143: syntax error : missing ';' before 'type'
..\..\src\degas.c(474) : error C2065: 'seco_phse_indx' : undeclared identifier






Please suggest me what to do? Can it run after compiling?

iitgbim:
Please help me in degassing boundary condition udf as attached,

Navigation

[0] Message Index

Reply

Go to full version