2 Graphical User Interface (GUI)
2.1 GUIX-H and NeuralFlow Hierarchy and Inter-Process Communication
As established in the architectural hierarchy outlined in Section 1.3.1, the operational framework of the software relies on a strict supervisor-worker paradigm where the GUIX-H process maintains absolute control over the underlying computational layers. To maintain complete user-interface responsiveness and prevent computational heavy-lifting from lagging the frontend, the communication between the graphical interface and the active solvers is handled entirely via an optimized, low-latency Inter-Process Communication (IPC) network layer.
Within this framework, a single, centralized GUIX-H process is fully capable of managing, orchestrating, and monitoring multiple independent NeuralFlow solver processes running concurrently on local or distributed high-performance computing hardware nodes. Each individual NeuralFlow instance spawned by the supervisor communicates with the master interface through a dedicated network interface utilizing a precise allocation of exactly four distinct TCP/IP ports.
By decoupling these network streams across four independent ports per solver instance, GUIX-H can cleanly isolate vital control commands from high-bandwidth visualization data, ensuring that the user interface retains instant responsiveness and rigid process control even during intense, massive scale multiphase CFD calculations.
Within this supervisor-worker paradigm, the graphical interface maintains absolute operational authority over all spawned computational instances, offering three distinct tiers of runtime process control:
Process Spawning and Initialization: Through the configuration panel, GUIX-H can instantiate a brand-new, independent NeuralFlow solver process by passing runtime parameters such as mesh dimensionality and parallel execution arguments. Upon triggering, the interface invokes the exact native binary, provisions the necessary operating system resources, and automatically binds the four-port IPC network architecture to establish a secure initial handshake.
Connect and Disconnect: The interface allows users to dynamically attach to any running NeuralFlow solver to extract real-time convergence data and visual field monitoring. Conversely, users can safely disconnect the GUI frontend from the solver process; this leaves the backend computational loop running uninterrupted in the background while freeing up local interface memory.
Graceful Termination: Through the control panel, GUIX-H can transmit a structured interrupt signal to a specific solver process. This prompts NeuralFlow to cleanly finalize its current iteration, execute an automated save of the current solution vectors to prevent data loss, and execute a controlled shutdown.
Operating System Kill: In scenarios involving severe numerical stagnation, unrecoverable matrix freezes, or user-initiated aborts, GUIX-H can bypass standard application protocols and issue low-level Operating System (OS) force-kill commands. This immediately terminates the targeted NeuralFlow process and instantly reclaims allocated CPU cores and system RAM.
Operational Note: All spawned solver instances are cataloged in a centralized table visible within the Solvers tab of the GUIX-H interface, located at the very top of the tab. In order to execute any of the process management operations described above (connect, disconnect, graceful termination, or OS kill) on a specific solver instance, the user must first explicitly select the target solver row from the table to focus the command context.
Simulation Naming Constraint: To maintain workspace data integrity and prevent directory path conflicts, two distinct NeuralFlow solver processes sharing the exact same "Simulation Name" identifier cannot coexist or execute simultaneously. Each spawned instance must be assigned a unique naming attribute to ensure proper log segregation, file tracking, and communication routing within the GUIX-H supervisor layer.
2.2 User Interface Components
2.2.4 Workflow Toolbar
The Workflow Toolbar serves as the central operational backbone of the GUIX-H interface. It is architected as a sequential, step-by-step pipeline that guides the user chronologically through the entire preprocessing, solver configuration, execution, and post-processing phases of a Computational Fluid Dynamics (CFD) simulation. By organizing the simulation setup into logical, left-to-right functional tabs, the toolbar minimizes configuration errors and ensures a streamlined engineering workflow.
2.2.4.1 Solvers Toolbar
Acts as the process management control center. It allows users to spawn new NeuralFlow solver instances, monitor active simulation runs, and dynamically control the connection, disconnection, or termination states of various backend computational processes linked to the master GUIX-H interface.
2.2.4.2 Grid Toolbar
Manages the import, manipulation, and diagnostic verification of the
computational mesh. Key capabilities include reading fresh mesh files,
performing bidirectional conversions between 2D planar and 2D
axisymmetric configurations, and exporting grid quality metrics. For 2D
axisymmetric simulations, it provides automated spatial translation
tools to shift the coordinate system of the computational grid directly
to the radial axis of symmetry (
2.2.4.3 Physics Toolbar
Governs the activation of physical models and temporal formulations. Users can select between steady-state and transient time-marching schemes and activate the specific physical modules required for the simulation, such as turbulence closure models, dispersed-phase multiphase formulations, and chemical species transport. It also exposes control parameters and physical coefficients associated with these active modules.
2.2.4.4 Materials Toolbar
Serves as the thermodynamic and physical property registry for the simulation. It catalogs all active fluid, solid, particle, and mixture materials. Users can import standardized material profiles from predefined databases directly into the active solver context or manually customize transport and state properties (such as density, viscosity, and thermal conductivity) to fit specialized simulation needs.
2.2.4.5 Zones Toolbar
Manages the volumetric subdomain definitions imported with the mesh. This panel catalogs all volumetric cell zones, allowing users to designate their physical state (such as fluid or solid subdomains) and pair them with the appropriate material definitions registered in the active case file.
2.2.4.6 B.C. Toolbar
Controls the enforcement of mathematical boundary states on the computational domain boundaries. It registers all face zones defined within the mesh file, enabling the user to assign specific boundary condition types (such as inlets, outlets, or walls) and define their respective hydrodynamic, thermal, or chemical boundary values.
2.2.4.7 Numerics Toolbar
Exposes the underlying spatial and temporal discretization controls of the solver. Users can configure the high-order spatial reconstruction methods, define physical upper and lower clipping limits for independent primitive variables to maintain solver stability, choose gradient calculation techniques, select slope limiters, and specify the approximate Riemann flux solver to resolve cell-face interface fluxes.
2.2.4.8 I.C. Toolbar
Manages the initialization of the flow field. The panel catalogs all volumetric cell zones, allowing the user to specify distinct, zone-specific initial conditions (such as localized pressure, temperature, or phase fraction patches) to establish a physically realistic starting state before commencing the primary calculation.
2.2.4.9 Monitor Toolbar
Defines the runtime data logging, diagnostic tracking, and automated backup schedules. This panel allows users to configure the auto-save frequency, define surface and boundary zones for automated export into the VTU file format, configure spatial point probes or surface reports for transient tracking, and customize convergence parameters for residual plots and console printouts.
2.2.4.10 Solution Control Toolbar
Houses the execution and numerical stability parameters of the
solver. Users can configure the CFL number, maximum iteration limits,
physical time-step sizes (
2.2.4.11 Solve Pushbutton
A high-priority interactive pushbutton that acts as the immediate simulation trigger. It allows users to instantly launch the numerical calculation, pause the iteration loop to evaluate intermediate results, or gracefully halt/stop the active run without losing computed state vectors.
2.2.4.12 Postprocess Toolbar
Provides localized spatial visualization and data extraction tools directly within the interface. It displays a list of face sections and surface boundaries alongside their associated flow-field variables. Users can render custom-scaled color contours of converged variables, generate 2D cutting planes (slices) through 3D geometries, extract linear data profiles between two user-defined coordinate points (line plots), and compute surface integrals over designated boundaries to extract integral parameters like mass flow rates or heat fluxes.