COPY NOT ALLOWING ON BOUNDARY_CONDITIONS? #2297
Replies: 5 comments 1 reply
-
Transferring this discussion to the PyFluent repository |
Beta Was this translation helpful? Give feedback.
-
@govindiitd Could you share the following information?
|
Beta Was this translation helpful? Give feedback.
-
Hi,
-> Ansys version Fluent: 2023R1
-> pyFluent Version: ansys-fluent-core 0.18.2, and installed using pip
-> I am running it as a jupyter-notebook
Regards,
Govind
…On Mon, Dec 11, 2023 at 11:48 PM Jess Sia ***@***.***> wrote:
@govindiitd <https://github.com/govindiitd> Could you share the following
information?
- Which version(s) of ANSYS Fluent do you have installed?
- Which version of PyFluent do you have installed and how did you
install it? (i.e. using pip install or by cloning from GitHub?)
- How are you running the example? Are you running it as a script or
as a Jupyter Notebook?
—
Reply to this email directly, view it on GitHub
<#2297 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4OBUZPL3ZBNGQR5RW364XLYI5E6DAVCNFSM6AAAAABAHVRZN6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMRTGA2TE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi Govind, Calling For example, to copy a boundary condition, you can run the TUI command Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi,
Thanks, letting me know about this. It works fine for me and I am able to
manage some other stuff as well.
Other thing:
"solver.results.graphics.contour["contour_vf_vapor"].display()" not
displaying any image in notebook. What should I do?
Regards,
Govind
…On Wed, Dec 13, 2023 at 4:12 AM Jess Sia ***@***.***> wrote:
Hi Govind,
Calling solver.setup.boundary_conditions.command_names or
solver.setup.boundary_conditions.get_active_command_names() shows that
the solver.setup.boundary_conditions.copy() PyFluent settings API method
is not available in 23R1. If you are not able to upgrade to 23R2, you could
replace the settings API calls with the equivalent TUI command.
For example, to copy a boundary condition, you can run the TUI command define/boundary-conditions/copy-bc
inlet_1 inlet_2 (). This can be called through PyFluent by solver.tui.define.boundary_conditions.copy_bc("inlet_1",
"inlet_2", ()).
Thanks,
Jess
—
Reply to this email directly, view it on GitHub
<#2297 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A4OBUZLWQWPW2DHGVBTWIYLYJDMUVAVCNFSM6AAAAABAHVRZN6VHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TQMZWGEYDC>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Hi,
I am starting to experience pyfluent with "cavitation" example. I get the following error message for
solver.setup.boundary_conditions.copy(from_="inlet_1", to="inlet_2"),
AttributeError: "copy" is not an allowed Settings objects name.
Regards,
Govind
Beta Was this translation helpful? Give feedback.
All reactions