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

How to keep the water level constant at inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 13, 2013, 10:45
Default How to keep the water level constant at inlet
  #1
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Hello all,

For keeping the water height constant at inlet, which BC should I use when I don't know the mass flow rate ( for mass flow rate inlet) and velocity ( velocity inlet) ? I used pressure inlet, but from static pressure contour , I found negative pressure at inlet portion. I am using multiphase ( VOF) model .

It will be great help if anyone can suggest me anything. Thanks in advance.
Tanjina is offline   Reply With Quote

Old   August 14, 2013, 07:53
Default
  #2
Member
 
Stephan Langenberg
Join Date: Sep 2011
Location: Germany
Posts: 73
Rep Power: 14
Jim87 is on a distinguished road
You want to establish a constant water level? I think you have to possibilities (based on your model and settings).

The easy one is working with profiles for the inlet (non constant velocity and non constant mass inlet). -> If you can calculate your massflow.

The other way is using UDF for your inlet. You may set a pointer for (pressure, velocity, VolumeFraction) on a Cellzone or face and regulate your inlet velocity by it.

I imagine something like a sensor for the volume fraction. If the Volume fraction in one cell is higher than X (because of raising water level) the pointer activates a clipping function in the inlet and reduces or stopps the velocity inlet.

What I don't know without using the manual is how to point pressure or an other value in a seperate cellzone, but I've read it ones.
Jim87 is offline   Reply With Quote

Old   August 14, 2013, 11:15
Default
  #3
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Quote:
Originally Posted by Jim87 View Post
You want to establish a constant water level? I think you have to possibilities (based on your model and settings).

The easy one is working with profiles for the inlet (non constant velocity and non constant mass inlet). -> If you can calculate your massflow.

The other way is using UDF for your inlet. You may set a pointer for (pressure, velocity, VolumeFraction) on a Cellzone or face and regulate your inlet velocity by it.

I imagine something like a sensor for the volume fraction. If the Volume fraction in one cell is higher than X (because of raising water level) the pointer activates a clipping function in the inlet and reduces or stopps the velocity inlet.

What I don't know without using the manual is how to point pressure or an other value in a seperate cellzone, but I've read it ones.
Hi Jim,

Thank you very much for your reply. you know any way that I can calculate mass flow rate ? I am working with 2D and 3D both.

Unfortunately, I couldn't understand your UDF part. can you explain a little bit ?

Thanks in advance.
Tanjina is offline   Reply With Quote

Old   August 14, 2013, 11:52
Default
  #4
Member
 
Stephan Langenberg
Join Date: Sep 2011
Location: Germany
Posts: 73
Rep Power: 14
Jim87 is on a distinguished road
I don't know your model, so I can't say if you can calculate your needed mass flow inlet. If it is a easy model you can calculate with analytic and use fluid mechanics...

The UDF is a function written to adapt the flow inlet to a a criteria you choose.

In an experiment you could set an sensor in a position X, when the water level arrives the sensor he would give a signal and regulate the inlet.

An UDF has the possibility to do the same in your numeric system. The sensor could be a pointer and activate a function (maybe stop velocity inlet) if a physical value (temperatur, volume fraction etc.) reachs a special magnitude.

Hope my Position is clearer now.
Jim87 is offline   Reply With Quote

Old   August 14, 2013, 12:20
Default
  #5
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Quote:
Originally Posted by Jim87 View Post
I don't know your model, so I can't say if you can calculate your needed mass flow inlet. If it is a easy model you can calculate with analytic and use fluid mechanics...

The UDF is a function written to adapt the flow inlet to a a criteria you choose.

In an experiment you could set an sensor in a position X, when the water level arrives the sensor he would give a signal and regulate the inlet.

An UDF has the possibility to do the same in your numeric system. The sensor could be a pointer and activate a function (maybe stop velocity inlet) if a physical value (temperatur, volume fraction etc.) reachs a special magnitude.

Hope my Position is clearer now.
HI JIm,

Thank you very much . My model contains two part. One is filled with gravel and water will pass through this porous zone to a pipe. I want to keep water height constant at this porous region. I don't have any discharge or velocity data. So is it possible to calculate mass flow rate here?

