FEM: Frequency analysis

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

FEM: Frequency analysis

Post by PrzemoF »

GUI:
FEM wb got a new feature - frequency analysis. No force/pressure constraint required to run it. Currently generates results for 10 modes. Requires material with Density defined!

python:
FemTools got new functions:
- reset_all that resets FEM mesh to non-deformed, non coloured state and removes all result objects from the analysis. It's "factory reset" kind of function function
- show_colour_by_scalar_with_cutoff - allows to colur mesh using a list of values and a cutoff value. Any value from the list above the cutoff is replaced with the cutoff. Tha allows to colour mesh with hot spot problems (a few point that have very high, invalid values)
- show_result now accepts limit value. Internally uses show_colour_by_scalar_with_cutoff. An example call: analysis.show_result("Sabs", 10000) shows stress with cutoff point 10000 (all values above 10000 wil be limited to 10000)
- set_analysis_type - allows to set static or frequency analysis. An example call: analysis.set_analysis_type('frequency')
- set_base_name - allows to set base_name, allows to set file name used by load_results for loading externally created CalculiX frd file to existing analysis
- set_eigenmode_parameters - allows to set number of modes and lower/upper frequency cut off values. Default values are: 10 modes, 0 Hz, 1000000 Hz
User avatar
PrzemoF
Veteran
Posts: 3520
Joined: Fri Jul 25, 2014 4:52 pm
Contact:

Re: FEM: Frequency analysis

Post by PrzemoF »

More improvements of frequency analysis:
- analysis object has properties to set frequency limits and maximum mode number limit,
- FEM prefs allows to set default analysis type, frequency limits and maximum mode number limit,
- analysis object has property Analysis Type to set desired type of calculations (static or frequency),
- analysis object has property Working Dir that allows to have each analysis in a separate directory - that applies to static analysis as well,
- result objects have properties showing eigenmode number and frequency, so digging in .dat file is no longer required for those 2 parameters.
FreeCAD_FEM_2.png
FreeCAD_FEM_2.png (144.07 KiB) Viewed 3531 times
FreeCAD_FEM_1.png
FreeCAD_FEM_1.png (167.51 KiB) Viewed 3531 times
Post Reply