Skip to content

Return Fields with time step values for transient simulations #237

Open
@GuillemBarroso

Description

@GuillemBarroso

Before submitting the issue

  • I have checked for Compatibility issues
  • I have searched among the existing issues
  • I am using a Python virtual environment

Description of the bug

The displacement for a transient simulation can be requested for all time steps as

from ansys.dpf.post import examples, load_simulation
simulation = load_simulation(examples.download_transient_result())
disp = simulation.displacement()
print(disp)

This was introduced in this PR.

And the information of the displacement is showed as:
image

The times are shown as integers instead of the real time value as shown below:

image

Steps To Reproduce

Execute code above.

Which Operating System are you using?

Windows

Which Python version are you using?

3.10

Installed packages

N/A

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions