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

InterFoam and boundary conditions

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 5, 2011, 16:07
Default InterFoam and boundary conditions
  #1
New Member
 
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 25
Rep Power: 14
matejmuller is on a distinguished road
Hello!

I'm new in CFD so please excuse my ignorance. I want to simulate a 3D flow in a channel with free surface and an inflow and outflow boundary. I'm using interFoam to do this, but i can't get the boundary conditions right. I have tried on the inlet boundary to use a fixed value for U, zerogradient for p and fixed value for alpha, but i don't know what to prescribe on the outlet boundary (inletOutlet for U and totalPressure for p?). Please help me on this, Thanks, Matej
matejmuller is offline   Reply With Quote

Old   October 6, 2011, 13:58
Default InterFoam and boundary conditions
  #2
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17
ata is on a distinguished road
Hi
You can use totalPressure for p_rgh and pressureInletOutletVelocity for U and zeroGradient for alpha1
Good luck
ata is offline   Reply With Quote

Old   October 7, 2011, 08:46
Default
  #3
New Member
 
Matej Muller
Join Date: Oct 2011
Location: Slovenia
Posts: 25
Rep Power: 14
matejmuller is on a distinguished road
Thank you for your answer...I don't know if i understand this totalPressure boundary, does this mean than you prescribe a constant total energy and the water surface then adjusts itself according to the calculated velocity? Is the pressureInletOutletVelocity boundary for U as a zerogradient for the outflow? thanks
matejmuller is offline   Reply With Quote

Old   October 7, 2011, 12:28
Default
  #4
ata
Senior Member
 
ata's Avatar
 
ata kamyabi
Join Date: Aug 2009
Location: Kerman
Posts: 323
Rep Power: 17
ata is on a distinguished road
Hi
Not exactly. You can see the source code for details.
Good luck
Ata
ata 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
Outlet boundary condition for wave flume with interFoam solver Arnoldinho OpenFOAM 9 July 10, 2018 05:15
Different boundary conditions between OF-1.6 and OF-1.7.1 for interFoam aha OpenFOAM 16 August 6, 2012 06:39
Boundary Conditions for internal faces in 3D interFoam unikrsn OpenFOAM 9 September 27, 2011 12:09
Boundary conditions when simulating injection molding skovhus OpenFOAM 2 April 6, 2010 08:22
Creating new boundary conditions from existing ones rassilon OpenFOAM Running, Solving & CFD 0 February 12, 2010 02:43


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