Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 4154

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

$
0
0

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


Viewing all articles
Browse latest Browse all 4154

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>