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.
https://github.com/projectchrono/chrono/blob/main/src/chrono/fea/ChBuilderBeam.cpp#L376

https://github.com/projectchrono/chrono/tree/main/src/demos/fea
    // 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

-- 
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/e50a4344-38f0-4f27-bfc9-1ea73fb73738n%40googlegroups.com.

Reply via email to