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

How to access 'default' Fluent-functions and use them as UDFs?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 19, 2021, 10:29
Post How to access 'default' Fluent-functions and use them as UDFs?
  #1
New Member
 
Join Date: Apr 2021
Posts: 1
Rep Power: 0
Thsmex is on a distinguished road
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
Attached Images
File Type: png pic1.png (17.0 KB, 8 views)
Thsmex is offline   Reply With Quote

Reply

Tags
udf


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



All times are GMT -4. The time now is 17:58.