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

InterFoam and boundary conditions

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

Reply
 
LinkBack Thread Tools Display Modes
Old   October 5, 2011, 16:07
Default InterFoam and boundary conditions
  #1
New Member
 
Matej Muller
Join Date: Oct 2011
Posts: 8
Rep Power: 4
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: 322
Rep Power: 8
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
Posts: 8
Rep Power: 4
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: 322
Rep Power: 8
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

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
Different boundary conditions between OF-1.6 and OF-1.7.1 for interFoam aha OpenFOAM 16 August 6, 2012 06:39
Outlet boundary condition for wave flume with interFoam solver Arnoldinho OpenFOAM 8 May 23, 2012 06:25
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 15:42.