Bifrost Forum
Welcome to the Bifrost Forum. This is the place for artists using Bifrost to ask and answer questions, browse popular topics, and share knowledge about creating effects procedurally using Bifrost. You can also visit the Bifrost Community on AREA to download an array of ready-to-use graphs, read Bifrost news and updates, and find the latest tutorials.
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Expanding foam simulation (not seafoam)

Message 1 of 8
1095 Views, 7 Replies

Expanding foam simulation (not seafoam)

I have searched the forum, but cant seem to find details for creating a liquid that behaves like chemical foam systems.


You've all probably seen the foam insulation that comes in a spray can. I need to do something similar, but what I need should be a fluid that flows like a liquid at first then expands over time (by individual particle age) increasing viscosity and drag. 


This video is very close, but I need to do a simulation before I create the mold


Here is another video:


Ideally the important particle properties like density, viscosity, and drag/stickiness (over age) should be curves.

I have years of experience with Maya, but am completely new to Bifrost, and would appreciate any help I can get.



Message 2 of 8

Just bringing this back to the top...


Please, I really need help here, surely there are bifrost experts that can give me a few pointers on which parameters I need to focus on and where to find them?


Or even just a link to a tutorial or on-line class where I will be able to learn the appropriate details and workflow?

Message 3 of 8

You can simulate fibers (one dimensional curves/strands) and shells/cloth (two dimensional surfaces) using MPM but you cannot simulate solids (three dimensional volumes) yet, as far as I am aware. It is certainly something we want to do in the future, however.

Message 4 of 8

I've already got Bifrost fluids running in a 3D simulation, I just need to be able to change key fluid parameters as the particles age (change based on age, not simulation time).

Message 5 of 8

This is for the age parameter change over time. And for the sapanding if you set the radius by age so the particles expanding, you can convert points to level set and\or volume. TO have a mesh of your particles.

Message 6 of 8

Thank you d.ortisi, this was helpful with nParticles and is working.

However I'm not able to figure out where the same per-particle attributes are in Bifrost Liquid which renders much better.

I'm still working with it and will post updates here.

Thanks Again!

Message 7 of 8



I worked through it with nParticles and particle meshing....

Here is my first animation:


The trick was figuring out the curves for particle "Radius" and "Radius Scale" where the first is the maximum size after expansion and the scale curve starts the particles out smaller and allows them to grow over time by the individual particle age (selection) where "Input Max" is the length of time it takes to complete the change.


Apply the same techniques to "Viscosity" and "Surface Tension"


Here is a screenshot of the attributes setup I used:


Message 8 of 8

For anyone interested, here is the result:

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators

Autodesk Design & Make Report