TAGGED: apdl, python-apdl
-
-
April 9, 2024 at 9:38 amalejandro.fernandezSubscriberI use pydpf-core to create a model from a .rst file with results from an ANSYS APDL electromagnetic simulation, with Solid97 elements:Âfrom ansys.dpf import core as dpfÂmodel = dpf.Model(r"C:.....rst")ÂThe issue is that not all the results included in the .rst file apear in the Available results of the pyansys model created:Âprint(model)ÂAvailable results:- electric_potential: Nodal Electric Potential- element_nodal_forces: ElementalNodal Element nodal Forces- elemental_volume: Elemental Volume- stiffness_matrix_energy: Elemental Energy-stiffness matrix- artificial_hourglass_energy: Elemental Hourglass Energy- thermal_dissipation_energy: Elemental thermal dissipation energy- kinetic_energy: Elemental Kinetic Energy- co_energy: Elemental co-energy- incremental_energy: Elemental incremental energy- elemental_heat_generation: Elemental Elemental Heat Generation- structural_temperature: ElementalNodal Temperature- electric_flux_density: ElementalNodal Electric flux densityÂHere are missing important results as the magnetic vector potential, magnetic flux density and magnetic field. These results are actually included in the .rst file and can be normally accessed through the ANSYS Mechanical APDL application.ÂHow can this problem be fixed? Thank you.ÂAn issue ticked with further information has been created in the ansys/pydpf-core Github:https://github.com/ansys/pydpf-core/issues/1474Â
-
April 11, 2024 at 4:30 pmmrifeAnsys Employee
Hi AlejandroFN
There is not much you can do sticking only with PyDPF. Solid97 element type was 'undocumented' at version 17 so...8 major releases ago. While PyDPF is very new and open source. Meaning that it's result file reader is new. So the only PyDPF fix is to request a feature creation on the PyDPF GitHub site, which you have done. But I'd suggest that you also make a better case as to why the PyDPF developers should take this on. You are kind of in a tough spot asking them to develop new functionality for an MAPDL feature that does not exist anymore (from a developers perspective). Have you considered using an supported element type like solid236? Â
You may want to try the PyMAPDL Reader instead of PyDPF.
Alternatively you can use PyMAPDL.
Mike
-
April 12, 2024 at 9:40 amalejandro.fernandezSubscriber
Hi Mike,
Thank you very much for your response. I am trying PyMAPDL, it seems very useful and appropriate fo my purposes, very good suggestion, thanks!
Alejandro
-
- The topic ‘pydpf-core model from a .rst file does not have all the results available’ is closed to new replies.
- Problem with access to session files
- Ayuda con Error: “Unable to access the source: EngineeringData”
- At least one body has been found to have only 1 element in at least 2 directions
- Error when opening saved Workbench project
- Geometric stiffness matrix for solid elements
- How to apply Compression-only Support?
- How to select the interface delamination surface of a laminate?
- Timestep range set for animation export
- Image to file in Mechanical is bugged and does not show text
- SMART crack under fatigue conditions, different crack sizes can’t growth
-
1236
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.