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

    Status: Open => Answered

Raphaël Maurin proposed the following answer:
Hi,

1. When I am talking about fluid mesh, it is a regular wall-normal fluid mesh 
defined by the number of cell nCell, and the width of the cell deltaZ. 
A typical definition of HydroForceEngine to apply only buoyancy would be :
HydroForceEngine(densFluid = 1000,viscoDyn = 1e-3,zRef = 0.0,deltaZ =  
0.1,nCell = 10,vxFluid=numpy.zeros(nCell),phiPart = numpy.zeros(nCell),vFluctX 
= np.zeros(len(O.bodies)),vFluctZ = np.zeros(len(O.bodies)),ids = idApplyForce )

This will apply buoyancy to the particles contained in the idApplyForce
list, and of z component between zRef= 0. and nCell*deltaZ = 1 m. I
entered the density and viscosity of water, but it can be modified
obviously (viscosity will not influence the buoyancy, it is defined for
drag)

2. Yes
3. Ok, I agree with you, and then it is maybe better (faster) to create an 
engine applying the buoyancy only directly, or to make the drag application 
optional.  
4. No


Raphaël

-- 
You received this question notification because you are a member of
yade-users, which 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

Reply via email to