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

Air entrainment at boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2018, 12:38
Default Air entrainment at boundary condition
  #1
Member
 
Akshay Patil
Join Date: Nov 2015
Location: Pune, India
Posts: 35
Rep Power: 10
Akshay_11235 is on a distinguished road
I am trying to model a wave over a sloping beach profile using OpenFOAM-v1806. When I use the stokesI model with rampTime ~ wave Period or 2*wavePeriod, I observe that air is drawn into the flow depth. This makes it difficult to compare the wave model with the experimental data. Is there something I am missing? I do not want the air to be entrained this way at the boundary condition.



I have tried to force water inflow using the following line of code in the 0/U boundary definition


inlet
{
type waveAlpha;
value uniform (0 0 0);
alpha alpha.water;
}


However, this does not work. Please have a look at the image I have included. I have also included the OpenFOAM files in the waveModel.zip attachment.

Any suggestions would be appreciated, thank you!
Attached Images
File Type: png waveBC.png (7.8 KB, 21 views)
Attached Files
File Type: zip waveModel.zip (11.0 KB, 0 views)
Akshay_11235 is offline   Reply With Quote

Old   November 28, 2018, 09:09
Default
  #2
Member
 
Akshay Patil
Join Date: Nov 2015
Location: Pune, India
Posts: 35
Rep Power: 10
Akshay_11235 is on a distinguished road
In case you are struglling with the same problem, there was an inconsistent boundary condition in alpha.water for inlet. It should not be zeroGradient but waveAlpha just like the velocity boundary condition.
Akshay_11235 is offline   Reply With Quote

Reply

Tags
air, interfoam, waves


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
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 18:44
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 05:05


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