turbo_moc.fluent.stage.extraction module#

Headless Fluent extraction of the solved stage: surfaces, integrals, mesh quality and residuals.

Everything the report needs is written to data_dir so that figures and tables can be rebuilt later without Fluent.

turbo_moc.fluent.stage.extraction.boundary(setup, row, name)[source]#
turbo_moc.fluent.stage.extraction.channel_radii(mesh_report)[source]#

Hub and shroud radii in metres from the app mesh report (constant-radius axial channel).

turbo_moc.fluent.stage.extraction.extract(case_file, setup, data_dir, options, radii)[source]#

Read case and data headless; write surfaces.npz and fluent_reports.json to data_dir.

turbo_moc.fluent.stage.extraction.fluent_reports(settings, setup)[source]#
turbo_moc.fluent.stage.extraction.mesh_quality(solver)[source]#
turbo_moc.fluent.stage.extraction.midspan_surface(row)[source]#
turbo_moc.fluent.stage.extraction.residual_table(transcript_dir, data_dir)[source]#

Residual history of the longest Fluent transcript, written to residuals.csv.

turbo_moc.fluent.stage.extraction.rows_of(setup)[source]#

Rows present in the case: both for a stage, the rotor alone for a rotor-only case.

turbo_moc.fluent.stage.extraction.surface_arrays(field_data, surface, wall)[source]#