GenCase

edited September 2014 in Old versions
Hello,
How fill half-sphere with fluid?
inner-radius = 48
outer-radius = 50
Half-sphere discribe as vtf file

geometry>
definition dp="1">
pointmin x="-10" y="-10" z="-10" />
pointmax x="110" y="60" z="110" />
/definition>
commands>
mainlist>
setshapemode>real | bound | dp
setmkbound mk="0" />
drawfilevtk file="half-sphere.vtk" />
setmkfluid mk="1" />
fillbox x="48" y="48" z="48" mkbound="0">
modefill>void
point x="48" y="10" z="48" />
size x="50" y="50" z="50" />
/fillbox>
shapeout file="" />
/mainlist>
/commands>
/geometry>

I get only bound particles, and fluid number = 0

Comments

  • You have not done the information of the position of your half-sphere...

    You can use fillbox, just use as seed point an inner position in the half-sphere and as domain to be filled a box that contains the half-sphere.

    Regards
  • Thank you

    correct solution for shell withot thickness is:

    mainlist>
    setshapemode>real | bound | dp
    setmkbound mk="0" />
    drawfilevtk file="shell.vtk" />
    setmkfluid mk="1" />
    fillbox x="50" y="20" z="50" mkbound="0">
    modefill>void
    point x="0" y="0" z="0" />
    size x="100" y="30" z="100" />
    /fillbox>
    shapeout file="" />
    /mainlist>

    and for half-sphere with nner-radius = 48
    outer-radius = 50

    geometry>
    definition dp="1">
    pointmin x="-10" y="-10" z="-10" />
    pointmax x="110" y="60" z="110" />
    /definition>
    commands>
    mainlist>
    setshapemode>real | bound | dp
    setmkbound mk="0" />
    drawfilevtk file="half-sphere.vtk" />
    setmkfluid mk="1" />
    fillbox x="50" y="20" z="50" mkbound="0">
    modefill>void
    point x="0" y="0" z="0" />
    size x="98" y="30" z="98" />
    /fillbox>
    shapeout file="" />
    /mainlist>
    /commands>
    /geometry>
  • Greetings
    Tank under pitch motion
    Angular displacement of tank is

    AngularT_Y = Angular0 sin( Omega*T )

    Angular0 - is in degree

    How I must define:
    AngularAccX,AngularAccY,AngularAccZ

    In what unit? degree or radian
  • Omega unit is rad/s
  • Interesting, we will check it
    Thanks

    Alex
  • Thanks for answer
    I can send data for test if it's need

    Tank height H = 0.62 m
    Length L = 0.92 m
    h = 0.75*H - water depth
    The model rotates around the tank center
    Ay = Ay0 * cos (omega*t + p)
    Ay0 = 4 degree or * degree
    omega = 2 rad/s
    p = PI/2
    Tend = 10 sec
Sign In or Register to comment.