cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X

Find Forces by solving 2nd order ODE with boundery conditions

dhugentobler
1-Newbie

Find Forces by solving 2nd order ODE with boundery conditions

Hi guys

I am pretty new to Mathcad and hope somebody can help me. I need to know the forces and torques acting on a flat spring I have in my machine. In order to do so I have to solve the 2nd order differential equation and put in the boundary conditions shown below. FMy and MM are not known.

ODE for Mathcad communitiy.PNG

In order to solve the equation with odesolve() I have to give values for all constants and it can only solve the problem for two boundary conditions. This is not helpful since I don't know FMy and MM.

What would be a smart approach to solve this problem?

Regards, Daniel

1 ACCEPTED SOLUTION

Accepted Solutions

It looks like you have a spring with both ends built-in and you're forcing one end to shift and adding an axial load.

You can solve this problem without solving the ODE:

View solution in original post

8 REPLIES 8
vlehner
13-Aquamarine
(To:dhugentobler)

Daniel,

please attach your worksheet

Regards, Volker

Volker

Daniel;

Two things:

  1. Prime is capable of handling units, even in differential equations.  So give your variables units to go with the values.
  2. Mathcad's solvers are set up more for initial value problems than boundary value problems.  There should be help for dealing with the situation.

And, as Volker says, attaching your sheet will give us a better chance at solving the problems.  (In the upper right corner is "Use Advanced Editor."  When you click that, The word "Attach" will appear in the lower right corner, and you can attach files to your entry.)

vlehner
13-Aquamarine
(To:dhugentobler)

First of all, you have to use Odesolve in a solve block.

Then we need initial conditions for solving the differentiel equation.

And we need the constants Fmy and Mmy.

What do you intend to calculate- i think it's a beam bending problem.

The values for E and I are looking strange.

you can work with units in a solve block

see attached sheet.

regards, Volker

Volker

Thanks for the prompt response. See the worksheet attached. You are correct, we are talking about a bending problem. The units are not the issue.

You say Volker that we need Fmy and Mm. But those are exactly the variables I have to find with my boundary conditions. Once I know them I can calculate the stress in the spring which is what I really need at the end.

In the attached worksheet you can see that I searched for Fmy and Mm by hand. That is quite troublesome. There must be a better way.

BR, Daniel

vlehner
13-Aquamarine
(To:dhugentobler)

Daniel,

maybe it helps you, if we create a function for eg. Fmy- see attachement please.

i assume, that you made some measurements to get data for Fmy.

These data you can apply with the function "polyfit" i created in your worksheet to get Fmy in dependence to x for example, Fmy------>f(x).

viel Glück damit, Gruß Volker

Volker

It looks like you have a spring with both ends built-in and you're forcing one end to shift and adding an axial load.

You can solve this problem without solving the ODE:

Thanks for this solution. That is exactly what I needed.

Now, make it work with units!

Top Tags