YAML support for sinusoidal loads

40 views
Skip to first unread message

alvaro diaz

unread,
Sep 26, 2025, 3:03:44 PMSep 26
to ProjectChrono
Hello,

I was wondering if it is possible (or will be) to define a body load with a sinusoidal function type from a yaml, similar to chrono and pychrono. 

I have tried doing something similar using motors however, the fact that the motor application point is fixed (I think) stops me from getting the same results as if I was applying a sinusoidal body load in pychrono at the CG of a floating body.

Thank you in advance.

Alvaro

Radu Serban

unread,
Sep 30, 2025, 6:14:32 AMSep 30
to ProjectChrono

Hi Alvaro,

 

Please keep in mind that:

  1. The YAML parsers are still work in progress.  As such, the API and YAML schemas are subject to change as I keep implementing the necessary support.
  2. While the goal is to eventually allow specifying and using as many Chrono components and features as possible through these YAML specification files, I focus on the functionality that is currently needed for the project that funds this work.

 

Having said that, I just pushed some changes related to body loads and added support for specifying an optional modulation function. Note that this function must correspond to a type currently supported by the YAML schema (it just happens that the sine you’re interested in is among those supported).  For more details, see the YAML schema.

 

--Radu

--
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 projectchron...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/projectchrono/47c5b5bc-cc7a-4c8e-90df-7e4b4b698dd9n%40googlegroups.com.

alvaro diaz

unread,
Sep 30, 2025, 10:10:51 AMSep 30
to ProjectChrono
Hello Radu,

Thank you for the update to YAML module. I understand that it is still under development and I mean no push or rush, but rather verifying if what I say is correct or if I am missing alternative ways of doing it. In my workplace Chrono is gaining popularity through YAML implementation and I am trying to keep up to date. 

Kind regards,

Alvaro

Reply all
Reply to author
Forward
0 new messages