CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

New to UDF and need some help.

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2024, 00:21
Post New to UDF and need some help.
New Member
Adwait Mahajan
Join Date: Feb 2024
Posts: 1
Rep Power: 0
Adwait is on a distinguished road
I am trying to code a UDF that resets pressure value to reference value if it falls below the ref. value. PFA the C source file for the same. I am getting a parse error on line 6. Please let me know how to rectify it and also any other suggestions you might have.
Thank you.

P.S. : I know there is an option for avoiding cavitation, but that is in multiphase and I am doing single phase simulations.
Attached Files
File Type: c macro.1.c (294 Bytes, 2 views)
Adwait is offline   Reply With Quote


fluent - udf, pressue, pressure change, udf and programming, udf code

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 18:19.