Hello,
I'm trying to save/load chrono system state. Before time stepping, I added the following code to beamsEuler and beamsANCF in FEA demos, to check the state size. Euler beam returned the correct sizes, but not ANCF beam. Could someone provide some clues about this?
Also, is there a specific reason ChBuilderBeamANCF_3243 was not provided? For ChBuilderBeamANCF_3333, the nodes were added to the mesh and the beam_nodes in different order. Adding them in the same sequence might be convenient for, eg., bookkeeping purposes if there are many beams.
// Initialize system state, if not setup first, pos 0, vel 0
sys.Setup();
std::cout << "\nInitialize system state, pos " << sys.GetNumCoordsPosLevel()
<< ", vel " << sys.GetNumCoordsVelLevel()
<< std::endl << std::endl;
ChState X(sys.GetNumCoordsPosLevel(), &sys);
ChStateDelta V(sys.GetNumCoordsVelLevel(), &sys);
// double tmpT = sys.GetChTime();
// sys.StateGather(X, V, tmpT);
// sys.StateGatherAcceleration(A);
Thank you,
Haifei