nepluno / SoapFilm3D

Double bubbles sans toil and trouble: discrete circulation-preserving vortex sheets for soap films and foams
http://www.cs.columbia.edu/cg/doublebubbles/
Mozilla Public License 2.0
62 stars 11 forks source link

About Soapbubble film 3D #10

Open Microfluidicer opened 7 months ago

Microfluidicer commented 7 months ago

Hello I am currently a PhD student in bioengineering and part of my project involves the simulation of soap bubbles. So I would like to explore the effect of soap bubble flow velocity, viscosity, and interfacial tension on soap bubble generation. But I read about this being an incompressible fluid without viscosity. I would like to ask if it becomes difficult to consider viscosity and interfacial tension on the basis of this program? Is it possible?

nepluno commented 4 months ago

I think it's doable since you can easily discretize the differential operators needed by viscosity on the mesh and then integrate the stress created by viscosity. We already have the interfacial tension for soap bubbles in the air. You may consider modify it to other kind of interfacial tension effect (well, coupling with another liquid simulator may need some efforts though).

Microfluidicer commented 2 months ago

Very good advice, I feel I will spend a long time looking into adding viscous forces to simulate more complex soap film flows based on this open-source program. But I have a question: I couldn't find the file for generating soap bubbles in the assets folder. Is it 'pullingfoam'? When I try to load this file, it always says it cannot find the 'mesh001000.rsc' file. I also looked in the directory and couldn't find this file, which confuses me a bit.