turbo_moc.fluent.stage.case module#
Fluent stage case: barotropic material, rotating rotor zone, mixing plane, periodicity and boundaries.
- turbo_moc.fluent.stage.case.configure_rotor_only(solver, mesh_file, state, expressions, point, options, inflow)[source]#
Rotor alone from the stage CGNS: stator cell zone deleted, rotor inlet a pressure inlet with the design relative inflow (direction in the relative frame, cylindrical: tangential along the rotation, axial from inlet to outlet). Same material, numerics, periodicity, outlet and walls as configure_stage.
- turbo_moc.fluent.stage.case.configure_stage(solver, mesh_file, state, expressions, point, options)[source]#
Import the stage CGNS and configure the complete, unsolved case.
Order matters in Fluent 24.2: periodic zones before the mixing plane (otherwise
make_periodicprompts interactively), the coupled scheme and the rotor frame motion beforeturbo-create.
- turbo_moc.fluent.stage.case.create_turbo_interface(solver, name, zone1, zone2, kind)[source]#
General turbo interface: mixing plane (averaged) or frozen rotor (no pitch change).
Fluent 24.2 creates a working interface only through the TUI command
turbo-create(0 pitch-scale, 1 no pitch-scale, 2 mixing plane, 3 standard); the settings-API turbo interface is listed but leaves the interface zones unassigned at initialization. Both need the coupled solver and periodic zones beside the interface.
- turbo_moc.fluent.stage.case.design_relative_inflow(output_dir, point)[source]#
Rotor inflow of the design triangle for a rotor-only case: static pressure, Fluent total pressure, angle.
The barotropic material makes Fluent report total pressure as p + rho w^2 / 2 (checked on the s65u50 stage: 103.14 kPa from Fluent vs 103.31 from p + rho w^2 / 2), so that is what the inlet gets, with p and rho on the rotor’s relative isentrope (stator losses included) at the triangle Mach number.
- turbo_moc.fluent.stage.case.replicate_passages(solver, row, zones, passages)[source]#
Copy a row’s passage by rotation and fuse the copies into one cell zone of
passagesblades.The frozen rotor needs both rows to span the same sector. The copied periodic faces that coincide become one interior zone; the two outer ones become the row’s periodic pair.
copy_move_cell_zonetakes radians.