|
[Sponsors] |
June 9, 2006, 08:58 |
Help -----------udf
|
#1 |
Guest
Posts: n/a
|
Hi Is it possible to use two UDFs consecutively in the same simulation? If possible, how? Thanks Mech
|
|
June 9, 2006, 10:25 |
Re: Help -----------udf
|
#2 |
Guest
Posts: n/a
|
As long as the UDFs are affecting different things, like a DEFINE_PROFILE and a DEFINE_SOURCE, or defining different sources, like an x-moment source or y-moment source, they can be used simultaneously.
If you want to have two things affecting, say, x-momementum at the same time, your best bet is to merge the UDFs together. Hope this helps, Tom |
|
June 10, 2006, 00:39 |
Re: Help -----------udf
|
#3 |
Guest
Posts: n/a
|
Tom Thank you for you response. I am working with microflow. First I simulate flow with noslip condition. After converging I impose slip boundary condition on it. Now I want to use uniform flow condition(not parabolic i.e. u(y)=constant)at inlet condtion for no slip boundary condition where I have to use define pofile. Then I have to impose slip condition using define profile. So I need two UDFs. In the same UDF it is not possible. If you have more idea about it please help me. Also For single devivative like du/dx I can use C_DUDX(c,t) but for higher derivative like momentum source term d2u/dy2,d2u/dxdy or d2v/dy2 which macro are to be used or how to write these terms in UDF. Have a nice time. Bye Mech
|
|
June 10, 2006, 06:49 |
Re: Help -----------udf
|
#4 |
Guest
Posts: n/a
|
Hi, maybe the best way to do is use a switch law macro, U can find that in UDF Manual. For d2u/dy2 I think u must implemente a simple incremental ratio such as (delta(du/dx))/dx in your UDF. I hope it's helpfull
Regard Adriano |
|
June 15, 2006, 08:59 |
Re: Help -----------udf
|
#5 |
Guest
Posts: n/a
|
Hi Adriano Where is switch law macro? Will you mention the section number of the manual? Also I tried for 2nd order derivative but it is unmanagable. If you know I request you to clarify. Thanks Mech
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh UDF | Qureshi | FLUENT | 7 | March 23, 2017 07:37 |
UDF parallel error: chip-exec: function not found????? | shankara.2 | Fluent UDF and Scheme Programming | 1 | January 16, 2012 22:14 |
How to add a UDF to a compiled UDF library | kim | FLUENT | 3 | October 26, 2011 21:38 |
UDF...UDF...UDF...UDF | Luc SEMINEL | FLUENT | 0 | November 25, 2002 04:03 |
UDF, UDF, UDF, UDF | Luc SEMINEL | Main CFD Forum | 0 | November 25, 2002 04:01 |