Author Topic: error in udf interpretation  (Read 1024 times)

Offline iitgbim

  • Newbie
  • *
  • Posts: 7
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
error in udf interpretation
« on: October 25, 2012, 11:44:52 AM »
Advertisement
Hi

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

Offline admin

  • Administrator
  • Newbie
  • *****
  • Posts: 11
  • Reputation: +0/-0
    • View Profile
Re: error in udf interpretation
« Reply #1 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.

Offline iitgbim

  • Newbie
  • *
  • Posts: 7
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
Re: error in udf interpretation
« Reply #2 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?

Offline iitgbim

  • Newbie
  • *
  • Posts: 7
  • Reputation: +0/-0
  • Searching for solution
    • View Profile
Re: error in udf interpretation
« Reply #3 on: October 29, 2012, 10:58:20 AM »
Please help me in degassing boundary condition udf as attached,