Should results be scaled for eigenmodes on result reading?
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
Should results be scaled for eigenmodes on result reading?
For the eigenmodes all results are scaled: https://github.com/FreeCAD/FreeCAD/blob ... #L232-L240 this was introduced from the beginning of frequency analysis. https://github.com/FreeCAD/FreeCAD/comm ... fa4929R212
IMHO these results should not be scaled on import!
How about other opinions? What does other software do?
bernd
IMHO these results should not be scaled on import!
How about other opinions? What does other software do?
bernd
Re: Should results be scaled for eigenmodes on result reading?
You’re right. Only the deformation shapes (eigenmodes) matter.
Re: Should results be scaled for eigenmodes on result reading?
Yes but “appropriate” is not well defined for eigenmodes. You can just scale by maximum value, for example: scale=0.01*max_coord_range/max_disp.
Re: Should results be scaled for eigenmodes on result reading?
And if you want to show numerical values you could scale to a maximum of 1.0
Re: Should results be scaled for eigenmodes on result reading?
ATM they are scaled to the mesh geometry (longest span in main directions.) on result import!
My idea is let the user decide how they should be scaled. Thus I would not scale them at all during result reading of frd file. This would mean in the result obj are exact the values from the frd file.
My idea is let the user decide how they should be scaled. Thus I would not scale them at all during result reading of frd file. This would mean in the result obj are exact the values from the frd file.
Re: Should results be scaled for eigenmodes on result reading?
Yes that would be an option. I never checked, but would presume that eigenvectors get normalised in Calculix before export. At least that’s how I used to program it. Either normalize on the maximum element or on length. Let’s assume it is on maximum element for a moment. In that case the maximum imported value would be 1, irrespective of length units used. So what is displayed (before user scaling) maybe tiny (if the user built the model in say thousands of millimeters) or huge (if he/she did it in fractions of a kilometer). I therefore think it would be smarter to pre-scale as (for example) scale=0.01*model_range/max_disp. Then what is shown before user intervention is independent of units used.
Re: Should results be scaled for eigenmodes on result reading?
thanks very much harry. I will do some tests with some frequency analysises.
Re: Should results be scaled for eigenmodes on result reading?
From my memory, so be careful: the displacement doesn't match anything in the real world. So the exact values from the frd file are not that important. Again, if I remember correctly it was scaled to show some displacement to the user and I didn't really care what's the scale because the displacement has no translation to the real world displacement. Unfortunately I can't find that information right now (I'll keep searching for it).HarryvL wrote: ↑Thu Feb 07, 2019 10:00 am Yes that would be an option. I never checked, but would presume that eigenvectors get normalised in Calculix before export. At least that’s how I used to program it. Either normalize on the maximum element or on length. Let’s assume it is on maximum element for a moment. In that case the maximum imported value would be 1, irrespective of length units used. So what is displayed (before user scaling) maybe tiny (if the user built the model in say thousands of millimeters) or huge (if he/she did it in fractions of a kilometer). I therefore think it would be smarter to pre-scale as (for example) scale=0.01*model_range/max_disp. Then what is shown before user intervention is independent of units used.
That comment:
Code: Select all
# Allow for max displacement to be 0.1% of the span
# FIXME - add to Preferences
I guess not scaling on import and adding scale to Preferences would be a perfect solution.
Edit: Found it! Take a look at this post: https://forum.freecadweb.org/viewtopic. ... 189#p98162