|
[Sponsors] |
November 23, 2009, 12:39 |
Basic UDF for unsteady mass flow rate
|
#1 |
New Member
|
Hi All
Shown below is a UDF that I am using in order to turn on and off mass flow rate (to simulate inhalation). The UDF is interpreted by Ansys Fluent with no problems, but when i run the model, it is activating the flow after 1 second, but it is not switching it back off. Would anyone have any idea why this is? Any help is greatly appreciated #include "udf.h" DEFINE_PROFILE(unsteady_mass_flow_rate, thread, position) { face_t f; real t = CURRENT_TIME; begin_f_loop(f, thread) { if (CURRENT_TIME <= 1) F_PROFILE(f, thread, position) = 0; else if (1 < t <= 2) F_PROFILE(f, thread, position) = 0.00003; else F_PROFILE(f, thread, position) = 0; } end_f_loop(f, thread) } |
|
November 27, 2011, 12:10 |
udf
|
#2 |
New Member
arash
Join Date: Jun 2011
Posts: 7
Rep Power: 15 |
hi,
can i modelling asphaltene precipitation that exist in crude oil by uusing ceramic filter monolit by defult formolation in fluent? i want to modelling separation of asphaltene from crude oil by 19-channel ceramic filter,but i think it is not define in FLUENT that precipitate asphaltene on surface of ceramic channel base on diffrences between pore size. i must write UDF for this porpuse or not? most of oil flow must pass through the membrane wall and most of asphaltene must form a gel-layer and precipitation on inner surface od channel. please help me as soon as possible thank you so much |
|
September 9, 2013, 05:48 |
udf
|
#3 |
New Member
mohammad azizi
Join Date: Sep 2013
Location: Iran, Tehran, TMU
Posts: 2
Rep Power: 0 |
Hi all
I want to write a udf defining the value of the pressure in a pressure inlet boundary vs to value of mass flow rate passing that bouandary. can anyone help me or write this udf for me? thanks. M.Azizi |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
The reporting of mass flow rate | summer | FLUENT | 1 | July 12, 2007 10:35 |
mass flow rate entering and exiting a cell | samir bensaid | FLUENT | 0 | July 4, 2007 06:37 |
User defined function of mass flow rate | Eric | FLUENT | 1 | April 22, 2005 19:15 |
How to define mass flow rate using UDF? | SAMUEL | FLUENT | 3 | December 25, 2004 01:36 |
Mass flow rate | Siang | FLUENT | 1 | December 23, 2003 03:47 |