← Back to team overview

yade-users team mailing list archive

Re: [Question #632800]: Viscosity of water in FlowEngine

 

Question #632800 on Yade changed:
https://answers.launchpad.net/yade/+question/632800

    Status: Open => Answered

Chareyre proposed the following answer:
>ignoredBody(=-1)
>DEPRECATED, USE MASK - Id of a sphere to exclude from the triangulation.)

Excellent. I implemented the feature then I forgot.
So, there is this alternative to the blocking cell method: assign mask=1 to
flow engine, mask=1 to half of the particles on the good side, mask=2 for
the other half.
The fluid problem will simply not see the spheres which do not have the
right mask, as if they were not actually in the simulation. They are not
meshed, so there will be no cells to block.
Besides, the discussion becomes confusing...
Bruno

On 19 May 2017 at 02:03, liucheng83 <question632800@xxxxxxxxxxxxxxxxxxxxx>
wrote:

> Question #632800 on Yade changed:
> https://answers.launchpad.net/yade/+question/632800
>
>     Status: Answered => Open
>
> liucheng83 is still having a problem:
> Hello Robert and Bruno,
>
> Thanks for your reply.
> I will chose to use solver 3 and I will try to test the blocking cells.
>
> But before that, some results come out that I cannot understand,
>
> Q5:
> print flow.ignoredBody    ###it get -1 as the result
> How can I set a body to be ignoredBody, because it can be exclude from the
> triangulation from the documentation
> -------
> ignoredBody(=-1)
> DEPRECATED, USE MASK - Id of a sphere to exclude from the triangulation.)
> -------------
> Q6: I try to get information about flow cells just after "print the Qin"
> -------
> print "Qin=",Qin," Qout=",Qout," permeability=",permeability
>
> #print  information
> print "total num of nCells,flow.nCells()=", flow.nCells()
>  ### It get 0 as a result, why?
> print "total ids of bodies affected by this Engine,flow.ids=", flow.ids
>               ### It get [] as a result, why?
> print flow.ignoredBody  #get -1
> print flow.getVertices(0)
> ---------
>
> Q7: when I unload the top wall when FlowEngine is dead by using
> ----
> ##unload
> triax.goal2=0; O.run(2000,1)
> ---
> and after FlowEngine is activated, set
> --------
> flow.bndCondIsPressure=[0,0,1,1,0,0]
> flow.bndCondValue=[0,0,0,1,0,0]
> ----------
>
> I test the Qin and Qout, sometimes it comes out with a different value
> like, Qin=0 and Qout=-1.19524638635e-06
> Anything wrong with the input and output not equal?
>
> --
> You received this question notification because your team yade-users is
> an answer contact for Yade.
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-users
> Post to     : yade-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-users
> More help   : https://help.launchpad.net/ListHelp
>
>

-- 
You received this question notification because your team yade-users is
an answer contact for Yade.