|
[Sponsors] |
[swak4Foam] using groovy boundry condition in multiphase problom |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 30, 2011, 17:12 |
using groovy boundry condition in multiphase problom
|
#1 |
New Member
javad
Join Date: Aug 2010
Posts: 22
Rep Power: 16 |
Hi every body
I have 2D open channel and want to defined a groovy condition in inlet and just for water (when alpha=1) this is my velocity profile [ type groovyBC; value uniform (0 0 0); valueExpression "((pos().y-y0)<=(A*cos(-w*time()+pi/2.0)+0.5*k*A*A*cos(2*(-w*time())+pi))) ? 1*A*w*pos().y/y0*vector( cos(-w*time()+pi/2), sin(-w*time()+pi/2), 0) : vector(0,0,0)";] with this profile the effect of an air is above the water is similar a wind that i dont want it is it possible to change velocity profile or other things to defined the velocity profile just for alpha=1? |
|
November 30, 2011, 17:29 |
|
#2 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
fractionExpression "alpha1>0.5"; or something similar should do the trick |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
an udf for boundry condition of reciprocating flow | mohamad-p | Fluent UDF and Scheme Programming | 0 | November 27, 2017 06:59 |
rotating wall boundary condition in multiphase | sdp | FLUENT | 0 | February 16, 2009 22:12 |
outflow boundary condition for multiphase flow | deepak | FLUENT | 1 | June 21, 2007 09:23 |
wall boundry condition | fred | FLUENT | 0 | August 19, 2004 13:10 |
Temperature rise at a boundry condition | Rodrigo | FLUENT | 5 | August 3, 2001 11:04 |