turbo_moc.fluent.workflow_2d module#

Generate a 2D MoC mesh, barotropic model and staged Fluent solution.

Run python -m examples.fluent_2D.run_fluent_case. Settings live in the workflow YAML; the launcher accepts an optional –config.

turbo_moc.fluent.workflow_2d.configure_fluent(solver, mesh_file, state, expressions, pitch_m, options)[source]#

Configure a steady pressure-based coupled setup, without initialization.

turbo_moc.fluent.workflow_2d.configure_periodicity(settings, expected, pitch_m, vertices)[source]#

Use imported conformity or explicitly pair the two pitchwise boundaries.

turbo_moc.fluent.workflow_2d.export_contours(solver, options, output_dir)[source]#

Render static pressure and barotropic Mach number using Fluent graphics.

turbo_moc.fluent.workflow_2d.main(config_file)[source]#

Run the workflow with numbered progress shared by the console and log.

turbo_moc.fluent.workflow_2d.prepare_contour_graphics(solver, options, pitch_m)[source]#

Define whole-passage contours and native translational periodic instances.

A cell zone needs an explicit zone surface to serve as a contour surface. Instancing is a display operation: the computation still has one passage.

turbo_moc.fluent.workflow_2d.read_workflow(config_file)[source]#

Load workflow settings and the existing, independently usable MoC YAML.

turbo_moc.fluent.workflow_2d.run_stages(solver, options, output_dir, state)[source]#

Run shared stages, retaining the 2D module’s diagnostic extension points.

turbo_moc.fluent.workflow_2d.save_fluent_case(pyfluent, workflow, mesh_file, state, expressions, pitch_m)[source]#

Create or solve a 2D case through the shared Fluent session lifecycle.

turbo_moc.fluent.workflow_2d.validate_workflow(workflow, config_file)[source]#

Validate parsed inputs separately so configuration errors can be logged.