Guan – you cannot append a simple DAE system example (e.g. 3 equation with 3 unknowns) to Chrono and have it solved. You should define a Chrono model that will lead to those DAE equations.
One way to go about it, is to run a cosimulation, say with Matlab or Python. You define your equations, you solve them, and during the solution process you can talk with Chrono. In this sense, Chrono is not like Modelica. I’m not a Modelica user, so perhaps Alessandro Tasora, if he reads this, might provide a better answer than mine… Dan ------------------------------------------------- Bernard A. and Frances M. Weideman Professor NVIDIA CUDA Fellow Director, Wisconsin Applied Computing Center Department of Mechanical Engineering Department of Computer Science University of Wisconsin - Madison 4150ME, 1513 University Avenue Madison, WI 53706-1572 608 772 0914 http://sbel.wisc.edu/ http://projectchrono.org/ ------------------------------------------------- From: [email protected] <[email protected]> On Behalf Of Guan Yu Sent: Wednesday, June 8, 2022 8:29 PM To: ProjectChrono <[email protected]> Subject: Re: [chrono] Discrete/Continuous hybrid DAE system Hi Dan, Thank you very much for your reply! I will go trough the materials you sent me. Another question I am currently have is that if I would like to build a simple DAE system example(e.g. 3 equation with 3 unknowns) using the HHT solver in Chrono Engine, is there any example code I can learn or any guide that I could follow? Thank you in advance! Best, Yu 在2022年6月7日星期二 UTC+8 22:49:59<Dan Negrut> 写道: Hi Yu - If you are interested in sloshing and simulating that in Chrono, see this contribution: https://www.sae.org/publications/technical-papers/content/2018-01-1110/ It’s not simple, but it can be done. You need to have knowledge of CFD, not a stroll in the park. Alternatively, you can use DualSPHysics, that is interfaced to Chrono and is strong on the CFD side of things – see https://dual.sphysics.org/ . Good luck! Dan ------------------------------------------------- Bernard A. and Frances M. Weideman Professor NVIDIA CUDA Fellow Director, Wisconsin Applied Computing Center Department of Mechanical Engineering Department of Computer Science University of Wisconsin - Madison 4150ME, 1513 University Avenue Madison, WI 53706-1572 608 772 0914<tel:(608)%20772-0914> http://sbel.wisc.edu/ http://projectchrono.org/ ------------------------------------------------- From: [email protected] <[email protected]> On Behalf Of Guan Yu Sent: Tuesday, June 7, 2022 5:43 AM To: ProjectChrono <[email protected]> Subject: [chrono] Discrete/Continuous hybrid DAE system Hi there, I just started learning ProjectChrono and I am trying to build a rocket launch simulation that contains multiple sub-systems such as a liquid rocket engine system, control system, etc. I believe that ProjectChrono will perfectly get the multi-body part done, but I have the following question: I had successfully modeled the engine system as a 1D fluid system using OpenModelica(a Modelica software that could solve custom-build DAE system), the model ends up to be a discrete/continuous hybrid DAE system (has around 500 constrain equations that solving 500 variables in which there might be 50 state variables) that solved by DASSL solver. I know it seems odd to solve an 1D fuild system in multi-body solver, however technically speaking, is it possible that I could rebuild this 1D fluid DAE system using ChronoEngine? If so, which Chrono module(s) or built-in solver(s) should I use? Thank you a lot in advance! best, Yu -- 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/f302a62b-5e62-48e8-9a9e-9207649759e4n%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/f302a62b-5e62-48e8-9a9e-9207649759e4n%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]<mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/projectchrono/6139a26c-12c9-4292-bf1c-b9edd685feefn%40googlegroups.com<https://groups.google.com/d/msgid/projectchrono/6139a26c-12c9-4292-bf1c-b9edd685feefn%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/DM8PR06MB7703FC837540A6F21447FF0AB1A79%40DM8PR06MB7703.namprd06.prod.outlook.com.
