Skip to content

Cyclic Result Analysis Plotting #412

Open
@norandex

Description

@norandex

🔍 Before submitting the issue

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

🐞 Description of the bug

I encounter some issues while trying to plot mode shape of cyclic analysis:

  1. why do the colors merge on the colorbar in some cases? Is there a way to fix color ranges?
    image

But in the other cases (cumulative indices) the colors are OK:
image

  1. There is a commented parameter in cyclic_reader.py:
    image
    This affects on the plot for certain cumulative indices.
    Could you please explain such behavior? Is there a way to automatically determine which formula we should use: result_combined = result - result_r * 1j or result_combined = result + result_r * 1j ?

📝 Steps to reproduce

from ansys.mapdl import reader as pymapdl_reader
from ansys.mapdl.reader import examples

result = examples.download_sector_modal()
result.plot_nodal_displacement(15, show_displacement=True,displacement_factor=0.001,cpos="yz",show_scalar_bar=True,full_rotor=True,cmap=["blue","cyan","aquamarine","lime","greenyellow","yellow","orange","red"])

💻 Which operating system are you using?

Windows

📀 Which ANSYS version are you using?

I'm using built-in example download_sector_modal. Ansys v15.0 i guess

🐍 Which Python version are you using?

3.10

📦 Installed packages

ansys-mapdl-core==0.64.1
ansys-mapdl-reader==0.53.0

Metadata

Metadata

Assignees

No one assigned

    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