turbo_moc.app.application module#

Row-aware TurboMoC geometry and meshing workspaces.

turbo_moc.app.application.actual_blade_count(value, row_id)[source]#
turbo_moc.app.application.blade_field_visible(kind, name)[source]#
turbo_moc.app.application.blade_geometry_group(values, identifier)[source]#
turbo_moc.app.application.bladegen_card(title, status, report, reference)[source]#
turbo_moc.app.application.cached_preview(key, design)[source]#
turbo_moc.app.application.cad_card(title, status, report, reference)[source]#
turbo_moc.app.application.cad_controls(row, family)[source]#
turbo_moc.app.application.calculation_controls(project)[source]#
turbo_moc.app.application.control_point_editor()[source]#
turbo_moc.app.application.controls(value, prefix, row_id, *, hidden_paths=())[source]#

Stable row IDs separate field ownership from display order.

turbo_moc.app.application.create_app(config_file=None, output_dir=None)[source]#
turbo_moc.app.application.empty(title)[source]#
turbo_moc.app.application.flow_domain_controls(project, row)[source]#

Retain solitary-row values while shared boundaries derive their extent.

Hidden controls remain mounted so switching to a single row restores its saved extension, instead of writing the derived assembly value into YAML.

turbo_moc.app.application.flow_group(component, row_id, kind, part)[source]#

Outlet condition: hidden for blades built from geometry alone. The inlet group stays (coupling selector and rotor speed); its manual thermodynamic fields are hidden by rotor_inlet_display for those blades.

turbo_moc.app.application.fluid_dropdown(identifier, value)[source]#
turbo_moc.app.application.fluid_inlet_controls(parameters, prefix, row_id, *, rotor=False)[source]#
turbo_moc.app.application.fluid_options()[source]#
turbo_moc.app.application.geometric_blade_groups(design, row_id, coupled=False)[source]#

Parameter groups of the geometry-only rotor blades, always mounted and shown for the selected type.

Saved values are shown, else the defaults. Hidden groups are ignored on edit (workflow.edited_project), so a vortex row never gains these inputs and keeps its job identities. With the inlet coupled to the stator exit, the inlet angle comes from the velocity triangle: its manual field is hidden (kept for the manual inlet).

turbo_moc.app.application.group(title, children)[source]#
turbo_moc.app.application.internal_domain_sides(project, row_id)[source]#

Identify internal boundaries without requiring a currently valid gap.

turbo_moc.app.application.meridional_controls(dimensions, row_id)[source]#
turbo_moc.app.application.moc_controls(parameters, row_id, exclude=())[source]#
turbo_moc.app.application.natural_blade_box(row_id)[source]#
turbo_moc.app.application.nozzle_mesh_sidebar(row, settings)[source]#
turbo_moc.app.application.nozzle_mode(project)[source]#
turbo_moc.app.application.nozzle_setup(project)[source]#
turbo_moc.app.application.number_field(row_id, path, label, value, kind=None)[source]#
turbo_moc.app.application.outlet_controls(parameters, row_id, section='method_of_characteristics')[source]#
turbo_moc.app.application.read_uploaded_project(contents)[source]#

Decode and validate a browser upload before changing any settings.

turbo_moc.app.application.ready_rows(state, registry)[source]#

Yield current row profiles, resolving coupled inlet dependencies first.

turbo_moc.app.application.reference_artifact(session, job)[source]#
turbo_moc.app.application.report_panel(summary, report)[source]#
turbo_moc.app.application.rotor_blade_fields(design, row_id)[source]#

Vortex-solver inputs, each shown only for the blade types that read it.

turbo_moc.app.application.rotor_inlet_controls(geometry, row_id, combined)[source]#

Keep manual values mounted while coupled values use separate read-only cells.

This preserves the user’s independent inlet state when toggling coupling, and prevents calculated values from feeding back into editable settings.

turbo_moc.app.application.row_controls(project, row)[source]#
turbo_moc.app.application.row_label(row)[source]#
turbo_moc.app.application.selected_references(state, registry)[source]#
turbo_moc.app.application.shared_domain_readout(project, row_id)[source]#

Show physical distances, not the inactive conformal chord fractions.

turbo_moc.app.application.sidebar(project)[source]#
turbo_moc.app.application.viewport(name)[source]#
turbo_moc.app.application.volume_artifact(session, job)[source]#