Dear Richard,

The class *ChBodyEasyMesh *may be used in order to import a mesh in Project
Chrono, for example:  *auto mesh =
chrono_types::make_shared<ChBodyEasyMesh>(GetChronoDataFile("models/cube.obj"),
100.0, mat, 0.05, csys_type);*
This code is included in the package of Chrono:
https://github.com/projectchrono/chrono/blob/main/src/demos/irrlicht/demo_IRR_visualize_collision.cpp
Note that you should enable the use of the Irrlicht module to compile and
execute the suggested case.

Another thing, please let me know if you have any problem or you need help
dealing with the coupling DualSPHysics-Chrono.

Regards,
Iván

El lun, 21 nov 2022 a las 2:08, Dan Negrut (<[email protected]>) escribió:

> Ivan - is there any way you can help Richard with this issue?
> 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
>
> https://urldefense.com/v3/__http://sbel.wisc.edu/__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmeYYUpWg$
>
> https://urldefense.com/v3/__http://projectchrono.org/__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmKyr4n4E$
>
> -------------------------------------------------
>
> -----Original Message-----
> From: [email protected] <[email protected]> On
> Behalf Of Richard Kelly
> Sent: Friday, November 18, 2022 9:35 AM
> To: ProjectChrono <[email protected]>
> Subject: [chrono] import mesh to project chrono
>
> Hi all,
>
>
>
> I am trying to simulate a boat on the water in project Chrono. I know I
> have some work ahead of me. As a first step I am just trying to get a
> couple of motors working with props. I have spent signigicant time trying
> to get the working with DualSPHysics and am now working through how Chrono
> works. Can anyone point me to a simple example of how to import a mesh? I
> found this example online:
>
>
> https://urldefense.com/v3/__https://api.projectchrono.org/development/tutorial_pychrono_demo_mesh.html__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmL69Agjg$
>
>
> but that uses pychrono. I am currently using the C++ API.
>
>
> Then I compiled this tutorial:
>
>
>
> https://urldefense.com/v3/__https://api.projectchrono.org/tutorial_demo__f_e_a_cosimulate_load.html__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmPXV2RBc$
>
>
> which compiles fine but I am missing the rest of the files that go with
> the example so it doesn't run. I'll have a look through the git repo to see
> if I can find them, but at the same time if someone can point me to a nice
> simple example that would be great.
>
>
> Much Thanks,
>
>
> Richard
>
>
>
>
>
> This email is governed by the Terms and Conditions found in our Disclaimer<
> https://urldefense.com/v3/__http://www.mi.mun.ca/ict/disclaimer__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmSg7df4w$
> >.
>
> --
> 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://urldefense.com/v3/__https://groups.google.com/d/msgid/projectchrono/6633198a1d5348a2b6dcdffa2a517d05*40mi.mun.ca__;JQ!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmbYe_D0w$
> .
>

-- 
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/CAC0tZz%3DgJ9e3Wk3-GQj%2BaRhzCtP4r%3Dng1PoR06Bjw%3DTMPMKYpg%40mail.gmail.com.

Reply via email to