Doubt with a command

Submitted by nicolasoviedoc on Wed, 10/07/2015 - 16:35

I'm already working on a mill simulation and i'm trying to count the particles that come out of the mill. For this, i'm using the massflow/mesh command, however i have a problem with one of the keywords. Specifically, the vec_side command, because i don't know what it means this "vector components defining the "outside" of the mesh". My stl surface is in the 5.3,0,0 coordinates, but when compile the file, it doesn't count the particles.

Please, i need some help.

Best regards, Nicolás.

aaigner's picture

aaigner | Wed, 10/07/2015 - 17:43

Hi Nicolás,

we need some more information about your case to help you:

You have a rotating mill and the outlet area in +x-direction? Then your stl-surface is a y-z-plane (normal to x) and is located at 5.3, 0, 0?
In that case the vec_side should be 1,0,0 (outlet in +x direction).

Another a trivial question (I made that mistake once) ... Is your surface big enough and the particles are really moving through it? Load your file into ParaView to check this.

Bests
Andreas

Daniel Queteschiner | Thu, 10/08/2015 - 09:47

The parameter name vec_side may be a bit misleading. Actually it is a position (not a direction vector) that should be located on the outside (and not in the plane) of the mesh used for the mass flow measurement. The fix will then count the particles crossing the mesh surface from the inside to the outside (as defined by the vec_side position).

aaigner's picture

aaigner | Thu, 10/08/2015 - 10:22

Well.. you are totally right. Point and not vector.. therefore my example with (1, 0, 0) was wrong. It should be something bigger than your wall position for +x outflow.

aaigner's picture

aaigner | Thu, 10/22/2015 - 14:12

As the documentation of fix massflow/mesh says, you can define the outside of the mesh by two options

  • vec_side ... vector components defining the outside of the mesh
  • point_at_outlet ... specifying a point at the outlet side of the mesh

I have to admit that the documentation is not perfectly clear.

Bests
Andreas