[CIG-LONG] Gale Velocity Boundary Condition
Feng Lin
rimbong at gmail.com
Sat May 5 21:18:50 PDT 2012
Hey everyone,
I get a problem about the Velocity Boundary condition when I setup my model.
The model is a 2D box x=2 y=0.5
and make both the left and right side static
"staticLeft": "true",
"staticRight": "true"
I need this kind of velocity B.C.:
for the right side of box,
I want top 0.3 is set as vx=1
but don't fix the bottom 0.2 in x direction so that they can flow out side from the left side.
If I set
"velocityBCs" :{
"type": "CompositeVC",
"vcList": [
{
"type": "WallVC",
"wall": "right",
"variables": [
{
"name": "vx",
"value": "step(y-0.2)*1"
}, ...
then the bottom 0.2 is set to vx=0 ( because of the step function)
can I set the top 0.3 of the right side vx=1, and set the bottom 0.2 of the right side free ( like doesn't set vx for boundary condition)?
Best Regards,
Feng Lin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: model_bc.png
Type: image/png
Size: 16355 bytes
Desc: not available
Url : http://geodynamics.org/pipermail/cig-long/attachments/20120505/398557ae/attachment.png
More information about the CIG-LONG
mailing list