michael 2007-9-4 10:52
fluid flow boundary conditions
[size=2]I want to model a velocity distribution in a 2D model (for testing, later on I want to implement the same in a 3D model). The model is designed like the example fex291 in the Backstrom book 'Fluid Dynamics'. But in my model the velocity inlet is very small compared to the whole model, and the velocity distribution is radial from this inlet. I want the left, upper and right boundary of the model to be treated as non-existent, meaning the radial velocity distribution should continue through these boundaries as if they weren't there. How do I have to change the boundary conditions of the left, upper and right side of my model to accomplish this? I've tried getting there with the NORMAL(v) operator and the GRAD(vx) operator, but I'm not convinced that I'm on the right track with this... How is it done correctly?
p3X$@wDqH/G
Z,p!LA`Z
What I've achieved so far is attached to this post.
rQK
W4@
Q
3`"Bv;aY%q:Y~*F ]
I've got another question:
a%z8tz1\)f
In the simplified PDE, the pressure is being calculated by -c*div(v). How do I know if I've chosen the constant c correctly? Can I somehow link it to the compressibility of water? [/size]5O$yR2mWr6WeB
.@9r5|%XA#^Jmyu
ZQ&p-nx+Hl3[
TITLE 'Flow velocity in cylinder steady-state with uniform Velocity of Injection'p#D'BV;aU DW$N
SELECT errlim = 1e-5 ngrid = 4 spectral_colors*g4o/k W4w9M
COORDINATES cartesian2f"F?O3a `9v$s9B7N5hU
]7Q@0{7} O @2j
VARIABLES vx(threshold=1e-4) vy(threshold=1e-4)|5G{.Sn3[E
DEFINITIONS
GOOADi"|K6N
Lx = 3.0 Ly = 2 Lz = 1.0 r0 = 1.0ZA7T-K&DB)Q4Y
visc = 1e-3%[O3pW"K
vy0 = 0.00638
d1iuHW*z
dens = 1e3"y l7j W`'Y*t
Re = (dens*globalmax(vy)*2*(1e-5))/visc
Z%|rb9]VV
v = vector(vx,vy)Kg]Uo)Qu
vm = magnitude(v)
0e:\Kzm.EQP,Jp