You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pathlines.display() fails with the following error:
RuntimeError: Error while requesting data from server.(('type', 'pathlines-field'), ('field', 'velocity-magnitude'))
📝 Steps to reproduce
Run the following in a python interpreter:
import ansys.fluent.core as pyfluent
from ansys.fluent.core import examples
from ansys.fluent.visualization import set_config
from ansys.fluent.visualization.matplotlib import Plots
from ansys.fluent.visualization.pyvista import Graphics
🔍 Before submitting the issue
🐞 Description of the bug
pathlines.display() fails with the following error:
RuntimeError: Error while requesting data from server.(('type', 'pathlines-field'), ('field', 'velocity-magnitude'))
📝 Steps to reproduce
Run the following in a python interpreter:
import ansys.fluent.core as pyfluent
from ansys.fluent.core import examples
from ansys.fluent.visualization import set_config
from ansys.fluent.visualization.matplotlib import Plots
from ansys.fluent.visualization.pyvista import Graphics
set_config(blocking=True, set_view_on_display="isometric")
import_case = examples.download_file(
filename="exhaust_system.cas.h5", directory="pyfluent/exhaust_system"
)
import_data = examples.download_file(
filename="exhaust_system.dat.h5", directory="pyfluent/exhaust_system"
)
solver_session = pyfluent.launch_fluent(
precision="double", processor_count=2, start_transcript=False, mode="solver"
)
solver_session.tui.file.read_case(import_case)
solver_session.tui.file.read_data(import_data)
graphics = Graphics(session=solver_session)
pathlines = graphics.Pathlines["pathlines"]
pathlines.field = "velocity-magnitude"
pathlines.surfaces_list = ["inlet", "inlet1", "inlet2"]
pathlines.display()
💻 Which operating system are you using?
Windows
🐍 Which Python version are you using?
3.10
📦 Installed packages
The text was updated successfully, but these errors were encountered: