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

orifice type boundary condition

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   April 2, 2012, 07:01
Default orifice type boundary condition
  #1
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
Dear all,
I am trying to simulate a rectangular channel with clean water and constant height at time t=0s in which is injected a mixture of water and sediments. I want to preserve a constant water height during the entire simulation, thereby by mass conservation law the flow rate that is injected must be equal to a flow rate that leaves the domain. I am thinking of doing this by inserting a hollow in my outlet boundary (that is in most of its extension a simple wall) and to prescribe there a flow rate equal to the inlet flow rate. Does anyone have tried a similar approach?Do you think that this can be done as I have described it?
Best regards
antonio is offline   Reply With Quote

Old   April 4, 2012, 08:29
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,764
Rep Power: 77
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You cannot define a flow with a flow rate in and out, it is not well posed. You need to prescribe pressure somewhere.

Have you considered doing a single phase simulation with the free surface replaced with a pressure boundary?
ghorrocks is offline   Reply With Quote

Old   April 6, 2012, 08:22
Default
  #3
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
Dear Glenn/All
at the present moment I am trying, following your recommendation, the option of replacing the free surface by a pressure boundary. I am using an opening boundary condition (entrainment option) with relative pressure = 0. In my specific case, I do not have turbulence at this specific boundary. Which way in cfx do you consider the best to specify zero level of turbulence ?I think zero gradient could be an option...Any opinions?Many thanks
antonio is offline   Reply With Quote

Old   April 15, 2012, 19:03
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,764
Rep Power: 77
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
The turbulence BC is probably not very important. You should do a sensitivity analysis to check but you will probably find it does not matter.
ghorrocks is offline   Reply With Quote

Old   April 20, 2012, 05:45
Default
  #5
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
Dear Glenn, I am having some problems in my simulation. At the end of 8 seconds of simulation walls are erected at an "outlet" (in the totality of the corresponding area). Basically I am using the following boundary conditions:
inlet-> velocity
top of domain-> i am replacing my free surface with an opening boundary with the option entrainment (with the opening pressure option selected). I am prescribing a relative pressure =0
lateral walls and bottom->no slip smooth wall
downstream section --> the vast majority of this section is a a no-slip smooth wall however in order to mantain the initial water level constant i have incribed in this section an "orifice" at atmospheric pressure (i have tried the option static pressure and average static pressure=0) .
Do you have any ideia why walls are being erected?
Regards.
antonio is offline   Reply With Quote

Old   April 20, 2012, 06:55
Default
  #6
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
Could this be due to the fact that in my downstream section I have an outlet in which the flow will be tangent to it (please see attached by outlet boundary) ? I read something about this here:
Buoyant flow

antonio is offline   Reply With Quote

Old   April 20, 2012, 06:57
Default
  #7
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
antonio is offline   Reply With Quote

Old   April 20, 2012, 08:47
Default
  #8
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,764
Rep Power: 77
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I do not understand your question.

But the walls at the outlet are generated to stop back flow. So something is generating the backflow. It could be a convergence problem, or it could be real.
ghorrocks is offline   Reply With Quote

Old   April 20, 2012, 09:35
Default
  #9
Senior Member
 
Join Date: Jan 2010
Posts: 110
Rep Power: 6
antonio is on a distinguished road
Thanks Glenn.
Sorry, I will try to be more specific. The draw that you see above is my downstream section. The vast majority of this section it is in fact a wall, however the orificio section it is in contact with atmosphere (imagine that you have a wall with an oriffice). Hence I have specified the region "orificio" as an outlet with pressure=0. At the moment I am receiving a message saying something like "A wall has been placed in portion(s) of an OUTLET". I do not see any reason for this...the flow in the "orificio" region should "point" out of the domain...I do not think itīs pysical this "feedback effect" at "orificio". This articial wall is affecting the global quality of my results...Any suggestion/idea?
antonio is offline   Reply With Quote

Old   April 21, 2012, 08:29
Default
  #10
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 9,764
Rep Power: 77
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Use the post processor to find what the flow is doing. Zoom into the boundary to see the back flow which has been stopped. That should give hints as to what the problem is.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
second order schemes marine OpenFOAM 66 October 26, 2014 13:10
Need help with boundary conditions: open to atmosphere Wolle OpenFOAM 2 April 11, 2011 08:32
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 18:08
Boundary condition setting for non-premixed combustion using reactingFoam skyopener OpenFOAM 0 May 23, 2010 23:55
pipe flow with heat transfer Fabian OpenFOAM 2 December 12, 2009 05:53


All times are GMT -4. The time now is 07:41.