How to access fluid velocity in cohesion model

Submitted by syedUConn on Thu, 11/07/2019 - 07:53


I am modifying the cohesion model to implement drying in it. For this I need to use the fluid velocity. I coud get fluid temperature but I do not know how can I get the fluid velocity in the code.
I used something like the following but I know this is not correct

fix_uf_ = static_cast(modify->find_fix_property("fix_uf_","property/atom","scalar",0,0,"cohesion_model_moisture/capillary/viscous"));

Can someone please help?