|
[Sponsors] |
How to access 'default' Fluent-functions and use them as UDFs? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 19, 2021, 10:29 |
How to access 'default' Fluent-functions and use them as UDFs?
|
#1 |
New Member
Join Date: Apr 2021
Posts: 1
Rep Power: 0 |
Hello everyone,
I am trying to write a UDF for the advection term of the transport equation, but am facing some problems since I am quite new to writing UDFs. I wanted to try this approach: I would like to find the code for the 'default' / built-in Flux Function (named 'mass flow rate' in Fluent), make small changes to it and then import the modified function as a UDF. (See attached picture: I already imported a UDF from the User Guide, but I would like to import another UDF that is almost identical to the 'mass flow rate'-Flux Function) Is this possible? I already searched for .C-files (which could be compiled as a UDF) in the '...\ANSYS Inc' folder (installation path) but I was unable to find the corresponding file. I am thankful for any advice on this topic |
|
Tags |
udf |
|
|