Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X
Hi
I make a very simple sheat (mechanical problem), i don't understand why blocksolve fail ?
I can to solve it with my hand and paper. For example , i find with my hand:
FA = -8978613,01
FS = -1038187,81
FO = -9333161,37
Can someone help me ?
Solved! Go to Solution.
Your system is inconsistent! Its coefficient determinant is zero. That's the reason you get no solution from the solve block with "find".
Also I wonder why you are using positive guesses when you expect negative results.
And why guesses of a magnitude of 1 N when you expect results in the range of a few MN ?
It looks to me that you did not check the results you got by manual calculation against the given three equations, right?
The results are far off!
I guess that there may be an error somewhere in the derivation of your equations,, but if you really want to use the equations as given, you could use "minerr" instead of "find" to get a solution with overall minimized deviations.
But you have to be aware that even slight changes in the guesses may result in huge differences in the results!
Just changing the guess of F.O from -2 MN to -1 MN turn all results into positive values. Nonetheless the check shows similar results.
Prime 11 sheet attached
In Mathcad 15 it is like this.
yes it's the same order of magnitude as my manual calculation (I make approximations) but I don't have the real mathcad unfortunately. I don't understand what's wrong? the goal is to find a geometry that minimizes FS... I'll have to do everything in iterative mode with excel if this continues...
Remove the dimension.
Can't confirm your result.
Did you correctly stripped the units - dividing lengths by the SI unit meter, not by millimeter just because they are defined that way?
Did you check the result of the left hand side of all three equations using your results? Did you really get all zeros? I doubt it!
When I strip the units, the solve block still finds no solution.
No wonder, as the system is inconsistent and actually there is no solution.
Using the matrix and vector from my previous post (stripping the units is necessary for "rank" to work):
As the rank of the coefficient matrix (2) is less than the dimension (3) , the system either has no solution or an infinite number of solutions. As the rank of the extended matrix (3) is larger than the rank of the coefficient matrix, the system has no solution at all!
EDIT: Just noticed that "stripUnit" would not had been necessary as XDN has already defined an equivalent function "dimless" in the collapsed region at the front. 😉
@XDN wrote:
yes it's the same order of magnitude as my manual calculation
?? Same order of magnitude???
Your results were all negative and the order of magnitude was 10^6.
Nicks results are all positive and the order of magnitude is 10^3.
Your system is inconsistent! Its coefficient determinant is zero. That's the reason you get no solution from the solve block with "find".
Also I wonder why you are using positive guesses when you expect negative results.
And why guesses of a magnitude of 1 N when you expect results in the range of a few MN ?
It looks to me that you did not check the results you got by manual calculation against the given three equations, right?
The results are far off!
I guess that there may be an error somewhere in the derivation of your equations,, but if you really want to use the equations as given, you could use "minerr" instead of "find" to get a solution with overall minimized deviations.
But you have to be aware that even slight changes in the guesses may result in huge differences in the results!
Just changing the guess of F.O from -2 MN to -1 MN turn all results into positive values. Nonetheless the check shows similar results.
Prime 11 sheet attached
Thank you, Werner. As always, you're brilliant, but my math skills aren't as good as yours, and it takes me time to understand your explanations. But it helps me make a lot of progress.
For my immediate problem, I've simplified the modeling a lot. I can easily calculate this with prime and trigonometry using three calculations... sometimes it's better to spend time simplifying things! Thanks again.
It seemed to me that your system is inconsistent and has no solution at all because it looked like the coefficient determinant is zero with the values given.
I tried to evaluate it using symbolic calculation and it looks like its not zero but very close to.
We even get a similar (but slightly different) result with numeric calculation as well if we let display the result in mm
So even when we use the symbolic engine to solve we don't get an absolutely correct result and I guess forces with a magnitude of 10^17 newton are of no value to you:
BTW, in case you want to experiment with the symbolic engine yourself, you have to define the unit "deg" in front of the sheet
because the symbolics does not know anything about units and you have to enable the option shown in the pic below to ensure that units stay labelled as units in calculation results.
You may solve the whole system symbolically. Simply clear the input variables for symbolic use
and either use symbolic evaluation with "solve" or your solve block (no guesses necessary) to get a symbolic solution:
As you can see I turned the solution into a function of the input variables which can be evaluated numerically using the specific input variables you calculated (they were only cleared for symbolic use but still kept their values for numeric calculations).
You can check using the symbolic result and the numeric values provided that the denominator of the solutions (all the same for all three result and its the determinant of the coefficient matrix) is incredibly small, hence the huge result values.
I would therefore say that, although the system is solvable from a mathematical point of view, in practice it must be considered unsolvable and too unstable.
Hi @XDN,
It's hard from your sketch to determine what the constraints are. It seem like the red rectangle is constrained to the x-axis and constrained from rotating, as I see no other members to hold it from translating in the y-direction and from rotating. And I assume O is a pinned joint and the other end of the piston is also a pinned joint (can't fully tell with the image cut off).
If that were the case then Fc is simply acting at A, and you can calculate Fb2 directly. Fb2 is then applied at S and you now you have a "two variables and two unknowns" system, in order to determine the force in the piston and Fb1.
I cannot see the reason to do a balance of moments, ∑M=0. That's if I am reading things right. 😉
Now, ignoring your sketch, your system of three equations 'looks' like you are modeling a structure of three pinned lingages all connected to a rigid body. I do the same style of equations when I am analyzing barges or analyzing 3D rigging arrangements. However, a system of three linkages to a point or a rigid body is already indeterminant. You actually have two valid equations ∑Fx=0 and ∑Fy=0 and three 'unknowns': FA, FS and FO. If you add the ∑M=0 equation, then you have a missing an additional 'unknown', which is a moment reaction. That is, if you don't have a reaction to keep your rigid body from rotating, then you don't have a statics calculation, you have a dynamic calculation and you need to allow the body to rotate and deflect until it comes to a minimum energy state.