And about UDF, now I am reading UDF manual fluent. Hopefully, after reading some example , I will be little bit familiar with it.


Thanks for your generous help.
Tanjina is offline   Reply With Quote

Old   August 14, 2013, 13:33
Default
  #6
Member
 
Join Date: Mar 2009
Posts: 49
Rep Power: 17
John is on a distinguished road
Quote:
Originally Posted by Tanjina View Post
Hello all,

For keeping the water height constant at inlet, which BC should I use when I don't know the mass flow rate ( for mass flow rate inlet) and velocity ( velocity inlet) ? I used pressure inlet, but from static pressure contour , I found negative pressure at inlet portion. I am using multiphase ( VOF) model .

It will be great help if anyone can suggest me anything. Thanks in advance.

To set a constant height at inlet area, you may try to split the domain to two. set the volume fraction of the sub-domain which includes inlet BC as fixed value (=1).

But first you have to make sure that such a setting is physically correct.
John is offline   Reply With Quote

Old   August 19, 2013, 22:12
Default
  #7
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Quote:
Originally Posted by John View Post
To set a constant height at inlet area, you may try to split the domain to two. set the volume fraction of the sub-domain which includes inlet BC as fixed value (=1).

But first you have to make sure that such a setting is physically correct.
Hi John, I am sorry that I just missed the notification that someone has answered my query. I am not sure how to split the domain to two, but as a normal VOF model, Inlet had three phase, one is water, one is air and third one is mixture. I allowed to water volume fraction =1. From the volume fraction of water contour shows that water level is constant, but from static pressure contour I found that there are negative pressure just below the inlet with a magnitude of -84 pascal. So I got worried. Do you have any idea about that ?
Tanjina is offline   Reply With Quote

Old   August 30, 2013, 07:41
Default
  #8
vig
New Member
 
anonymous
Join Date: Jan 2011
Posts: 23
Rep Power: 15
vig is on a distinguished road
Have you used specified operating density option with the density of lighter phase.
vig is offline   Reply With Quote

Old   August 30, 2013, 09:49
Default
  #9
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Quote:
Originally Posted by vig View Post
Have you used specified operating density option with the density of lighter phase.
Yup, I did.

My problem is somehow solved now..... what I did wrong there is I plotted the contour with static pressure. After plotting the total pressure, pressure is zero at inlet, which means that water level remains constant.
Tanjina is offline   Reply With Quote

Old   January 21, 2016, 10:18
Default
  #10
New Member
 
Alireza Bahmanpour
Join Date: Jul 2014
Posts: 12
Rep Power: 11
alirezab is on a distinguished road
Hi Tanjina,

Could you please clarify more how you solved your problem? I also need to set my inlet flow level to be constant.

Thanks,
Ali
alirezab is offline   Reply With Quote

Old   January 21, 2016, 10:29
Default
  #11
Senior Member
 
Tanjina Afrin
Join Date: May 2013
Location: South Carolina
Posts: 169
Rep Power: 12
Tanjina is on a distinguished road
Hello AliRezab,

I had two type of settings. For one case, I had side inlet (water entered into the domain from side) and I needed to top water level of the domain be constant. For that case, I used symmetry boundary condition, which means I forced the domain's water surface to be constant. And for another case, I had top inlet (water entered into the domain from top) and again I needed top water level be constant. That case, I used pressure inlet with zero pressure. Reference pressure was atmospheric pressure.

Hope it helps.

Regards,
Tanjina
Tanjina is offline   Reply With Quote

Reply

Tags
inlet bc, vof


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
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
How to estimate water level in two phases channel flow? apollo11ho CFX 2 July 18, 2012 09:34
[swak4Foam] Trouble setting groovyBC interFoam Inlet BC mgdenno OpenFOAM Community Contributions 4 July 1, 2012 08:16
Constant gauge pressure inlet yan FLUENT 1 June 3, 2005 12:13
Patching of a constant value at inlet Chimwemwe Banda FLUENT 1 January 5, 2005 01:44


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