|
[Sponsors] |
December 6, 2007, 10:40 |
using UDF
|
#1 |
Guest
Posts: n/a
|
I have not used Fluent a lot, so i am realy fresh in CFD. My problem is that want to use user defined functions to make a dynamic mesh to simulate a stirling engine. I tried to do the tutorial in Dynamic mesh but i could not get the UDF's compiled. can anybody help me?
|
|
December 7, 2007, 06:41 |
Re: using UDF
|
#2 |
Guest
Posts: n/a
|
I have not used Fluent a lot, so i am realy fresh in CFD. My problem is that want to use user defined functions to make a dynamic mesh to simulate a hydarulic ram pump run on water hammer principle. I tried to do the tutorial in Dynamic mesh but i could not get the UDF's compiled. can anybody help me?
-------------------------------------------------------------------------------- |
|
December 10, 2007, 10:39 |
Re: using UDF
|
#3 |
Guest
Posts: n/a
|
In order to compile your UDFs you must have Microsoft Visual Studio. You must run FLUENT throught Visual Studio's command prompt. Then do what user's quide say.
|
|
December 11, 2007, 09:34 |
Re: using UDF
|
#4 |
Guest
Posts: n/a
|
Thank you very much! but how do i run fluent through visual studio? you se i'am like in the beginner phase of programing -lurk
|
|
December 11, 2007, 11:35 |
Re: using UDF
|
#5 |
Guest
Posts: n/a
|
Hello there,
Just do: Start -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt. And in the command prompt window just write: fluent. In the end it will look like that: c:\Program Files\Microsoft Visual Studio 8\VC > fluent Don't worry it will run! |
|
December 11, 2007, 16:08 |
Re: using UDF
|
#6 |
Guest
Posts: n/a
|
thank you very much! this spring i'll gonna simulate a bubbeling fluidized bed reactor. It's gonna be cool! thanks again -lurk
|
|
December 12, 2007, 02:00 |
Re: using UDF
|
#7 |
Guest
Posts: n/a
|
sorry to bother you again but it's not working properly. i use the VS 2008 cause i have a 64 bit OS. i also use the 6.3 verson of fluent. when i am compiling the dynamic mesh UDF i get some syntax errors regards -lurk
|
|
December 12, 2007, 05:10 |
Re: Using Visual Studio
|
#8 |
Guest
Posts: n/a
|
Dear Leverkin,
may I ask you to explain why you are insisting on using Visual Studio? Is there an advantage to it (which perhaps might help others as well)? As I have experienced so far, Fluent compiles on its own just about anything written in proper C. Looking forward to your response, Regards szz |
|
December 12, 2007, 10:45 |
Re: Using Visual Studio
|
#9 |
Guest
Posts: n/a
|
if you use the compiler in fluent you can not use dynamic mesh. and some other things. it's decribed in the UDF manual. if that is what you asked for -lurk
|
|
December 14, 2007, 06:23 |
Re: Using Visual Studio
|
#10 |
Guest
Posts: n/a
|
As lurk said you cannot compile your codes if you dont' have VS or a compiler of C with a command prompt.(If you are working in Linux is different!)
Compiling is more usefull if you want to run your programms parallel and have many advantages because you create libraries which makes your codes ease to transfer. You can find usefull informations in UDF Manual -> Chapter 5: Compiling UDFs about compiling. I hope i have answered your question! |
|
August 31, 2011, 02:01 |
3d udf help
|
#11 |
Member
|
hii friends. i have worked out with 2d udf for parabolic velocity inlet.
please help me how this code will change with 3d. i wanna know how will be the equation considering 3rd dimmension. as in 2d we have V(x)=Vmax- y^2/(disatnce from centre in y direction )^2 * Vmax. please help me. also give suggestion how to work out on sinusoidal inlet udf. thanks in advance |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 08:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 23:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 22:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 05:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 05:01 |