Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Artifact in vector display #454

Open
mkundu1 opened this issue Nov 14, 2024 · 0 comments
Open

Artifact in vector display #454

mkundu1 opened this issue Nov 14, 2024 · 0 comments
Assignees

Comments

@mkundu1
Copy link
Collaborator

mkundu1 commented Nov 14, 2024

import ansys.fluent.core as pyfluent
from ansys.fluent.visualization import Graphics, set_config
set_config(set_view_on_display="xy")
solver = pyfluent.launch_fluent(dimension=2)
solver.file.read_case_data(file_name="gascomb1.cas.h5") # Extract the attached zip for case/data
vector1 = Graphics(solver).Vectors["Velocity"]
vector1.field = "velocity-magnitude"
vector1.surfaces_list = vector1.surfaces_list.allowed_values
vector1.scale = 0.1
vector1.display("window-1")

Image
gascomb1.cas.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants