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

Acceptable residuals of continuity in open channel flow?

Register Blogs Community New Posts Updated Threads Search

Like Tree3Likes
  • 1 Post By l.whelan11
  • 2 Post By l.whelan11

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 14, 2017, 16:19
Default Acceptable residuals of continuity in open channel flow?
  #1
New Member
 
Luke Whelan
Join Date: Jan 2017
Posts: 9
Rep Power: 9
l.whelan11 is on a distinguished road
Hi all,

I'm currently trying to model what is essentially a broad crested weir. I feel that the resulting phase plot looks realistic (I am trying to study the waves/undulations that form after the obstruction), but due to the relatively high residuals in continuity I'm not so sure. So I'm wondering if this solution is reliable, and if not, what steps could I take to improve it? Any help appreciated! Also if this is the wrong place for this post please let me know.

Residuals and phase plots attached.

My settings are:
- models tab: multiphase VOF, 2 phases, implicit, open channel flow
- materials tab: water (primary) and air (secondary), surface tension enabled
- cell zone conditions: gravity enabled, specified operating density enabled
- BCs: velocity inlet, pressure outlet with free surface level specified
Attached Images
File Type: png Phases.PNG (17.7 KB, 89 views)
File Type: png Residuals.PNG (26.7 KB, 80 views)
l.whelan11 is offline   Reply With Quote

Old   February 14, 2017, 17:04
Default
  #2
Member
 
Ahmed Alkaisi's Avatar
 
Ahmed Alkaisi
Join Date: Aug 2015
Location: Australia
Posts: 80
Rep Power: 11
Ahmed Alkaisi is on a distinguished road
Send a message via Skype™ to Ahmed Alkaisi
Air primary and water secondary

Sent from my SM-G900I using CFD Online Forum mobile app
Ahmed Alkaisi is offline   Reply With Quote

Old   February 15, 2017, 05:02
Default
  #3
New Member
 
Luke Whelan
Join Date: Jan 2017
Posts: 9
Rep Power: 9
l.whelan11 is on a distinguished road
Hi Ahmed,

Thanks for your reply. I was wondering about this too, in the manual it does say to use the heavier fluid as your second one (as you suggested). However, I have also got a pressure outlet for the top surface, with air backflow volume set to 1. I think this allows the model to work as a canal type flow, otherwise it just looks like a pipe full of water, with no air on top.

I have been following this tutorial as a guide:

https://youtu.be/WXgYASXefOk
Ahmed Alkaisi likes this.
l.whelan11 is offline   Reply With Quote

Old   March 5, 2017, 14:08
Default
  #4
New Member
 
Luke Whelan
Join Date: Jan 2017
Posts: 9
Rep Power: 9
l.whelan11 is on a distinguished road
Good news! Think I have figured out the problem. The trick is to use two sets of boundary conditions, in the same model (you change them halfway through).

So first of all, set up the model as follows:
  • ensure that in models > multiphase model > "Open channel flow" is on
  • velocity inlet for the left wall
  • pressure outlet for the right wall with either air set to 0 or water set to 1 (only one of these will be available, depending on whether water or air is set as your primary phase)
  • pressure outlet for the top wall, with either air set to 1 or water set to 0
  • allow this to run until it appears to flat line, this happened at around 400 iterations for me

Stop the calculation. Now do the following:
  • change the right wall to a pressure outlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (1.85 metres for me).
  • change the left wall to a pressure inlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (2 metres for me).
  • change the top surface to a wall
  • right click on "calculate", and select "calculate" (NOT "Initialise and calculate"). This ensures that the new settings are applied to the existing model. After an additional 2000 or so iterations, it should show good convergence.

In the attached residual image, you can see where the change of BCs occurs due to the spike in the graph. Also attached: phase contours and geometry (with dimensions).

Hope this is of some use to others.
Attached Images
File Type: png Residuals.PNG (16.1 KB, 93 views)
File Type: png Phases.PNG (10.6 KB, 91 views)
File Type: png Geometry.PNG (25.8 KB, 73 views)
golriz and Ahmed Alkaisi like this.

Last edited by l.whelan11; March 5, 2017 at 19:06.
l.whelan11 is offline   Reply With Quote

Old   March 20, 2017, 11:37
Default Reason to set two BCs?
  #5
New Member
 
kemin ali
Join Date: Mar 2015
Location: london
Posts: 13
Rep Power: 11
kemin is on a distinguished road
Dear I.whelan 11

Do you know the reason to set different BCs?

I did a steady open channel flow case.

Inlet is divided into two face zones, namely water inlet and air inlet.
pressure inlet is set for air inlet, while mass flow is set for water inlet.

Residual decreased until 500 iteration, then it rose sharplyhttps://drive.google.com/open?id=0B8...F9ad29xVmpLR00.
the console show information as follows:

1)turbulent viscosity ratio is limited to 1e6 in *** cells.
2)reverse flow in *** cells.


