Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement ModalMechanicalSimulation results (#289)
* Add modal_mechanical_simulation.py * Reorder arguments and docstrings in modal_mechanical_simulation.py * Fix test_load_simulation.py * Expose frequencies and modes for Modal results, and take first mode only by default. * Update all result methods and docstrings accordingly * Filter results according to list for modal * Fix (load_steps, sub_steps) logic. * Add stress tests for modal * Redirect modes to set_ids for modal * Test more results for modal * Add location argument to generic result methods of ModalMechanicalSimulation * Add location argument to generic result methods of StaticMechanicalSimulation * Add location argument to generic result methods of TransientMechanicalSimulation * Add Selection.select_nodes_of_elements * Allow for several named selections in Selection.select_named_selection * Fix SpatialSelection.select_nodes_of_elements * Switch ModalMechanicalSimulation._get_result to using Selection API and workflow. * Allow for multiple set_ids to correspond to a single "times" or "frequency" value. * Move set_ids and all_sets to bottom of signatures, update docstrings. * Swith StaticMechanicalSimulation._get_result and TransientMechanicalSimulation._get_result to using Selection API * Fix errors due to switch to Selection API * Fix TimeFreqSelection.select_time_freq_values by setting the field for values as scalar. * Always use eqv_fc * Fix Simulation._build_components_from_principal for string input. * Fix principal step to use invariants_fc. Cannot ask for multiple principal results anymore. The combination logic needs to be defined. * Update tests to not use EPEL1 and others but instead use the Mechanical-equivalent of invariants_fc * Initiate DataObjects with an Index * Initiate DataObjects with an Index * Fix DataObject init * Set scoping as output of result workflow to give as index argument ot DataObject * Add elastic_strain_eqv_von_mises to Transient * Add elastic_strain_eqv_von_mises to Static * Add elastic_strain_eqv_von_mises to Modal * Delay averaging when asking for eqv strain * Fix setting scoping as output for index of DataObject
- Loading branch information