Skip to content

is there any way to substitute the value and using contour.display to show the figure #3394

Answered by prmukherj
alwaysbyx asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @alwaysbyx,
If we understand your query correctly, you want to display your custom data in fluent interface using PyFluent. For this, we have a separate solution variables interface. Below is a sample script which can be used to achieve it:

import ansys.fluent.core as pf
s = pf.launch_fluent(ui_mode="gui")

from ansys.fluent.core import examples
import_file_name = examples.download_file("mixing_elbow.cas.h5", "pyfluent/mixing_elbow")
examples.download_file("mixing_elbow.dat.h5", "pyfluent/mixing_elbow")

solution_variable_data = s.fields.solution_variable_data

s.file.read_case_data(file_name=import_file_name)

Create and display the original temperature data:

s.…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by prmukherj
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3388 on October 16, 2024 05:21.