Strategy for removing scheme-eval #1644
Replies: 4 comments
-
Interesting ! When can we expect the scheme-eval to be removed ? I keep getting this error half of the time : Fluent Launch string: C:\Program Files\ANSYS Inc\v231\fluent\ntbin\win64\fluent.exe 3ddp -t16 -sifile="C:\Users\ARD\AppData\Local\Temp\serverinfo-hjm8a5e3.txt" -nm -hidden |
Beta Was this translation helpful? Give feedback.
-
@zouki-dev |
Beta Was this translation helpful? Give feedback.
-
As of version 26.0 is it still supported? I get an error when I run something as simple as
The error is:
Any help would be greatly appreciated, as there are some actual scheme commands I would like to run |
Beta Was this translation helpful? Give feedback.
-
@cons013 Please try this:
Scheme eval examples - https://fluent.docs.pyansys.com/version/stable/user_guide/legacy/scheme.html |
Beta Was this translation helpful? Give feedback.
-
A. What is it?
Scheme-eval is currently a Fluent gRPC service and is exposed as an object under PyFluent session objects. It's also used in some Ansys internal products. It allows execution of arbitrary scheme code, including functions and other symbols exposed by Fluent. That exposure seems to be unconstrained.
B. Rationale for removing scheme-eval
Scheme-eval will not form part of the Fluent API because:
C. How is it used?
PyFluent depends on scheme-eval in two ways:
i. deprecate client-side service. It is commented and documented as such already but we should make that more formal and log a warning on usage
ii. move the client-side service behind a server-side API, keeping it deprecated
iii. eventually remove the server-side API
D. Staging the removal
E. Implied new and extended APIs
Beta Was this translation helpful? Give feedback.
All reactions