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

Liquid phase accumulating on atmosphere boundary

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

Like Tree1Likes
  • 1 Post By mortezahdr

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 17, 2023, 09:01
Default Liquid phase accumulating on atmosphere boundary
  #1
Member
 
Morteza
Join Date: Jan 2018
Posts: 30
Rep Power: 8
mortezahdr is on a distinguished road
Hello,

I have a 3D domain initially filled with air. Based on the figure below, water is injected with a certain velocity from top left to the domain and moves through the domain. I am using interFoam. The figure shows iso-surface of alpha.water = 0.5. The boundary specified is atmosphere. The water is being accumulated after hitting that boundary.

My question is, what kind of boundary condition for p_rgh, U, and alpha.water should I use, so that the water leaves the domain instead of being accumulated after hitting the atmosphere boundary. Currently, these BCs are as follows:

U:
inlet
{
type flowRateInletVelocity;
volumetricFlowRate constant 7.22E-06;
}

atm
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
_______________________________________
p_rgh:

inlet
{
type fixedFluxPressure;
value uniform 0;
}

atm
{
type totalPressure;
p0 uniform 0;
}
_______________________________________
alpha.water:
inlet
{
type fixedValue;
value uniform 1;
}

atm
{
type inletOutlet;
inletValue uniform 0;
value uniform 0;
}
_______________________________________
Thank you.
Attached Images
File Type: jpg question.jpg (23.9 KB, 19 views)
mortezahdr is offline   Reply With Quote

Old   November 21, 2023, 13:05
Default
  #2
Member
 
Morteza
Join Date: Jan 2018
Posts: 30
Rep Power: 8
mortezahdr is on a distinguished road
Answer to my question: On the specified boundary,

U:
type inletOutlet;
inletValue $internalField;
value $internalField;

p:
type fixedFluxPressure;
value uniform 0;

alpha.water:
type zeroGradient;

I would like to thank you all for sharing your thoughts on this!!
Attached Images
File Type: png 4.png (161.9 KB, 5 views)
saidc. likes this.
mortezahdr is offline   Reply With Quote

Reply

Tags
atmosphere, boundary conditions, interfoam, openfoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
UDF for Automatic Solution Initialization for previous case data file gartz89 Fluent UDF and Scheme Programming 6 March 30, 2020 07:38
Centrifugal fan j0hnny CFX 13 October 1, 2019 13:55
Can I achieve better convergence? sheaker CFX 12 September 19, 2019 15:36
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
domain imbalance for enrgy equation happy CFX 14 September 6, 2012 01:54


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