|
[Sponsors] |
Assigning different velocities to different phases at inlet |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 16, 2012, 10:40 |
Assigning different velocities to different phases at inlet
|
#1 |
Member
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 13 |
Hello everyone,
I am doing a multiphase simulation in which there are two fluids at the inlet. If I want to assign different velocities to the two at the inlet, what should I do? Should I initialize the velocity values at the inlet in the setFields file like this: defaultFieldValues ( volScalarFieldValue alpha1 0 volVectorFieldValue U (0 0 0) ); regions ( boxToCell { box (0 0 0) (20 0.1 1.5); fieldValues ( volScalarFieldValue alpha1 1 volVectorFieldValue U (1 0 0) ); } ); If yes, then what boundary condition should I specify at the inlet in the 0/U file? Thanks, Sagun |
|
October 16, 2012, 10:53 |
|
#2 |
Senior Member
Kevin Smith
Join Date: Mar 2009
Posts: 104
Rep Power: 17 |
If you are using a single patch for both phases, take a look at GroovyBC, or possibly the codeStreams functionality in OpenFOAM.
|
|
October 17, 2012, 07:59 |
|
#3 |
Member
Sagun Tripathi
Join Date: Aug 2012
Location: Amherst, USA
Posts: 78
Rep Power: 13 |
Thanks. Got it to work using funkySetFields.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Inlet Wall to Inlet Patch | kurne | OpenFOAM | 4 | January 23, 2013 06:23 |
Problems with Inlet species | San24 | Siemens | 1 | May 7, 2008 06:29 |
transitional inlet boundary condition | kamp | CFX | 1 | June 21, 2006 11:08 |
Diffusion component at inlet | Balaji | FLUENT | 2 | August 8, 2005 07:37 |
length scales at inlet for internal flows | Anne-Marie Giroux | Main CFD Forum | 3 | July 5, 1999 21:28 |