|
[Sponsors] |
compile UDF and attach VISUAL STUDIO 2019 to ANSYS FLUENT 18.2 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
July 31, 2019, 10:35 |
compile UDF and attach VISUAL STUDIO 2019 to ANSYS FLUENT 18.2
|
#1 |
New Member
Christian Colás Hazeu
Join Date: Jul 2019
Posts: 4
Rep Power: 7 |
Hello,
i need to compile a udf. First of all, i have windows x64, visual studio community 2019 and ansys fluent 18.2. Is there a step-by-step guideline on how to attach visual studio to ansys so that i can compile and run the udf in fluent? I have attached the .c file underneath. Thanks in advance! |
|
August 1, 2019, 02:08 |
|
#2 |
Senior Member
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34 |
open VS console, run fluent, in fluent choose your UDF file and compile
best regards |
|
February 19, 2021, 10:03 |
|
#3 |
Member
Join Date: Jan 2018
Posts: 34
Rep Power: 8 |
I guess, the request was to how to compile and debug the udf within VS studio and not from ansys fluent's console.
|
|
February 19, 2021, 14:27 |
|
#4 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
Why do you guess that OP's question was different than what they wrote here?
Are you psychic? If so, please teach me that! |
|
February 19, 2021, 14:45 |
|
#5 |
Member
Join Date: Jan 2018
Posts: 34
Rep Power: 8 |
One does not need to be a psychic, the initial question says "attach visual studio to ansys so that i can compile and run the udf in fluent?"
Attach is just interpreted by me as an extension to compile and debug everything within VS so that errors are not on fluent's console but within some IDE , as that would be better, than unloading the UDF / and rebuilding it in fluent. get my point? |
|
February 19, 2021, 16:05 |
|
#6 |
Senior Member
Join Date: Nov 2013
Posts: 1,965
Rep Power: 27 |
No, I don't get your point.
As you quote, the question is how to make it so that they can "compile and run the udf in Fluent". Not about compiling in VS and running in Fluent. But let me be more helpful. Is it you who has the question how to set up VS such that you can compile and debug in VS? If so, make that clear, maybe somebody can answer! I can't, but I remember another user here was promoting their website with something that could compile UDFs in a more user-friendly way. Maybe they see this question and can help you. If you really have that question... |
|
|
|
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 08:26 |