Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement TransientMechanicalSimulation results (#282)
* Use the time_scoping of the FieldsContainer and not its TimeFreqSupport * Add TransientMechanicalSimulation.displacement * Add TransientMechanicalSimulation.velocity and acceleration * Add TransientMechanicalSimulation.stress and all variants * Add TransientMechanicalSimulation.elastic_strain and all variants * Move TransientMechanicalSimulation and StaticMechanicalSimulation to individual modules * Confirm a first set of results for TransientMechanicalSimulation * Specify available component IDs for vectorial results. * Specify available component IDs for matrix results. * Specify available component IDs for principal results. Rework all. * Switching to node_ids and element_ids. * Add the case of list of named selections * Switch to node_ids in TestTransientMechanicalSimulation. * Add testing for list of named_selections. * Specify precedence of "selection" argument. * Mention priority order for filtering arguments. * Switch to node_ids, element_ids and named_selections in static_mechanical_simulation.py. * Add component info for vector results in static_mechanical_simulation.py * Add component info for matrix results in static_mechanical_simulation.py * Add component info for principal results in static_mechanical_simulation.py * Fix tests * Fix DataObject docstring * Fix 02-get_data_from_static_simulation.py * component_ids -> components * Also use set_ids, load_steps, and sub_steps, in signatures for transient_mechanical_simulation.py * _build_mesh_scoping now returns either a Scoping or an operator Output giving a Scoping. * sub_steps is now declared using a tuple for load_steps. Priority of arguments is given in the docstrings. * sub_steps is now declared using a tuple for load_steps. Priority of arguments is given in the docstrings. * Force mutual exclusivity of timefreq arguments, as well as of mesh scoping arguments * Add an "all_sets" argument which is set to True means all sets will be extracted. * Improve docstrings to explain extraction defaults in case of no argument given. * Add implementation for "times" input. * Reorder and fix all result methods signatures and docstrings.
- Loading branch information