CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Inlet velocity UDF for air water confined channel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2019, 11:29
Default Inlet velocity UDF for air water confined channel
  #1
New Member
 
hella
Join Date: Dec 2019
Location: Tunisia
Posts: 10
Rep Power: 6
hellaadouni is on a distinguished road
Hello everyone,

Im working on an horizontal air water confind flow and i need to introduce the air velocity as a parabolic form. Can anyone help me please.
channel length = 3m
Height = 0.15 m
the interface between air water = 0.056m
Since the air is in the upper part of the channel, i didnt know how to right the UDF
hellaadouni is offline   Reply With Quote

Old   December 17, 2019, 18:50
Default
  #2
Senior Member
 
Svetlana Tkachenko
Join Date: Oct 2013
Location: Australia, Sydney
Posts: 415
Rep Power: 15
Svetlana is on a distinguished road
There is an example at https://www.afs.enea.it/project/nept...df/node243.htm

You may want to follow these steps:

1. Copy formula from the example above, make sure it is along the correct axis and compile, run it and see how it works (the scale and numbers would be wrong but you would see the shape of the velocity profile corresponds to the example)
2. Write maths formula for your desired profile in plain text. If you need help with this then I need a drawing of the geometry with origin location indicated.
3. Write UDF for the desired profile and ensure it works correctly.

Please ask if you have any questions about this.

Last edited by Svetlana; December 17, 2019 at 22:09. Reason: word choice
Svetlana is offline   Reply With Quote

Old   January 27, 2020, 09:36
Default
  #3
New Member
 
hella
Join Date: Dec 2019
Location: Tunisia
Posts: 10
Rep Power: 6
hellaadouni is on a distinguished road
Quote:
Originally Posted by Светлана View Post
There is an example at https://www.afs.enea.it/project/nept...df/node243.htm

You may want to follow these steps:

1. Copy formula from the example above, make sure it is along the correct axis and compile, run it and see how it works (the scale and numbers would be wrong but you would see the shape of the velocity profile corresponds to the example)
2. Write maths formula for your desired profile in plain text. If you need help with this then I need a drawing of the geometry with origin location indicated.
3. Write UDF for the desired profile and ensure it works correctly.

Please ask if you have any questions about this.
Hello
I want to thank you for you answer <3
I have another question. Can you please help me?


I'm working on a horizontal air-water confined flow, and I got the slug flow. The problem is when the slug hits the upper part of the channel and blocks the air, this air must return as I think. But it doesn't. Do you have an explanation for this?
I'm sure that the air doesn't return because the air BC is velocity inlet, but I really want to understand where did the air goes once a slug blocks its passage to the outlet?

I'll be grateful if you help me.

Thanks
hellaadouni 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
UDF for inlet velocity alongwith UDF for properties akshayy224 FLUENT 0 February 1, 2018 10:17
how to put udf inlet velocity and udf outlet pressure in fluent raminostadi Fluent UDF and Scheme Programming 4 July 3, 2017 07:43
UDF inlet velocity by UDF not the same as via GUI? h0rst Fluent UDF and Scheme Programming 0 April 24, 2017 02:45
Multiphase flow - incorrect velocity on inlet Mike_Tom CFX 6 September 29, 2016 02:27
UDF parbolic inlet velocity profile for 3D Ractangular channel flow. srv537 Fluent UDF and Scheme Programming 4 August 10, 2016 10:25


All times are GMT -4. The time now is 12:24.