Hi Trinidad, In the current implementation of Chrono::FSI, we have very limited support for interaction with flexible bodies. We only support flexible bodies described with the ANCF cable element or ANCF shell element. Unfortunately, we can not read directly from a mesh file. You should manually input those elements and nodes to a mesh. The ANCF shell elements should also be rectangular elements which I believe it's not the case with the mesh you import from an OBJ file. Another important thing you need to take care of is related to *NodeNeighborElement_mesh* and *_2D_elementsNodes_mesh*. The two vectors contain important information that is needed for the simulation and should be initialized with the correct value. You can take a look at that flexible element demo and see how these two vectors are initialized therein.
We haven't maintained the flexible bodies support in FSI for about three years, so it probably takes a while to modify the code and make it works for your case. However, *the good news is*, we restarted the maintenance of this feature two weeks ago. The ongoing work in the next couple of months is to make it available to directly read a mesh from an OBJ file and generate BCE automatically, which I believe is exactly the feature you want to use in your demo, so the user can use this code much easier. We'll make it as fast as possible, please stay tuned with the *main* branch of Chrono. Thank you, Wei On Tue, Aug 9, 2022 at 10:00 PM Trinidad Mcdavids <[email protected]> wrote: > Hello, > > I am trying to simulate a case of flexible ball impacting water surface > (similar to the case cylinderDrop, the difference is the cylinder is > elastic install regid). The ball mesh was imported from obj file instead of > generated manually. > > 1. I made an example case out of "fsi_felxbile element" & > "fsi_cylinderdrop", but is a bit lost regarding the BCE setting? how can > the BCE be applied for the imported fem mesh? > > 2. The examples case i made is attached. It seems the case can not be > compiled with many errors. Could you please kindly help to quick check what > is wrong in my codes? > > 3. Regarding the post processing, i would like to show the deformation & > stress of the elastic body as well as the pressure/velocity contour map of > the fluid to be exported to vtk file. how can this be done? > > -- > 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/d7917585-9dd6-4989-9878-dd86fb95d425n%40googlegroups.com > <https://groups.google.com/d/msgid/projectchrono/d7917585-9dd6-4989-9878-dd86fb95d425n%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/CAMbtuy4b05d-S%2BjD_vuB7JwFro_jbSSw7ABkmVH_-UmTjbOZxQ%40mail.gmail.com.
