Solving tricky functions

Solving tricky functions - Hertzian contact stress - Messages

#1 Posted: 2022/10/20 11:38:20
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.69 KiB) downloaded 693 time(s).
#2 Posted: 2022/10/20 11:48:46
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: 2022/10/20 17:34:39
overlord

overlord

580 likes in 1,348 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.28 KiB) downloaded 714 time(s).

Click to enlarge Click to enlarge
3 users liked this post
NDTM Amarasekera 2022/10/21 09:20:00, sergio 2022/10/21 05:43:00, Alvaro 2022/10/24 00:51:00
#4 Posted: 2022/10/21 07:52:33
Laurent Fournier

Laurent Fournier

9 likes in 66 posts.

Group: User

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

overlord

580 likes in 1,348 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 2022/10/23 20:58:00, Alvaro 2022/10/24 00:51:00
#6 Posted: 2022/10/24 09:26:26
Вячеслав Мезенцев

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

1,532 likes in 1,838 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 2022/10/26 14:25:00, Oscar Campo 2022/10/24 11:14:00, sergio 2022/10/25 14:02:00
#7 Posted: 2022/10/24 20:29:42
Oscar Campo

Oscar Campo

135 likes in 309 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.69 KiB) downloaded 693 time(s).



Solving by the old bisection method:
bisectionMethod.PNG

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

overlord

580 likes in 1,348 posts.

Group: Moderator

Solving with a custom algorithm.

Regards

contact stress calc_2.sm (21.66 KiB) downloaded 723 time(s).

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

Oscar Campo

135 likes in 309 posts.

Group: Moderator

Wrote

Solving with a custom algorithm.



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

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

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