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

UDF starter

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 16, 2012, 04:36
Default UDF starter
  #1
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 14
Vignesh V is on a distinguished road
Hi,

I'm trying to write my own UDF. I'm not getting anything from the FLUENT user guide.

Someone please help me with some example. How could i proceed in writing my own UDF.
Vignesh V is offline   Reply With Quote

Old   July 16, 2012, 07:22
Default
  #2
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
Tell us what you want to achieve with the UDF.
Then we can be a little more specific with the guidance we provide.
flotus1 is offline   Reply With Quote

Old   July 16, 2012, 09:42
Default Udf
  #3
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 14
Vignesh V is on a distinguished road
Hi,

I'm new to UDF.

I'm trying to simulate a moving wall over a fluid.

Can u help me.
Vignesh V is offline   Reply With Quote

Old   July 16, 2012, 09:56
Default
  #4
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
The possibilities with UDFs are nearly infinite.
So is the range of complexity of UDFs.

Before you start writing a UDF, you should know what it is supposed to do.
flotus1 is offline   Reply With Quote

Old   July 16, 2012, 13:25
Default New question of dynamic mesh-udf
  #5
New Member
 
Join Date: Jul 2012
Posts: 1
Rep Power: 0
Zzz_Mmm is on a distinguished road
HELLO
i want to use dynamic mesh to simulate a motion of a microorganism.i have understood that i have to write a UDF to define a motion of microorganism for fluent.i have 6 pictures(including data of positions) of microorganism in one cycle of its swimming motion.now these are my questions:
1- what my program suppose to do?(i am actually a little confused about it)
2- Do i have to interpolate to find the position of nodes through the time?
3-Do i need to calculate the velocity and acceleration of nodes too?(i only have data for positions)
4-which marcos should i use?
i have read the UDF manual but i didnt get whole of it.I would be thankful for any help from you?
Zzz_Mmm is offline   Reply With Quote

Old   July 17, 2012, 02:02
Default Udf
  #6
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 14
Vignesh V is on a distinguished road
Let us take an example of landing of aircraft(from certain height till its completely lands).

Is it need to define a UDF . If yes how to start.

I tell you again I'm new to UDF.

So, It would be helpful if you help in some basics steps how to write a UDF.
Vignesh V is offline   Reply With Quote

Old   July 17, 2012, 03:27
Default
  #7
Super Moderator
 
flotus1's Avatar
 
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49
flotus1 has a spectacular aura aboutflotus1 has a spectacular aura about
I feel like we are speaking different languages here.
The landing of an aircraft provides about a trillion possibilities for the use of UDFs. Since the setup of the simulation is not even defined, I could only guess what the application of a UDF in this context could be.

The range is from setting a time-variant density ot the fluid to defining the movement of the landing flaps.
I am very sorry, but I can't provide any guidance about a topic that is totally vague.
flotus1 is offline   Reply With Quote

Old   July 17, 2012, 06:36
Default Udf
  #8
New Member
 
Vignesh V
Join Date: Jun 2012
Posts: 16
Rep Power: 14
Vignesh V is on a distinguished road
Hi,

Just tell me how to write a time dependent B.C's using UDF.

The problem is like flow of a water in a tank.
Vignesh V is offline   Reply With Quote

Old   August 4, 2012, 06:17
Smile udf
  #9
Senior Member
 
Vaze
Join Date: Jun 2009
Posts: 172
Rep Power: 17
mvee is on a distinguished road
Hi Vignesh

Read DEFINE_PROFILE macro. One UDF for already written for spatial variation of velocity for the flow over aerofoil. In this profile make some modifications like - first call and specify the real time as time variable 't' and change the equation of your kind with time variable 't'.

best wishes
Mvee
mvee 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
Dynamic Mesh UDF Qureshi FLUENT 7 March 23, 2017 08:37
Source Term UDF VS Porous Media Model pchoopanya Fluent UDF and Scheme Programming 1 August 28, 2013 07:12
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 Main CFD Forum 0 November 25, 2002 05:01


All times are GMT -4. The time now is 22:44.