Quote:Original post by lonesock
it seems that the solver is nice and stable, but the initial connector lengths are _not_ correct for a final flat solution, so it "jumps" after a while.
Thank you for the confirmation.
Quote:Original post by lonesock
I believe the "bouncy" part is because the constraints (original stick lengths) are not actually solvable for a flat final configuration.
True. Gauss Seidel will jump at this. The conjugate gradient method would not jump but the result would not be a nicely spread out system either since the energy minimum of the original network (under gravity) is not one that is totally spread out. The false preconditions from the 3D scan will kick any solver's ass thrown at it.
Quote:Original post by raydog
Quote:
I've used the NAG-library routines for finding the minimum energy configuration for random fibre networks for example, and successfully I might add.
Can you provided some more details on finding the minimum energy configuration? How is this solved mathematically?
Using, e.g., the conjugate gradient method:
The system dynamics are specified by F = KU, where F is the Force/Momentum vector, K is the stiffness matrix, and U is the displacement/angular displacement vector, respectively. Minimize the function f(U) = 1/2 Tr(U)KU - Tr(F)U + c, where Tr is transpose, not trace. As the stiffness matrix K is both symmetric and positive definite, the minimum is found at the point where Grad( f(U) ) = KU - F = 0. The system is iterated using Uk+1 = Uk + Ak Pk where Ak are chosen such as to minimize f(Uk+1), and the optimization direction P is conjugated to the matrix K, i.e., <Pi, KPj> = 0, for i != j. (excuse the possible typos, this is from the top of my head)
It should be noted, however, that the original method Mystery has, and the Gauss Seidel lonesock pointed out both effectively do a minimum energy search. Minimum energy search is what Nature does every single second.
Quote:Original post by Mystery
Er.. I couldn't find any information on the "Unit sock stretch method" over the net.
Lonesock is pulling your leg here. There is a slight problem though. How do you determine the correct strength for this spreading force, lonesock?
I'm still pushing forward the idea of dropping this problem to pure 2D before simulating it with any of the methods brought up to date. If there are no overhangs we could just eliminate the z-dimension and spread the network from there with the method of choice. The rest lengths of the springs/sticks would be gathered from the original 3D network, of course. You've seen the data, lonesock, what is your view on this? Note, that this will not take care of the false edge lengths of the original network but it _will_ speed up the solver of choice.
How accurate is the 3D scan, Mystery? How, exactly, do you get the connections and the edge lengths from the document to be restored? Was the geometry solved by lonesock the original or the subsampled one?
JD
[Edited by - JesusDesoles on August 30, 2004 2:37:15 AM]