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

ANSYS Fluent UDF issue

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 30, 2021, 11:22
Default ANSYS Fluent UDF issue
  #1
New Member
 
Ash
Join Date: Mar 2021
Posts: 7
Rep Power: 5
Mr.Awesome is on a distinguished road
Hi,
I'm new to fluent and I have been following this tutorial to create a moving mesh.

Link:https://www.youtube.com/watch?v=neJyTxLla0E&t=141s

Upon loading the code inside fluent, I got the following error (attached as picture). Later I tried to run it on Visual Code 2019 and I find that i get an error stating that "cannot open source file "udf.h". Can anyone help me out?
Attached Images
File Type: jpg error.jpg (13.9 KB, 4 views)
File Type: jpg vs error.jpg (73.1 KB, 7 views)
Mr.Awesome is offline   Reply With Quote

Old   March 31, 2021, 08:45
Default
  #2
New Member
 
Gemini WANG
Join Date: Mar 2018
Posts: 5
Rep Power: 8
Gemini_WANG is on a distinguished road
Hi,

It seems that you have not compiled the code successfully. Did you compile it? If not, UDF Manual, one of the Fluent documents, may help to get started with UDF.

As for running UDF outside the Fluent, I suggest not to try it. There is some way to compile UDF with Visual Code, but I have no idea about how to "run" it outside the Fluent..
Gemini_WANG is offline   Reply With Quote

Reply


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
What compilers can we use in Ansys Fluent to compile our UDF? Roh Fluent UDF and Scheme Programming 19 November 11, 2021 22:09
UDF Defining in ANSYS FLUENT 16.2 in Win 10 Sadegh.A Fluent UDF and Scheme Programming 11 February 15, 2017 15:45
Ansys Fluent 17 UDF Velocity Profile Update. Phil-M Fluent UDF and Scheme Programming 4 October 17, 2016 10:05
Ansys Fluent 17 UDF Velocity Profile Update. Phil-M ANSYS 0 October 14, 2016 09:48
Can you help me with a problem in ansys static structural solver? sourabh.porwal Structural Mechanics 0 March 27, 2016 18:07


All times are GMT -4. The time now is 19:20.