CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT

generic_property: not a generic method

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 16, 2020, 07:08
Default generic_property: not a generic method
  #1
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Hi all,

I am using DEFINE_PROPERTY macro to define thermal conductivity of fluid. I can compile and load UDF normally. However, fluent keeps complaining following error :

"Internal error at line 200 in file 'material\prop.c' on Node 3.

generic_property: not a generic method"

I am wondering why would this happen and how can I avoid this?

Best regards

Weiqiang
Weiqiang Liu is offline   Reply With Quote

Old   June 16, 2020, 07:35
Default generic_property
  #2
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
You might be using generic_property in an incorrect manner.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 16, 2020, 09:17
Default
  #3
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by vinerm View Post
You might be using generic_property in an incorrect manner.
I just copied this code from official UDF manual. Maybe I missed the name of generic_property?
Weiqiang Liu is offline   Reply With Quote

Old   June 16, 2020, 09:45
Default Function
  #4
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Do note that generic_property function works only with species transport model enabled.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Old   June 16, 2020, 09:50
Default
  #5
Senior Member
 
Weiqiang Liu
Join Date: Feb 2018
Posts: 278
Rep Power: 9
Weiqiang Liu is on a distinguished road
Quote:
Originally Posted by vinerm View Post
Do note that generic_property function works only with species transport model enabled.
yes, I always open species transport model in my case. thanks for reminding!
Weiqiang Liu is offline   Reply With Quote

Old   June 16, 2020, 12:17
Default Copying
  #6
Senior Member
 
vinerm's Avatar
 
Vinerm
Join Date: Jun 2009
Location: Nederland
Posts: 2,946
Blog Entries: 1
Rep Power: 36
vinerm will become famous soon enough
Did you copy the code from the manual as it is using Copy procedure or did you type it yourself? If it is the former, then that won't work. You need to open the file in text editor, select it, and copy it to another file. Preferable would be to type it yourself in a new file.
__________________
Regards,
Vinerm

PM to be used if and only if you do not want something to be shared publicly. PM is considered to be of the least priority.
vinerm is offline   Reply With Quote

Reply

Tags
define property, generic method, internal error


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Inaccurate gradient results from continuous Adjoint method Yminjo SU2 1 January 11, 2014 23:08
multiphaseEulerFoam: method mag(...) withing method solveAlphase() maybee OpenFOAM Programming & Development 0 December 21, 2013 11:13
Help about the preconditioner in gmres method Dan Gao Main CFD Forum 3 July 5, 2008 02:18
About flowfield-dependent variation(FDV) method? Jinwon Main CFD Forum 1 December 4, 2007 22:13
tidal flow simulation using finite volume method Jason Qiu Main CFD Forum 0 October 20, 2002 03:34


All times are GMT -4. The time now is 21:47.