Best practices for tweaking simulations?
655 8 1- gordig
- Member
- 30 posts
- Joined: Sept. 2019
- Offline
I've been working on a simulation (you can read about it here [www.sidefx.com] if you're interested) and I'm struggling to find the right balance of various parameters to achieve the desired effect. Is there a logic for how to balance, for example, stiffness and damping, especially across two different constraints? I'm sure there's always at least a little guesswork, but right now guesswork is all I have, and I have to believe there's a better way.
- kodra
- Member
- 213 posts
- Joined: June 2023
- Offline
- gordig
- Member
- 30 posts
- Joined: Sept. 2019
- Offline
- alexwheezy
- Member
- 209 posts
- Joined: Jan. 2013
- Online
gordig
I'm not sure what you mean by "binary search".
The binary search mentioned above is a way of solving a problem where you don't know the end result, you start dividing the original range in half and search for the parameter value in each part recursively until you find it. For example your range of values can be from 0 to 100 and after dividing it in half you can search for the desired parameter value either from 0..50 or 50..100 and keep dividing each range again until you are satisfied with the final result.
- gordig
- Member
- 30 posts
- Joined: Sept. 2019
- Offline
- ajz3d
- Member
- 478 posts
- Joined: Aug. 2014
- Offline
Binary search, or perhaps rather the bisection method, is one of those algorithms taught at the IT university which one might think is limited only to IT, but then he quickly realizes that it makes life easier outside the computer world. It's especially helpful when your grandmother asks you to hang her window curtains.
Kind of a poor attempt of a joke from my side, but those who did this activity (hanging curtains with millions of rusty clothespins) will know what I'm talking about.
Kind of a poor attempt of a joke from my side, but those who did this activity (hanging curtains with millions of rusty clothespins) will know what I'm talking about.
- JalexM
- Member
- 23 posts
- Joined: July 2017
- Offline
- gordig
- Member
- 30 posts
- Joined: Sept. 2019
- Offline
- tamte
- Member
- 8597 posts
- Joined: July 2007
- Offline
Since solvers in Houdini are not 100% physical its difficult to rely on specific values unfortunately, even for solvers like Bullet
It definitely helps to understand what each solver is doing, whether it compensates for scale or mass or completely ignores those properties etc ..
Also with vellum things like substeps and iterations play role when tweaking stiffness for example since higher stiffness may need more iterations to converge and effective stiffness also scales with mass, etc ..
Then, after you understand what each solver does, I'd say it's mostly about building intuition about each solver's behavior, the more you use it the more you will understand how it behaves and be able to tweak the right settings quickly
It definitely helps to understand what each solver is doing, whether it compensates for scale or mass or completely ignores those properties etc ..
Also with vellum things like substeps and iterations play role when tweaking stiffness for example since higher stiffness may need more iterations to converge and effective stiffness also scales with mass, etc ..
Then, after you understand what each solver does, I'd say it's mostly about building intuition about each solver's behavior, the more you use it the more you will understand how it behaves and be able to tweak the right settings quickly
Edited by tamte - May 1, 2024 18:16:09
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links