Solving tricky functions

Solving tricky functions - Hertzian contact stress - Messages

#1 Posted: 10/20/2022 11:38:20 AM
ryno

ryno

0 likes in 2 posts.

Group: User

Good day everyone,
I am building a Hertzian stress calculator and got stuck at the step where I calculate the k value for a particular B/A reationship.
Any help will be appriciated
contact stress calc.sm (22 KiB) downloaded 44 time(s).
#2 Posted: 10/20/2022 11:48:46 AM
ryno

ryno

0 likes in 2 posts.

Group: User

We also know than K will always be in the range (0,1)
The equations presented above is obtained from the book Advanced Mechanics of Materials by Boresi Et al
#3 Posted: 10/20/2022 5:34:39 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

In case of these functions, al_nleqsolve() can be the answer.
No other solver is capable other than al_nleqsolve().
k' should be under line, otherwise not solveable.
Here is your function solved.

Regards

contact stress calc_1.sm (28 KiB) downloaded 45 time(s).

Click to enlarge Click to enlarge
3 users liked this post
NDTM Amarasekera 10/21/2022 9:20:00 AM, sergio 10/21/2022 5:43:00 AM, Alvaro Diaz Falconi 10/24/2022 12:51:00 AM
#4 Posted: 10/21/2022 7:52:33 AM
Laurent Fournier

Laurent Fournier

9 likes in 66 posts.

Group: User

I'm super impressed !!!
#5 Posted: 10/23/2022 4:46:37 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Wrote

Your original document is circular and indigestible.
From un-sourced [K,E] and arbitrary datum ... solve.


This sample is not appropriate.
As you have said, it is only solvable when K and E already given.
roots() can't solve without K and E given or calculated separately.
And you can't calculate K and E while not knowing what k is.

Your sample is not what OP wants.
He means to solve that complicated Q function.
Without any parameter or variable of K and E are pre-given.
2 users liked this post
Oscar Campo 10/23/2022 8:58:00 PM, Alvaro Diaz Falconi 10/24/2022 12:51:00 AM
#6 Posted: 10/24/2022 9:26:26 AM
Вячеслав Мезенцев

Вячеслав Мезенцев

1402 likes in 1708 posts.

Group: Moderator

With elliptic integrals from GSL and Cephes library.

Click to enlarge Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
3 users liked this post
Alvaro Diaz Falconi 10/26/2022 2:25:00 PM, Oscar Campo 10/24/2022 11:14:00 AM, sergio 10/25/2022 2:02:00 PM
#7 Posted: 10/24/2022 8:29:42 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

Good day everyone,
I am building a Hertzian stress calculator and got stuck at the step where I calculate the k value for a particular B/A reationship.
Any help will be appriciated
contact stress calc.sm (22 KiB) downloaded 44 time(s).



Solving by the old bisection method:
bisectionMethod.PNG

contact stress calc_by_bisection.sm (26 KiB) downloaded 21 time(s).
2 users liked this post
sergio 10/25/2022 2:02:00 PM, Alvaro Diaz Falconi 10/26/2022 2:25:00 PM
#8 Posted: 10/25/2022 12:01:21 PM
overlord

overlord

552 likes in 1332 posts.

Group: Moderator

Solving with a custom algorithm.

Regards

contact stress calc_2.sm (21 KiB) downloaded 26 time(s).

2022-10-24_23-06.png
3 users liked this post
Oscar Campo 10/25/2022 12:07:00 PM, sergio 10/25/2022 2:02:00 PM, Вячеслав Мезенцев 10/25/2022 12:43:00 PM
#9 Posted: 10/25/2022 12:08:25 PM
Oscar Campo

Oscar Campo

124 likes in 298 posts.

Group: Moderator

Wrote

Solving with a custom algorithm.



Very elegant!
#10 Posted: 10/28/2022 8:38:03 AM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

... slightly refreshed/augmented
Absent of comments from Originator !
Cheers ... Jean.

Solve Circular Elliptic Datum Native Copy.sm (68 KiB) downloaded 37 time(s).
  • New Posts New Posts
  • No New Posts No New Posts