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.

Velocity of deformable droplet

Please login with a confirmed email address before reporting spam

Hello, I'm building a unsteady computational model of 'Motion and deformation of droplet through minichannel using Level set method'. I ant to plot a graph between droplet velocity and the time scale. How can I do it when droplet is itself deforming and interface is changing with time.? Kindly help me.

         Regards,
         Akshay Tiwari

3 Replies Last Post Sep 14, 2017, 4:18 p.m. EDT
Eric Favre COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Sep 14, 2017, 8:24 a.m. EDT
Updated: 7 years ago Sep 14, 2017, 8:41 a.m. EDT

You can probably integrate over the whole domain with integration coupling variable, intop1() will be the default name. Define as variables :
vol1 = intop1(ls.Vf1)
xc = intop1(x * ls.Vf1)/vol1
yc = intop1(y * ls.Vf1)/vol1
this is simply the definition of the center of mass that only takes into account your fluid. ls.Vf1 is the volumic fraction of fluid 1 (perhaps this is fluid 2 in your case!) available with the levelset physics interface, that give 1 in fluid 1 and 0 in fluid 2. xc and yc can be ploted wrt time easily.

Best regards, Eric Favre COMSOL France

-------------------
Eric Favre
COMSOL France
You can probably integrate over the whole domain with integration coupling variable, intop1() will be the default name. Define as variables : vol1 = intop1(ls.Vf1) xc = intop1(x * ls.Vf1)/vol1 yc = intop1(y * ls.Vf1)/vol1 this is simply the definition of the center of mass that only takes into account your fluid. ls.Vf1 is the volumic fraction of fluid 1 (perhaps this is fluid 2 in your case!) available with the levelset physics interface, that give 1 in fluid 1 and 0 in fluid 2. xc and yc can be ploted wrt time easily. Best regards, Eric Favre COMSOL France

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Sep 14, 2017, 11:03 a.m. EDT

Thanks Eric, But I wanted a plot between Velocity of Deformable droplet and Time. For that, Can I do use the Surface Integration operation (Result>Derived Values>Surface Integration) and then Intergrating the variable Velocity Magnitude, U over the Domain of the droplet to get the Single Velocity that will represent the Velocity of whole droplet and hence plot this with timescale? If no, Then what does this signify?

Regards, Akshay Tiwari

Thanks Eric, But I wanted a plot between Velocity of Deformable droplet and Time. For that, Can I do use the Surface Integration operation (Result>Derived Values>Surface Integration) and then Intergrating the variable Velocity Magnitude, U over the Domain of the droplet to get the Single Velocity that will represent the Velocity of whole droplet and hence plot this with timescale? If no, Then what does this signify? Regards, Akshay Tiwari

Eric Favre COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago Sep 14, 2017, 4:18 p.m. EDT

Hello Akshay,
based on my first indication, you can simply derive xc and yc in time : d(xc,t) will give you the velocity along x. Yes, you can integrate u instead of x for getting the velocity directly without having to derive in time (since integration and derivative can permute). You can probably define everything in the Results section but this is often easier to refer to variables instead. In most of the cases this is the user's choice. To access in Results those variables that you would define after having performed a possibly very long simulation without recomputing all, press F5 (study : update solution).
You can integrate u instead of x for getting the velocity directly without having to derive in time. However, you cannot simply integrate the magnitude U. You need to compute both velocity components (uc and vc) and then take sqrt(uc^2+vc^2) to get the magnitude (you cannot permute integration with non linear operator like sqrt).

Hope this helps, best regards, Eric Favre

-------------------
Eric Favre
COMSOL France
Hello Akshay, based on my first indication, you can simply derive xc and yc in time : d(xc,t) will give you the velocity along x. Yes, you can integrate u instead of x for getting the velocity directly without having to derive in time (since integration and derivative can permute). You can probably define everything in the Results section but this is often easier to refer to variables instead. In most of the cases this is the user's choice. To access in Results those variables that you would define after having performed a possibly very long simulation without recomputing all, press F5 (study : update solution). You can integrate u instead of x for getting the velocity directly without having to derive in time. However, you cannot simply integrate the magnitude U. You need to compute both velocity components (uc and vc) and then take sqrt(uc^2+vc^2) to get the magnitude (you cannot permute integration with non linear operator like sqrt). Hope this helps, best regards, Eric Favre

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.