Lower subteps, longer sim

General Discussions about realflow, fluid simulations,...
User avatar
Otuama
Posts: 1155
Joined: Fri Apr 02, 2010 12:56 am
Location: Swansea
Contact:

Lower subteps, longer sim

Postby Otuama » Sat Mar 03, 2012 12:41 pm

Right.

I have some 20,000 surface tensioned particles. I'm having to run a script in stepsPre.

A sim with substeps of 1/333 took 12mins 9secs.

I just did a sim set at 1/100. It took 13mins 7secs.

Why?

Is it because, as the substeps are lower, the particles are taking a bit longer each frame because they're trying to stay together?

Or

Is it simply because I'm running python code in stepsPre

-Sean
iCreate Ltd
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi
'What Does Success Look Like?' - iCreate Ltd


Anaxarchos
Posts: 843
Joined: Wed Mar 19, 2008 4:21 pm
Contact:

Lower subteps, longer sim

Postby Anaxarchos » Sat Mar 03, 2012 7:03 pm

I gues a mix of Python and adaptive substepping. Compare the simulation times using fixed substeps.
www.fk-fx.com

User avatar
Otuama
Posts: 1155
Joined: Fri Apr 02, 2010 12:56 am
Location: Swansea
Contact:

Lower subteps, longer sim

Postby Otuama » Sat Mar 03, 2012 8:38 pm

I've played with fixed and my sim time is still about 12 mins. So, no go there. Hey ho.

This is why I need to use stepPre
Vimeo
iCreate Ltd
'Strength does not come from physical capacity. It comes from an indomitable will.' - Gandhi
'What Does Success Look Like?' - iCreate Ltd


Return to “General Discussion”

Who is online

Users browsing this forum: No registered users and 5 guests