Question #269831 on Yade changed: https://answers.launchpad.net/yade/+question/269831
Status: Open => Answered Raphaël Maurin proposed the following answer: Hi, I think HydroforceEngine should be defined for your Yade version. If you want to be sure it is defined, try to type help(HydroForceEngine) in Yade. If it prints something it is defined. Otherwise use the latest yadedaily and it will be ok. However, I don't know what you want to simulate, but with your formulation it will not work. You need to precise all the different arguments of the engine (see the documentation https://yade- dem.org/doc/yade.wrapper.html?highlight=hydroforceengine#yade.wrapper.HydroForceEngine ). I designed this function to couple Yade with a 1D fluid resolution (v_x^f(z)) so that it mights look a bit particular at some points. It therefore requires to precise the fluid profile (vxFluid) and the position (zref) of the regular fluid mesh described by deltaZ and nCell. There is also a Discrete Random Walk fluctuation model included to account for the fluid velocity fluctuations, which is based on the Reynolds stress tensor (which comes from the fluid resolution). You can get rid of the fluctuation model by writing HydroForceEngine(vFluctX = numpy.zeros(len(O.bodies)), vFluctZ = numpy.zeros(len(O.bodies))) when declaring the engine. Don't hesitate if you have more questions. 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