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

How can I apply UDF made in C++ language in Fluent?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2016, 01:17
Default How can I apply UDF made in C++ language in Fluent?
  #1
New Member
 
Young Sun Jeon
Join Date: Sep 2016
Posts: 1
Rep Power: 0
chundud is on a distinguished road
Hello.

I've got problem to apply UDF which I coded in C++ language.

The reason I coded in C++ is I have to use complex number and its calculation.

I am using Fluent 16.1 and Visual studio 2015.

Does anyone know the answer?

Thank you and sorry for my short english.
chundud is offline   Reply With Quote

Old   October 14, 2016, 10:05
Default
  #2
New Member
 
Join Date: Oct 2016
Posts: 3
Rep Power: 9
Nicco is on a distinguished road
Quote:
Originally Posted by chundud View Post
Hello.

I've got problem to apply UDF which I coded in C++ language.

The reason I coded in C++ is I have to use complex number and its calculation.

I am using Fluent 16.1 and Visual studio 2015.

Does anyone know the answer?

Thank you and sorry for my short english.
I have the same problem. Did you find a solution?
Nicco is offline   Reply With Quote

Old   October 14, 2016, 10:11
Default
  #3
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Quote:
Originally Posted by chundud View Post
Hello.

I've got problem to apply UDF which I coded in C++ language.

The reason I coded in C++ is I have to use complex number and its calculation.

I am using Fluent 16.1 and Visual studio 2015.

Does anyone know the answer?

Thank you and sorry for my short english.
Maybe you can try it in VS2013 or lower version. It happens to me once, but I'm not sure whether it works to your case.
Qingsong is offline   Reply With Quote

Old   October 14, 2016, 10:28
Default
  #4
New Member
 
Join Date: Oct 2016
Posts: 3
Rep Power: 9
Nicco is on a distinguished road
Quote:
Originally Posted by Qingsong View Post
Maybe you can try it in VS2013 or lower version. It happens to me once, but I'm not sure whether it works to your case.
So I can write my UDF in C++ ? Which library for complex Numbers did you use?
Nicco is offline   Reply With Quote

Old   October 14, 2016, 11:45
Default
  #5
New Member
 
Qingsong
Join Date: Mar 2016
Location: Netherlands
Posts: 10
Rep Power: 10
Qingsong is on a distinguished road
Quote:
Originally Posted by Nicco View Post
So I can write my UDF in C++ ? Which library for complex Numbers did you use?
You can ask others for this. I only use simple codes. Sorry...
Qingsong is offline   Reply With Quote

Old   October 18, 2016, 04:23
Default
  #6
AHF
Member
 
AHF's Avatar
 
amirhossein
Join Date: Jul 2014
Location: Canada
Posts: 81
Rep Power: 11
AHF is on a distinguished road
Quote:
Originally Posted by Nicco View Post
So I can write my UDF in C++ ? Which library for complex Numbers did you use?
please describe the error that you face to.
__________________
amirhosseinfardi94@gmail.com
AHF is offline   Reply With Quote

Reply

Tags
fluent, 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
WILLING TO PAY/ FREELANCER REQUIRED / small UDF coding force loads over body / 6DOF acasas CFD Freelancers 1 January 23, 2015 07:26
Fluent UDF for thermal NOx larsschwarzer Fluent UDF and Scheme Programming 1 July 18, 2014 08:39
PMV-PPD Post Processing Implementation in FLUENT using UDF ahan CFD Freelancers 1 May 17, 2014 09:30
UDF interpret in Fluent wanghaojie Fluent UDF and Scheme Programming 1 February 3, 2012 14:51
Fluent UDF load and apply inlet velocity b.c. Knut Lehmann Main CFD Forum 2 June 29, 2007 04:53


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