Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-19 Thread Bruno Chareyre
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Bruno Chareyre posted a new comment:
Hi, complimentary answer (for the record)

>So you could conceivably define dynamic boundary conditions by deleting
the old walls, creating new walls, and reassigning the FlowEngine
wallIds.

It would still not enable arbitrary number of walls with arbitrary orientations 
("complex" box).
There are 6 walls max in the current implementation and and they have to be 
xyz-aligned.
Bruno

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-19 Thread Nicolas Godet
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Status: Answered => Solved

Nicolas Godet confirmed that the question is solved:
Hello,

Thank you for your answer. It is very helpful.
I will now consider all the options available.

Regards,
Nicolas

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-16 Thread Robert Caulk
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Status: Open => Answered

Robert Caulk proposed the following answer:
>>
We could define each X iterations an 3D volume/box based on the shape of the 
flowing material and set the boundary conditions. The main question is: Does 
FlowEngine accept complex boxes ?
Also, I think it is very very expensive in term of CPU computation...
>>

What do you mean by "complex"? You can redefine the walls used for
FlowEngine using wallIds [1]. So you could conceivably define dynamic
boundary conditions by deleting the old walls, creating new walls, and
reassigning the FlowEngine wallIds. You should be able to accomplish
that with a function in your python script. However, I would expect a
scheme like that to be very finnicky - you will need to take very small
steps to carefully consider stability.

[1]https://yade-
dem.org/doc/yade.wrapper.html#yade.wrapper.FlowEngine.wallIds

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-13 Thread Nicolas Godet
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Status: Answered => Open

Nicolas Godet is still having a problem:
Hello,

About PFV, I thought about two ideas:
1) We could define each X iterations an 3D volume/box based on the shape of the 
flowing material and set the boundary conditions.  The main question is: Does 
FlowEngine accept complex boxes ?
Also, I think it is very very expensive in term of CPU computation...
2) The other idea is to define an indicator (0 or 1) based on the volume of the 
interstitial pore. With this indicator, I could define the air phase  and the 
fluid phase. The problem may be the discontinuity at the interface.

Concerning the periodic box, I am not sure if I can use that. Indeed,  how can 
I compute the front of the flowing material ?
The idea is also to study the impact on an obstacle.

HydroForceEngine also uses periodic boundary conditions. Is it the only
way to use this engine or is it possible to realize a release as I
planned to do ?

Regards,
Nicolas

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-13 Thread Bruno Chareyre
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Status: Open => Answered

Bruno Chareyre proposed the following answer:
Hi Nicolas,

1/ PFV
You are right overall on the need to bound with boxes in current PFV 
implementation. It does not mean that the box has to be entirely filled. What 
it enables directly is the simulation of a submerged avalanche. For an 
avalanche exposed to air there could be ways to impose appropriate pressure 
boundary conditions to the elements filling the empty part of the box, this is 
more involved.
Alternatively, if you go for periodic boundary conditions you can have a x-y 
aligned chute with inclined gravity, which makes the free surface condition 
easier to impose. 

2/ LBM: I don't think it is a realistic option
3/ TwoPhaseFlow: irrelevant
4/ A possible option you did not mention is HydroForceEngine [a], it is 
probably more realistic than 2/ and 3/ 

I hope it helps.
Bruno

[a] http://arxiv.org/pdf/1605.06085.pdf

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-12 Thread Robert Caulk
Question #665514 on Yade changed:
https://answers.launchpad.net/yade/+question/665514

Robert Caulk posted a new comment:
Hello Nicolas,

I can only speak for the standard FlowEngine (and I think TwoPhaseFlow
derives from FlowEngine). It is a finite volume scheme, so it requires
the application and maintenance of boundary conditions. As of right now,
the FlowEngine will automatically apply and maintain these for you in a
box configuration. Your described requirements sound like a highly
dynamic and arbitrarily shaped system - FlowEngine will likely need
heavy modifications to produce the results you are after.

In response to your question "can I apply flowengine only inside
granular media": yes, FlowEngine triangulates the pores by using the
particles as nodes.

I have never used HydrodynamicsLBM so I am not sure if it is suitable or
not for your simulation.

Best,

Robert

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp


[Yade-users] [Question #665514]: Application of flow engines on saturated flows

2018-03-12 Thread Nicolas Godet
New question #665514 on Yade:
https://answers.launchpad.net/yade/+question/665514

Dear all,

I am a new user of YADE. The purpose of my internship is to find a way to model 
the flow of a saturated material down a chute [1].

I read the documentation about flow engines available in YADE such as 
FlowEngine() [2] [3] and HydrodynamicsLawLBM() [4]. Moreover, I am still 
looking for documentation for TwoPhaseFlowEngine() [5].

I conclude that all engines need to be defined in a box and that the engines 
can’t be used for modelling a flow along a chute.

 

I will explain how I plan to proceed.
I would like to realize a release of a saturated volume of a mix of water 
(density of 1200kg/m³ and higher viscosity than water viscosity) and granular 
media. This volume will flow along a rectangular channel which extremity is 
closed by a wall.

First step, I do a gravity deposit at the top of my channel. A wall holds this 
volume. Once it is stabilized (unbalancedForce() < threshold), I remove the 
wall and let the volume flows along the channel, in a dam-break manner.

Regarded as I plan to do, I am not sure if I can apply a flow engine only 
inside the granular media.

Do flow engines necessarily have to be applied on a box ?
Maybe I miss understood something.

 

Thanks in advance,

Regards,

Nicolas

 

[1] https://en.wikipedia.org/wiki/Debris_flow

[2] Chareyre, B., Cortis, A., Catalano, E., Barthélemy, E., 2012. Pore-Scale 
Modeling of Viscous Flow and Induced Forces in Dense Sphere Packings. Transp. 
Porous Media 92, 473‑493. https://doi.org/10.1007/s11242-011-9915-6

[3] Catalano, E., Chareyre, B., Barthélémy, E., 2014. Pore-scale modeling of 
fluid-particles interaction and emerging poromechanical effects. Int. J. Numer. 
Anal. Methods Geomech. 38, 51‑71. https://doi.org/10.1002/nag.2198

[4] Lominé, F., Scholtès, L., Sibille, L., Poullain, P., 2013. Modeling of 
fluid‑solid interaction in granular media with coupled lattice 
Boltzmann/discrete element methods: application to piping erosion. Int. J. 
Numer. Anal. Methods Geomech. 37, 577‑596. https://doi.org/10.1002/nag.1109

[5] https://yade-dem.org/doc/yade.wrapper.html#yade.wrapper.TwoPhaseFlowEngine

-- 
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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-users
More help   : https://help.launchpad.net/ListHelp