CAPE Forum

Ansys => Fluent => Topic started by: iitgbim on October 25, 2012, 11:44:52 AM

Title: error in udf interpretation
Post by: iitgbim on October 25, 2012, 11:44:52 AM
Hi

I am unable to interpret the attached udf. It says parse error in flowf.h. Please help me.
Title: Re: error in udf interpretation
Post by: admin on October 26, 2012, 11:48:28 AM
Please compile the UDF. Do not use interpreter, it does not work for UDFs in which you have defined your own variables.
Title: Re: error in udf interpretation
Post by: iitgbim on October 26, 2012, 12:25:00 PM
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?
Title: Re: error in udf interpretation
Post by: iitgbim on October 29, 2012, 10:58:20 AM
Please help me in degassing boundary condition udf as attached,