Hi Nicolas,

sorry but the ChMatrixNM is in fact missing from the Python wrapper. There are only two solutions at the moment:

- either you modify the .i files for the SWIG wrapper, adding support for a 6x6 ChMatrixNM, then rebuild all Chrono and generate the Python modules (advanced stuff, but I can help). See ChMatrix33.i to understand how. The trick is mostly in the row
   %template(ChMatrix33D) chrono::ChMatrix33<double>;
that in your case could be
  %template(ChMatrix66D) chrono::ChMatrixNM<double,6,6>;

- or you switch to C++ , that has a steepy learning curve but in the end it has less limitations than the Python API

best

Alessandro

On 12/05/2023 15:00, Nicolas CORTES wrote:
Hi !
I want to create a beam model for a wind turbine blade.
I tried to create a ChElasticityCosseratAdvancedGenericFPM with a full matrix and give it to a ChBuiderBeamIGA but the ChMatrixNM type seems not to be available in pychrono. Are there other ways to specify a full stiffness matrix to a beam section in pychrono ?
Thank you for your help.
Nicolas
--
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/6df9a86d-66d1-4126-99a3-a27c274b3ffan%40googlegroups.com <https://groups.google.com/d/msgid/projectchrono/6df9a86d-66d1-4126-99a3-a27c274b3ffan%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
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/ccbae18d-03a2-ae1c-eaef-98d6cb34e4a9%40ied.unipr.it.

Reply via email to