|
4 | 4 | Browse result metadata |
5 | 5 | ********************** |
6 | 6 |
|
7 | | -In addition to the :class:`DpfSolution <ansys.dpf.post.dpf_solution.DpfSolution>` |
| 7 | +In addition to the :class:`Simulation <ansys.dpf.post.simulation.Simulation>` |
8 | 8 | object being the entry point for browsing the contents of a result file, it provides |
9 | 9 | important metadata, such as the analysis type and the available results. |
10 | 10 |
|
11 | 11 | Here is how you browse result metadata: |
12 | 12 |
|
13 | 13 | .. code:: python |
14 | 14 |
|
15 | | - Instantiate the solution object |
| 15 | + Instantiate the simulation object |
16 | 16 |
|
17 | 17 | >>> from ansys.dpf import post |
18 | 18 | >>> from ansys.dpf.post import examples |
19 | | - >>> solution = post.load_solution(examples.multishells_rst) |
| 19 | + >>> simulation = post.load_simulation(examples.multishells_rst) |
20 | 20 |
|
21 | 21 | Browse result metadata |
22 | 22 |
|
23 | | - >>> result_info = solution.get_result_info() |
24 | | - >>> print(result_info) |
| 23 | + >>> print(simulation) |
| 24 | + Static Mechanical Simulation. |
| 25 | +
|
| 26 | +
|
| 27 | + Data Sources |
| 28 | + ------------------------------ |
| 29 | + DPF DataSources: |
| 30 | + Result files: |
| 31 | + result key: rst and path: d:\ansysdev\sandbox\pydpf-core\src\ansys\dpf\core\examples\model_with_ns.rst |
| 32 | + Secondary files: |
| 33 | +
|
| 34 | +
|
| 35 | + DPF Model |
| 36 | + ------------------------------ |
25 | 37 | Static analysis |
26 | | - Unit system: Metric (m, kg, N, s, V, A) |
27 | | - Physics Type: Mecanic |
| 38 | + Unit system: MKS: m, kg, N, s, V, A, degC |
| 39 | + Physics Type: Mechanical |
28 | 40 | Available results: |
29 | | - - displacement |
30 | | - - force |
31 | | - - stress |
32 | | - - volume |
33 | | - - energy_stiffness_matrix |
34 | | - - hourglass_energy |
35 | | - - thermal_dissipation_energy |
36 | | - - kinetic_energy |
37 | | - - co_energy |
38 | | - - incremental_energy |
39 | | - - strain |
40 | | - - temperature |
41 | | -
|
42 | | -
|
43 | | -DPF-Post supports four different analysis types: |
| 41 | + - displacement: Nodal Displacement |
| 42 | + - reaction_force: Nodal Force |
| 43 | + - stress: ElementalNodal Stress |
| 44 | + - elemental_volume: Elemental Volume |
| 45 | + - stiffness_matrix_energy: Elemental Energy-stiffness matrix |
| 46 | + - artificial_hourglass_energy: Elemental Hourglass Energy |
| 47 | + - thermal_dissipation_energy: Elemental thermal dissipation energy |
| 48 | + - kinetic_energy: Elemental Kinetic Energy |
| 49 | + - co_energy: Elemental co-energy |
| 50 | + - incremental_energy: Elemental incremental energy |
| 51 | + - elastic_strain: ElementalNodal Strain |
| 52 | + - structural_temperature: ElementalNodal Temperature |
| 53 | + ------------------------------ |
| 54 | + DPF Meshed Region: |
| 55 | + 7079 nodes |
| 56 | + 4220 elements |
| 57 | + Unit: m |
| 58 | + With solid (3D) elements, shell (2D) elements, shell (3D) elements |
| 59 | + ------------------------------ |
| 60 | + DPF Time/Freq Support: |
| 61 | + Number of sets: 1 |
| 62 | + Cumulative Time (s) LoadStep Substep |
| 63 | + 1 1.000000 1 1 |
| 64 | +
|
| 65 | +
|
| 66 | +PyDPF-Post supports four different analysis types for mechanical results: |
44 | 67 |
|
45 | 68 | * Static analysis |
46 | 69 | * Modal analysis |
47 | 70 | * Harmonic analysis |
48 | 71 | * Transient analysis |
49 | 72 |
|
| 73 | +The legacy Solution object also supports thermal and electrical results. |
| 74 | + |
50 | 75 | Mesh |
51 | 76 | ---- |
52 | | -From the ``Solution`` object, you can also access the mesh: |
| 77 | +From the ``Simulation`` object, you can also access the mesh: |
53 | 78 |
|
54 | 79 | .. code:: python |
55 | 80 |
|
56 | | - Instantiate the solution object |
| 81 | + Instantiate the simulation object |
57 | 82 |
|
58 | 83 | >>> from ansys.dpf import post |
59 | 84 | >>> from ansys.dpf.post import examples |
60 | | - >>> solution = post.load_solution(examples.multishells_rst) |
| 85 | + >>> simulation = post.load_simulation(examples.multishells_rst) |
61 | 86 |
|
62 | 87 | Access the mesh |
63 | 88 |
|
64 | | - >>> mesh = solution.mesh |
| 89 | + >>> mesh = simulation.mesh |
65 | 90 | >>> print(mesh) |
66 | | - Meshed Region |
67 | | - 7079 nodes |
68 | | - 4220 elements |
69 | | - Unit: m |
| 91 | + DPF Mesh: |
| 92 | + 7079 nodes |
| 93 | + 4220 elements |
| 94 | + Unit: m |
| 95 | + With solid (3D) elements, shell (2D) elements, shell (3D) elements |
70 | 96 |
|
0 commit comments