How to use fix massflow/mesh with vec_side and count multiple ???

Submitted by Luton on Sat, 03/03/2018 - 18:43

Hello Every one,

I am having a problem understanding how to define "vec_side" with "count multiple" in fix massflow/mesh command.

I tried every thing I could think about to determine the vector components defining the “outside” of the mesh but I keep getting the error:

ERROR: Fix massflow/mesh (id massflows): requires a planar face mass flow measurement or using 'point_at_outlet' (../fix_massflow_mesh.cpp:344)

In short, I have a squared plane in Z direction, centre ( 0, 0, -0.02) cm. Length of my plane ( in X & Y directions) is 6 cm with 0.02 cm thickness.

I am using periodic boundary conditions so the particles that go out from the bottom come back from the top again.

I am using "count once" now and I have no problem with that, but I need to use the feature "count multiple" to calculate the mass flow rate every time the particles go through the mesh plane.

I attached a very simplified example similar to my case for more details.

Any kind of help would be very appreciated.

Thanks in Advance

Luton

AttachmentSize
Binary Data dem.tar_.gz7.86 KB
arnom's picture

arnom | Thu, 03/08/2018 - 10:37

Your mesh 1_bottom_plate_with_hole.stl is a 3-D mesh. If you want to use the command correctly you should have a 2-D mesh, i.e. 0 thickness.

DCS team member & LIGGGHTS(R) core developer

Luton | Fri, 03/09/2018 - 00:59

Hello arnom, Thank you for your reply.

I think there are no problems with my plates, I have two plates, one with a hole and another one without a hole to calculate mass flow rate.

I am using the command :

fix massflows all massflow/mesh mesh plate_no_hole vec_side 0. 0. 1 count once point_at_outlet 0. 0. 0.

and it give me the correct mass flow rate. You can check that in auto generated massflow_coupled.txt file.

But instead of "count once " I want to use "count multiple" so my plate will consider the mass flow rate of the particles ever time they pass through not only on time . (periodic B. C.)