How to get the profile of tire

29 views
Skip to first unread message

Alex Lan

unread,
Aug 11, 2023, 8:38:28 AM8/11/23
to ProjectChrono
Hi, I found there are no explaination for the "Profile" in a JSON file of tire. There is an array of 3 columns to descibe the profile. Is this "Profile" describing the entire contour of the tire or just a part of it? And how can I obtain the "Profile" of the tire that I have defined myself?

HUZAIFA MUSTAFA UNJHAWALA

unread,
Aug 11, 2023, 9:04:14 AM8/11/23
to ProjectChrono
Hello Alex,

The "Profile" struct information can be found here - https://api.projectchrono.org/structchrono_1_1vehicle_1_1_ch_a_n_c_f_tire_1_1_profile.html. It describes the entire contour with a cubic spline approximating the points. See piece of code below from the source code

src/chrono_vehicle/wheeled_vehicle/tire/ReissnerTire.cpp
// Create piece-wise cubic spline approximation of the tire profile.
// x - radial direction
// y - transversal direction
ChCubicSpline splineX(m_profile_t, m_profile_x);
ChCubicSpline splineY(m_profile_t, m_profile_y);


To define a mesh on the tire, you need to provide the "Profile" as input. I don't see how you would not have access to it already if you defined it yourself.

Alex Lan

unread,
Aug 11, 2023, 10:57:23 PM8/11/23
to ProjectChrono
Thanks! I got it!
Reply all
Reply to author
Forward
0 new messages