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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 8, 2013, 01: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: 14
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, 10:28
Default
  #2
Senior Member
 
Fabian Roesler
Join Date: Mar 2009
Location: Germany
Posts: 213
Rep Power: 18
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, 11:04
Default
  #3
Senior Member
 
Andrea
Join Date: Feb 2012
Location: Leeds, UK
Posts: 179
Rep Power: 16
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, 09:30
Default
  #4
Member
 
Jianye Xia
Join Date: Mar 2009
Posts: 32
Rep Power: 18
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


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
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 19:23
what the result is negatif pressure at inlet chong chee nan FLUENT 0 December 29, 2001 05:13


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