# UDF Hooks

 Register Blogs Members List Search Today's Posts Mark Forums Read

 May 16, 2002, 06:44 UDF Hooks #1 Sam Guest   Posts: n/a Dear all, I am using User-Definded Funtion Hooks(UDFH) as my k-e boundary conditions are changing with the inlet velocity condition. I have set "initialization function" as inlet velocity, However the results were same as not using this UDF Hooks. Can anyone tell me what this UDFH actually does? Thanks sam

 May 17, 2002, 02:59 Re: UDF Hooks #2 Keil Guest   Posts: n/a Hi, You don't need to use "initialization function"(DEFINE_ININT) and DEFINE_PROFILE function should be used. This function "DEFINE_INIT" is used when all solutions are initialized(i.e. At an initial iteration ). Keil

 May 17, 2002, 04:11 Re: UDF Hooks #3 Sam Guest   Posts: n/a Thanks Keil. I still don't fully understand. Maybe I need to explain my case a bit more. I have 3 inlet condition for a Jet using k-e model. (A) inlet Velocity(e.g changes with time u= u(t)) (B) k (e.g changes with the inlet velocity= const*A^1.5) (C) e (e.g changes with k = const*B^2) after calculating A then B and C. My intention was to update the condition B&C based on condition A as the TIME varies like inlet velocity. Do I still need to use DEFINE_PROFILE? and when the initialization function in GUI, do I need to include DEFINE_INNT in the C code? P.S If it's possible I would like to send you an e-mail with my C code. my e-mail is airsaint@hotmail.com

 May 17, 2002, 08:11 Re: UDF Hooks #4 Keil Guest   Posts: n/a Yes, it's O.K you can do it. The combination of DEFINE_PROFILE and DEFINE_INIT is good for your problem. You have to specify the initial value of K and E in DEFINE_INIT function and specify the time-dependent values in DEFINE_PROFILE function

 Thread Tools Display Modes Linear Mode

 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 OffTrackbacks are On Pingbacks are On Refbacks are On Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post Qureshi FLUENT 7 March 23, 2017 08:37 shankara.2 Fluent UDF and Scheme Programming 1 January 16, 2012 23:14 kim FLUENT 3 October 26, 2011 21:38 Luc SEMINEL FLUENT 0 November 25, 2002 05:03 Luc SEMINEL Main CFD Forum 0 November 25, 2002 05:01

All times are GMT -4. The time now is 07:35.