Hello Byoung-moo Ann
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
25.07.2016, 19:01 GMT-4
I have a related problem using particle tracing for fluid flow and the acoustophoretic force. I am attempting to implement the secondary particle-particle force which depends on the distance between the particles as well as their relative positions within the acoustic field.
First, I too would like to know how to refer to the distance between particles, as well as the actual particle positions.
In addition, I would like to know how to refer to the velocity and pressure at the particle positions. I know I can use acpr.vx for instance for velocity (and use this to calculate field direction), but I don't know how to get the value at a specific position.
I have a related problem using particle tracing for fluid flow and the acoustophoretic force. I am attempting to implement the secondary particle-particle force which depends on the distance between the particles as well as their relative positions within the acoustic field.
First, I too would like to know how to refer to the distance between particles, as well as the actual particle positions.
In addition, I would like to know how to refer to the velocity and pressure at the particle positions. I know I can use acpr.vx for instance for velocity (and use this to calculate field direction), but I don't know how to get the value at a specific position.
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
26.07.2016, 18:10 GMT-4
I was able to track down some of the variables via a combination of the Help documentation and the plot variable selector. For particles, the distance between them is given by fpt.r. The position components of the particle generating a force are qx, qy, qz, while the position components of the particle experiencing the force are dest(qx), dest(qy), dest(qz).
I assume, though I would love to hear if I am wrong, that any fields that are included in the expression are evaluated at the position of the particle producing the force.
As an aside, if your equation is large you might want to break it up and put parts of it (those that can be evaluated outside of the particle-particle calculation) in several variables. It will not only reduce the size of the equation, if there is a problem with units it will make finding the error easier.
I was able to track down some of the variables via a combination of the Help documentation and the plot variable selector. For particles, the distance between them is given by fpt.r. The position components of the particle generating a force are qx, qy, qz, while the position components of the particle experiencing the force are dest(qx), dest(qy), dest(qz).
I assume, though I would love to hear if I am wrong, that any fields that are included in the expression are evaluated at the position of the particle producing the force.
As an aside, if your equation is large you might want to break it up and put parts of it (those that can be evaluated outside of the particle-particle calculation) in several variables. It will not only reduce the size of the equation, if there is a problem with units it will make finding the error easier.