Quote:
Originally Posted by l.whelan11 View Post
Good news! Think I have figured out the problem. The trick is to use two sets of boundary conditions, in the same model (you change them halfway through).

So first of all, set up the model as follows:
  • ensure that in models > multiphase model > "Open channel flow" is on
  • velocity inlet for the left wall
  • pressure outlet for the right wall with either air set to 0 or water set to 1 (only one of these will be available, depending on whether water or air is set as your primary phase)
  • pressure outlet for the top wall, with either air set to 1 or water set to 0
  • allow this to run until it appears to flat line, this happened at around 400 iterations for me
Stop the calculation. Now do the following:
  • change the right wall to a pressure outlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (1.85 metres for me).
  • change the left wall to a pressure inlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (2 metres for me).
  • change the top surface to a wall
  • right click on "calculate", and select "calculate" (NOT "Initialise and calculate"). This ensures that the new settings are applied to the existing model. After an additional 2000 or so iterations, it should show good convergence.
In the attached residual image, you can see where the change of BCs occurs due to the spike in the graph. Also attached: phase contours and geometry (with dimensions).

Hope this is of some use to others.
kemin is offline   Reply With Quote

Old   March 20, 2017, 12:23
Default
  #6
New Member
 
Luke Whelan
Join Date: Jan 2017
Posts: 9
Rep Power: 9
l.whelan11 is on a distinguished road
Hi Kemin,

I don't know for sure why the use of two sets of BCs works. I feel though, that it helps to initialise the problem. The first set of BCs results in a high water level in the domain. Then, when the second BCs are applied, the water level drops off and the solution converges. See attached image for phase contour plot after first BCs.

I'm not sure I fully understand your setup - what is the BC at your outlet? Also what is the geometry like? I also tried a split inlet of air and water for a while but could never get that working. I would suggest looking at the phase plot before and after 500 iterations, to see what is going on. I found this lab demonstration of a weir helpful in understanding the physical meaning behind the solution at various stages:

https://youtu.be/VDkoWcD5RYM

Notice how long it takes for it to reach the steady solution, and all of the transient behaviour that occurs in between.
Attached Images
File Type: png PhasesAfterFirstBCs.PNG (11.7 KB, 36 views)
l.whelan11 is offline   Reply With Quote

Old   September 10, 2019, 01:09
Default
  #7
New Member
 
Rajib Uddin
Join Date: Sep 2019
Posts: 3
Rep Power: 7
Rajib053 is on a distinguished road
Quote:
Originally Posted by kemin View Post
Dear I.whelan 11

Do you know the reason to set different BCs?

I did a steady open channel flow case.

Inlet is divided into two face zones, namely water inlet and air inlet.
pressure inlet is set for air inlet, while mass flow is set for water inlet.

Residual decreased until 500 iteration, then it rose sharplyhttps://drive.google.com/open?id=0B8...F9ad29xVmpLR00.
the console show information as follows:

1)turbulent viscosity ratio is limited to 1e6 in *** cells.
2)reverse flow in *** cells.
This process is not working in Fluent 18.2. Is there any other way?
Rajib053 is offline   Reply With Quote

Old   September 10, 2019, 01:10
Default
  #8
New Member
 
Rajib Uddin
Join Date: Sep 2019
Posts: 3
Rep Power: 7
Rajib053 is on a distinguished road
Quote:
Originally Posted by l.whelan11 View Post
Good news! Think I have figured out the problem. The trick is to use two sets of boundary conditions, in the same model (you change them halfway through).

So first of all, set up the model as follows:
  • ensure that in models > multiphase model > "Open channel flow" is on
  • velocity inlet for the left wall
  • pressure outlet for the right wall with either air set to 0 or water set to 1 (only one of these will be available, depending on whether water or air is set as your primary phase)
  • pressure outlet for the top wall, with either air set to 1 or water set to 0
  • allow this to run until it appears to flat line, this happened at around 400 iterations for me

Stop the calculation. Now do the following:
  • change the right wall to a pressure outlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (1.85 metres for me).
  • change the left wall to a pressure inlet. With the phase set to mixture, edit this outlet BC. In the multiphase tab, turn on "Open Channel" and set a suitable free surface height (2 metres for me).
  • change the top surface to a wall
  • right click on "calculate", and select "calculate" (NOT "Initialise and calculate"). This ensures that the new settings are applied to the existing model. After an additional 2000 or so iterations, it should show good convergence.

In the attached residual image, you can see where the change of BCs occurs due to the spike in the graph. Also attached: phase contours and geometry (with dimensions).

Hope this is of some use to others.

This process is not working in Fluent 18.2. Is there any other way?
Rajib053 is offline   Reply With Quote

Reply

Tags
multiphase, open channel flow, residuals fluent


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
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
Boundary condition problem for open channel flow Andy CFX 9 June 11, 2016 08:20
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 10:17
Open channel flow motaba Main CFD Forum 4 March 26, 2011 04:22
Open Channel Flow forsumit FLUENT 0 October 1, 2009 03:01


All times are GMT -4. The time now is 14:51.