Hi I want to apply external loads by setting some boundary condition a 
beam's end.
In other words I want to displace the position of a beam's end to some 
position, fix it there and than start the simulation. 
In the demo_FEA_loads_static.cpp 
<https://api.projectchrono.org/tutorial_demo__f_e_a_loads.html> a truss is 
being used to fix a node:
// Create also a truss
auto truss = chrono_types::make_shared<ChBody>();
truss->SetBodyFixed(true);
sys.Add 
<https://api.projectchrono.org/classchrono_1_1_ch_system.html#afb70a823cfc57dd9946007414bfd9f48>
(truss);
// Create a constraint at the end of the beam
auto constr_a = chrono_types::make_shared<ChLinkMateGeneric>();
constr_a->Initialize(mnodeA, truss, false, mnodeA->Frame(), 
mnodeA->Frame());
sys.Add 
<https://api.projectchrono.org/classchrono_1_1_ch_system.html#afb70a823cfc57dd9946007414bfd9f48>
(constr_a);
constr_a->SetConstrainedCoords(true, true, true, // x, y, z
true, true, true); // Rx, Ry, Rz

Can I use a truss to fix a node at some position different to its reference 
position?

-- 
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/1a11b543-0aac-484b-a133-401e43d85c25n%40googlegroups.com.

Reply via email to