Hi – I think that your best bet is to look who DualSPHysics interface their CDF solver to Chrono.
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
-------------------------------------------------
--
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 on the web visit
https://groups.google.com/d/msgid/projectchrono/a1c12e28-918c-40fa-b5c0-c51e76954b7cn%40googlegroups.com.
Hi CC,
You can find such an example of coupling subsystems in the vehicle co-simulation module I recently implemented. That is a (slightly) different application area, but the principles are the exact same. In fact, one of the options in there is to use the Chrono::FSI module as one of the options for deformable terrain for which interaction with a multibody system of a vehicle is done precisely in a force-displacement co-simulation framework like you describe.
To answer your concrete question, look at how tire forces and moments are applied to the spindle bodies in the vehicle MBS. For example, see the function ChVehicleCosimRigNode::ApplySpindleForce which uses precisely the force accumulators to do this.
An alternative is to use a ChLoadBodyForce object. See for example demo_IRR_link_bushing.cpp where this mechanism is used to add a force acting on a body; you can change the value of the force at any time using ChLoadBodyForce:: SetForce() which is what you’d have to do for your coupling.
Please let us know how this is going. In fact, you may want to take a closer look at the vehicle/terrain co-simulation framework which is also design to work with an arbitrary external terramechanics code, much like what you envision for FSI.
--Radu
From: projec...@googlegroups.com <projec...@googlegroups.com>
On Behalf Of tsaich...@gmail.com
Sent: Saturday, February 26, 2022 4:59 AM
To: ProjectChrono <projec...@googlegroups.com>
Subject: [chrono] FSI with external flow solver
Dear Chrono friends:
--