Solving tricky functions

Solving tricky functions - Hertzian contact stress - Messaggi

#1 Pubblicato: 20/10/2022 11:38:20
ryno

ryno

0 apprezzamenti in 2 post.

Gruppo: 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) scaricato 1284 volta(e).
#2 Pubblicato: 20/10/2022 11:48:46
ryno

ryno

0 apprezzamenti in 2 post.

Gruppo: 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 Pubblicato: 20/10/2022 17:34:39
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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) scaricato 1337 volta(e).

Click to enlarge Click to enlarge
3 utenti hanno apprezzato questo post
NDTM Amarasekera 21/10/2022 09:20:00, sergio 21/10/2022 05:43:00, Alvaro 24/10/2022 00:51:00
#4 Pubblicato: 21/10/2022 07:52:33
Laurent Fournier

Laurent Fournier

9 apprezzamenti in 66 post.

Gruppo: User

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

overlord

600 apprezzamenti in 1.381 post.

Gruppo: 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 utenti hanno apprezzato questo post
Oscar Campo 23/10/2022 20:58:00, Alvaro 24/10/2022 00:51:00
#6 Pubblicato: 24/10/2022 09:26:26
Вячеслав Мезенцев

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

1.558 apprezzamenti in 1.868 post.

Gruppo: Moderator

With elliptic integrals from GSL and Cephes library.

Click to enlarge Click to enlarge
Russia ☭ forever, Viacheslav N. Mezentsev
3 utenti hanno apprezzato questo post
Alvaro 26/10/2022 14:25:00, Oscar Campo 24/10/2022 11:14:00, sergio 25/10/2022 14:02:00
#7 Pubblicato: 24/10/2022 20:29:42
Oscar Campo

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: 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) scaricato 1284 volta(e).



Solving by the old bisection method:
bisectionMethod.PNG

contact stress calc_by_bisection.sm (26,36 KiB) scaricato 1292 volta(e).
2 utenti hanno apprezzato questo post
sergio 25/10/2022 14:02:00, Alvaro 26/10/2022 14:25:00
#8 Pubblicato: 25/10/2022 12:01:21
overlord

overlord

600 apprezzamenti in 1.381 post.

Gruppo: Moderator

Solving with a custom algorithm.

Regards

contact stress calc_2.sm (21,66 KiB) scaricato 1319 volta(e).

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

Oscar Campo

135 apprezzamenti in 309 post.

Gruppo: Moderator

Wrote

Solving with a custom algorithm.



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

Jean Giraud

983 apprezzamenti in 6.866 post.

Gruppo: User

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

Solve Circular Elliptic Datum Native Copy.sm (68,97 KiB) scaricato 1369 volta(e).
  • Nuovi post
  • Nessun nuovo post