Hi, 

in the example below I modelled a simple pendulum. To my understanding, 
nonlinear static analysis should place the pendulum in the 'down' position, 
i.e. aligned with the gravity vector. However, the static analysis seems to 
blow up even for a small deviation from the static equilibrium position 
(see output below). 
Should the nonlinear static analysis work in this example case?

Thank you, 
Simon

*Code: *
ChSystemNSC system{};

auto fixed_body{chrono_types::make_shared<ChBody>()};
fixed_body->SetBodyFixed(true);
auto pendulum_mass{chrono_types::make_shared<ChBody>()};
pendulum_mass->SetPos({1.0, 0.01, 0.0});

system.Set_G_acc({10.0, 0.0, 0.0});

auto rotation_link{chrono_types::make_shared<ChLinkLockRevolute>()};
rotation_link->Initialize(pendulum_mass, fixed_body, {});

system.Add(fixed_body);
system.Add(pendulum_mass);
system.Add(rotation_link);

system.DoStaticNonlinear(10, true);


*Output: *
Nonlinear statics
   max iterations:     10
   incremental steps:  6
   stopping test:      correction
      relative tol:    0.0001
      absolute tol:    1e-08

--- Nonlinear statics iteration 0  |Dx|_wrms = 12864.8
--- Nonlinear statics iteration 1  |Dx|_wrms = 9543.48
--- Nonlinear statics iteration 2  |Dx|_wrms = 6371.51
--- Nonlinear statics iteration 3  |Dx|_wrms = 10438.1
--- Nonlinear statics iteration 4  |Dx|_wrms = 6571.89
--- Nonlinear statics iteration 5  |Dx|_wrms = 6797.78
--- Nonlinear statics iteration 6  |Dx|_wrms = 6870.05
--- Nonlinear statics iteration 7  |Dx|_wrms = 16263.7
--- Nonlinear statics iteration 8  |Dx|_wrms = 9692.65
--- Nonlinear statics iteration 9  |Dx|_wrms = 29415.4

-- 
You received this message because you are subscribed to the Google Groups 
"ProjectChrono" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/projectchrono/31e9e8d0-092b-42ac-9bc8-d2baf4910e19n%40googlegroups.com.

Reply via email to