You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, community, I'm currently working on automating the solver session in ansys fluent, and basicly I have no knowledge in TUI command before, since the journaling of this part is only in gui-text at the moment, and I've been struggling with translating gui-text into python code by using ansys-fluent-core utility.
I've encountered a problem, which is how can I manage that more easily and systemmaticaly?
Is there any naming conventions when you guys implement that? (e.g. Set up/Boundary conditions in GUI is written in setup/boundary_conditions in pyfluent)
in jupyter notebook, after I've switched from messhing session to solver session with this line of code
solver=meshing.switch_to_solver()
''' then how do I, say, set the inlet in boundary_conditions as in pressure inlet, not as a the velocity inlet, is this the code? '''# solver.tui.define.boundary_conditions.set.pressure_outlet(# "outlet", [], "turb-intensity", 5, "quit"# )
in jupyter notebook, when I type solver.setup, and then type . + tab, why couldn't I get the typing recommendation list? Jupyter says it's an instance, in that case, how can I get to know the properties inside this solver.setup instance?
I've browsed through some documentations with this link: https://fluent.docs.pyansys.com/version/stable/, but it's way too much. I'd be really grateful If you guys can help me with some nice shortcuts, or just some explaination. Pardon my ignorance. Pyfluent is a nice project, thanks again!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, community, I'm currently working on automating the solver session in ansys fluent, and basicly I have no knowledge in TUI command before, since the journaling of this part is only in gui-text at the moment, and I've been struggling with translating gui-text into python code by using ansys-fluent-core utility.
I've encountered a problem, which is how can I manage that more easily and systemmaticaly?
Set up/Boundary conditions
in GUI is written insetup/boundary_conditions
in pyfluent)solver.setup
, and then type.
+ tab, why couldn't I get the typing recommendation list? Jupyter says it's an instance, in that case, how can I get to know the properties inside thissolver.setup
instance?I've browsed through some documentations with this link: https://fluent.docs.pyansys.com/version/stable/, but it's way too much. I'd be really grateful If you guys can help me with some nice shortcuts, or just some explaination. Pardon my ignorance. Pyfluent is a nice project, thanks again!
Beta Was this translation helpful? Give feedback.
All reactions