fix: couple of issues in launch fluent - #4990
Conversation
….com/ansys/pyfluent into refactor/couple_issues_launch_fluent
Up to standards ✅🟢 Issues
|
….com/ansys/pyfluent into refactor/couple_issues_launch_fluent
|
@mayankansys Is the following happening in the lightweight-mode? bg session: read case + settings -> read journals -> make this as the main session -> apply changes that user made in the fg session The journals should be read in the background session which reads the full mesh before it. Additionally, I think the journals should be read in the foreground session also, because use will expect the journal is already read when they start making change in the activated foreground session. But I'm not sure if the journal has, e.g., a solve call, whether that will be a no-op when only settings are read. |
Thanks @mkundu1 for the question and to make sure I understand before I rework on this: The PR fixes the ordering but you're pointing at a separate problem which was, In lightweight mode the journals currently run on the foreground settings whihc doesn't have mesh. If the journal has solver call then I expect a solve in settings only session to either error or no-op which is more evidence the journals belong on the bg session. Kindly let me know what's you take on it. One issue while implementation can be the bg session is inside Before I move forwards kindly let me know:
|
…ournal_file condition
….com/ansys/pyfluent into refactor/couple_issues_launch_fluent
Co-authored-by: Mainak Kundu <94432368+mkundu1@users.noreply.github.com>
….com/ansys/pyfluent into refactor/couple_issues_launch_fluent
….com/ansys/pyfluent into refactor/couple_issues_launch_fluent
Context:
launch_fluent()had sequencing issues in startup flow:Change summary:
This PR refactors the launch flow in
launch_fluent()to enforce deterministic order:Impact: