Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Using Integration Operators To Calculate Volume To Use As A Stop Condition

Please login with a confirmed email address before reporting spam

Hi there,

I have a multiphase (2 phase) flow of a droplet of a fluid in a flow (domain 2) that eventually leaves domain 1. I want to have the calculation stop when the fluid starts to leave the domain so I created a integration operator to calculate the volume and then a variable that is used in the stop conditions. As the droplet starts to leave the outlet the volume of the fraction of fluid (domain 2) will decrease and I will have the condition stating that when around half of this fluid has disappeared, the study will stop calculating.

Problem is, I am having trouble with the integration operator.

I want it to calculate the volume of fluid for every iteration, so I assume it is dependent upon time. My variable "Vdroplet" (volume of droplet) is defined as intop1(1) in the local variables section and then in the stop conditions stated as Vdroplet<=(an size) then stop.

Would the integration operator calculate the volume every iteration or should it be Vdroplet=intop1(t[1/s])?

Please ask if you need more information and thanks for your help in advance.

Oliver


0 Replies Last Post 24 mars 2018, 12:26 UTC−4
COMSOL Moderator

Hello Oliver George

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.