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

How to set velocity-inlet as a boundary of a tank in interfoam?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 8, 2013, 02:57
Default How to set velocity-inlet as a boundary of a tank in interfoam?
  #1
New Member
 
Wayne
Join Date: Aug 2011
Location: China
Posts: 9
Rep Power: 5
waynezoon is on a distinguished road
Dear,
I am a new hand,How to set velocity-inlet as a boundary of a tank in interfoam? thank you!
waynezoon is offline   Reply With Quote

Old   January 8, 2013, 11:28
Default
  #2
Senior Member
 
fabian_roesler's Avatar
 
Fabian Roesler
Join Date: Mar 2009
Location: Bad Friedrichshall, Germany
Posts: 161
Rep Power: 8
fabian_roesler is on a distinguished road
Hi,

I would just fixedValue for velocity and alpha. So 0 if you want an gas inlet and 1 if you want liquid inlet.

boundary velocity
{
type fixedValue;
value uniform (X Y Z);
}

boundary alpha
{
type fixedValue;
value uniform 1;
}

Regards

Fabian
fabian_roesler is offline   Reply With Quote

Old   January 9, 2013, 12:04
Default
  #3
Member
 
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 79
Rep Power: 6
Andrea1984 is on a distinguished road
Hi,

In alternative you can specify the volumetric mass flow rate as

INLET
{
type flowRateInletVelocity;
flowRate constant xyz;
value uniform (0 0 0);
}

Andrea
Andrea1984 is offline   Reply With Quote

Old   January 11, 2013, 10:30
Default
  #4
Member
 
Jianye Xia
Join Date: Mar 2009
Posts: 32
Rep Power: 8
bioexplore is on a distinguished road
Quote:
Originally Posted by fabian_roesler View Post
Hi,

I would just fixedValue for velocity and alpha. So 0 if you want an gas inlet and 1 if you want liquid inlet.

boundary velocity
{
type fixedValue;
value uniform (X Y Z);
}

boundary alpha
{
type fixedValue;
value uniform 1;
}

Regards

Fabian
Then, how to set the pressure boundary?
bioexplore 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
Pressure boundary condition for unsteady velocity inlet DanM OpenFOAM Running, Solving & CFD 6 July 5, 2015 09:21
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
pressure with velocity inlet boundary conditions Ashraf Sharara FLUENT 1 August 21, 2008 07:29
Please help with flow around car modelling! Tudor Miron CFX 17 March 19, 2004 20:23
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 06:13


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