CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Boundary conditions for methane leak into air simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 5, 2016, 15:28
Default Boundary conditions for methane leak into air simulation
  #1
New Member
 
Anon
Join Date: Mar 2016
Posts: 6
Rep Power: 10
RebelLion is on a distinguished road
I'm attempting to simulate methane leaks into air and am struggling to finalize my choice of boundary conditions. I keep having issues with methane being partially trapped by the intended atmospheric/open boundary.

I'm currently using the transient incompressible two fluid solver, twoLiquidMixingFoam. I'd like to have a floor at the bottom, the sides and top open to atmosphere and a pipe sticking into the domain on one side.

What BCs would you recommend for p_rgh, U, and alpha at the pipe walls, inlet patch, floor, and atmosphere patches?

Thanks in advance for your help
RebelLion is offline   Reply With Quote

Old   April 5, 2016, 21:40
Default
  #2
Member
 
Yan Wang
Join Date: May 2015
Location: Beijing
Posts: 41
Rep Power: 10
wayne14 is on a distinguished road
Quote:
Originally Posted by RebelLion View Post
I'm attempting to simulate methane leaks into air and am struggling to finalize my choice of boundary conditions. I keep having issues with methane being partially trapped by the intended atmospheric/open boundary.

I'm currently using the transient incompressible two fluid solver, twoLiquidMixingFoam. I'd like to have a floor at the bottom, the sides and top open to atmosphere and a pipe sticking into the domain on one side.

What BCs would you recommend for p_rgh, U, and alpha at the pipe walls, inlet patch, floor, and atmosphere patches?

Thanks in advance for your help
Hi, twoLiquidMixingFoam is for multiphase flow: 'Solver for mixing 2 incompressible fluids.' Are you sure it is suitable for simulating methane leaks into air?

Regards,
Yan
wayne14 is offline   Reply With Quote

Old   April 6, 2016, 11:58
Default
  #3
New Member
 
Anon
Join Date: Mar 2016
Posts: 6
Rep Power: 10
RebelLion is on a distinguished road
Hi Yan,

Thanks for your post.

You are right that twoLiquidMixingFoam is not ideal. I think it should be a fair approximation, ignoring any effects due to compressibility and should serve our purpose. From what I understand, if I want a compressible solver I should go to reactingFoam and turn off the chemistry. For now I'm using methane/air values for viscosity and diffusion coeffs and it's giving reasonable results, until my methane plume hits the boundary.

My problem is that any backflows are not allowed to exit the domain, they instead only appear to loose the normal component of their momentum and then continue via their tangential component, trapped within the boundaries.

Any other thoughts on this one?

Thanks!

Last edited by RebelLion; April 6, 2016 at 13:21.
RebelLion 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
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Domain Imbalance HMR CFX 5 October 10, 2016 05:57
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 17:30
Radiation interface hinca CFX 15 January 26, 2014 17:11
Boundary conditions for 2D Navie-Stockes simulation L1011 OpenFOAM 5 December 13, 2012 08:17


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