TAGGED: execute-commands, fluent
-
-
June 28, 2023 at 6:59 pm
Mathieu G
SubscriberHi,
I'm trying to change a BC during my calculation using the "Execute Command" function. I'm executing :
(if( < 0 (pick-a-real"/report/v-i/max 8 9, pressure n")) (ti-menu-load-string"/define/b-c/z-t 13 interior"))
It's working fine when tested in the TUI but during the actual calculation I'm seeing this error :
Error: eval: unbound variable
Error Object: 0
Any idea why it's not working in the execute command promt ?
Thanks
-
June 29, 2023 at 10:40 am
Rob
Ansys EmployeeExecute commands trigger every some iterations or once at a set iteration number (or timestep/time) so can you check if it's triggered once and then given an error or failed on the first attempt. I've never tried changing a boundary in this way, it's always been via UDF.
-
July 4, 2023 at 8:13 pm
Mathieu G
SubscriberI copy/paste the same command from a previous model and it worked. My guess is that the issue was coming from the quotation marks
-
-
July 5, 2023 at 7:43 am
Rob
Ansys EmployeePossibly, Scheme is very particular about syntax, order, what colour your socks are etc.
-
- You must be logged in to reply to this topic.

Boost Ansys Fluent Simulations with AWS
Computational Fluid Dynamics (CFD) helps engineers design products in which the flow of fluid components is a significant challenge. These different use cases often require large complex models to solve on a traditional workstation. Click here to join this event to learn how to leverage Ansys Fluids on the cloud, thanks to Ansys Gateway powered by AWS.

Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.

Ansys Blog
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Floating point exception in Fluent
- What are the differences between CFX and Fluent?
- Heat transfer coefficient
- Difference between K-epsilon and K-omega Turbulence Model
- Getting graph and tabular data from result in workbench mechanical
- The solver failed with a non-zero exit code of : 2
- Suppress Fluent to open with GUI while performing in journal file
- Mesh Interfaces in ANSYS FLUENT
- Time Step Size and Courant Number
- error: Received signal SIGSEGV
-
7592
-
4440
-
2953
-
1427
-
1322
© 2023 Copyright ANSYS, Inc. All rights reserved.