Hi Ivan,

Thanks for the response. I’ll give that example a go. I do have Irrlicht 
working with some of the other examples. Also a big thank you for offering to 
provide some help with the coupling of DualSPHysics and Chrono.  I will take 
you up on that offer. I have spent a fair bit of time working on it from the 
DualSPHysics side of things but have been getting strange results. I didn’t see 
the source of Chrono that DualSPHysics is using, but there seems to be some 
modification of the library to make it work. If I were to guess, I would 
Imagine DualSPHysics is using links and not motors, but that is just a guess. I 
would like to add some real time controls of the motors. I was just overwriting 
the angular velocity of a boats prop which worked for about a second of 
simulation time and then the Prop would become instable.  So now I am playing 
around with Project Chrono to better understand its workings and capabilities.  
I also noticed that DualSPHysics comes with its own SPH solver, FSI.. I don’t 
know if it is worth looking at that route as well. Thanks for your help. It is 
greatly appreciated. For now I’ll spend my afternoon looking through the 
example you provided. I have also been playing around with the 
demo_MCORE_motors example as well. With the example you sent I’ll try to 
replace a rotating rectangle with a prop and report back my results.

Thanks again for your help.

It is appreciated.

From: Iván Martínez Estévez <[email protected]>
Sent: Monday, November 21, 2022 11:37 AM
To: Richard Kelly <[email protected]>
Cc: ProjectChrono <[email protected]>; Dan Negrut <[email protected]>
Subject: Re: import mesh to project chrono

Dear Richard,

The class ChBodyEasyMesh may be used in order to import a mesh in Project 
Chrono, for example as:  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]<mailto:[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:/sbel.wisc.edu/__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmeYYUpWg$>
https://urldefense.com/v3/__http://projectchrono.org/__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmKyr4n4E$<https://urldefense.com/v3/__http:/projectchrono.org/__;!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmKyr4n4E$>
-------------------------------------------------

-----Original Message-----
From: [email protected]<mailto:[email protected]> 
<[email protected]<mailto:[email protected]>> On 
Behalf Of Richard Kelly
Sent: Friday, November 18, 2022 9:35 AM
To: ProjectChrono 
<[email protected]<mailto:[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$<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$<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$<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]<mailto:projectchrono%[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$<https://urldefense.com/v3/__https:/groups.google.com/d/msgid/projectchrono/6633198a1d5348a2b6dcdffa2a517d05*40mi.mun.ca__;JQ!!D9dNQwwGXtA!QbywaaeG0V_1TxapZwzkvu0Tq40k-aFkNAROV5GgGxYKQd09lKR0HmRZgEnG2CZrIWBnyewKCEZHWpHe6XBmbYe_D0w$>
 .


--
Iván Martínez Estévez
PhD Student in Computer Science
Environmental Physics Laboratory (EPhysLab), CIM-UVIGO
Universidade de Vigo
Edificio do Campus da Auga
Rúa Canella da Costa da Vela 12, Campus Sur
32004 Ourense, SPAIN
Phone number: +34988387270

-- 
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/7d162a58325b444ba9c91525d676c7cc%40mi.mun.ca.

Reply via email to