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

What's wrong with my UDF?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 31, 2019, 11:11
Default What's wrong with my UDF?
New Member
Matt Heywood
Join Date: Jan 2019
Posts: 1
Rep Power: 0
mhey01 is on a distinguished road

I'm trying to use this UDF I was provided with for my simulation of blood flow through a stented artery. I don't have a lot of knowledge with UDFs or C programming.

The UDF is for a transient inlet velocity boundary condition, but when I try to interpret it with Fluent, I get an error saying that the function "vel" was not found. The error also says that prototypes must appear outside of the function body.

If anyone has any advice I'd be very grateful.

mhey01 is offline   Reply With Quote

Old   February 4, 2019, 10:26
Senior Member
Join Date: Nov 2013
Posts: 1,862
Rep Power: 23
pakk will become famous soon enough
It appears that there is a mistake in the code of your UDF.

I have no psychic powers, so I do not know how your code looks like. So I can not give a better answer.
pakk is offline   Reply With Quote


function, issue, programming, udf

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
can anyone help me about the udf of dynamic contact angle in FLUENT? Albert Lee FLUENT 0 July 1, 2018 08:21
whats wrong with this udf ? h.mortezaee Fluent UDF and Scheme Programming 3 September 14, 2015 07:32
something wrong when compiling udf, however the code is correct when interpreting richard ben Fluent UDF and Scheme Programming 7 May 11, 2013 07:36
How to add a UDF to a compiled UDF library kim FLUENT 3 October 26, 2011 21:38
what's wrong with the UDF major FLUENT 6 March 3, 2005 06:39

All times are GMT -4. The time now is 13:26.