RCAIDE.Library.Methods.Powertrain.Converters.Ducted_Fan.Performance.Blade_Element_Momentum_Theory.write_input_deck

write_input_deck#

write_input_deck(dfdc_object)[source]#

Writes the execution commands input deck for DFDC analysis.

Parameters:

dfdc_object (DFDCAnalysis) –

Analysis object containing the following attributes:
  • current_statusData
    Current analysis state
    • deck_filestr

      Path to the input deck file to be created

  • settingsData
    Configuration settings
    • filenamesData
      File path information
      • casestr

        Case name for DFDC

    • keep_filesbool

      Flag to retain intermediate files

  • geometryDuctedFan
    Ducted fan geometry with the following attributes:
    • tagstr

      Identifier for the ducted fan

    • number_of_rotor_bladesint

      Number of blades on the rotor

    • number_of_radial_stationsint

      Number of radial stations for blade definition

    • cruiseData
      Cruise conditions
      • design_thrustfloat

        Design thrust [N]

      • design_altitudefloat

        Design altitude [m]

      • design_angular_velocityfloat

        Design angular velocity [rad/s]

      • design_freestream_velocityfloat

        Design freestream velocity [m/s]

      • design_reference_velocityfloat

        Design reference velocity [m/s]

  • run_caseslist
    List of case objects with the following attributes:
    • tagstr

      Identifier for the case

    • altitudefloat

      Altitude for the case [m]

    • velocityfloat

      Freestream velocity for the case [m/s]

    • RPMfloat

      Rotational speed for the case [RPM]

Return type:

None

Notes

This function generates a DFDC input deck with the following sections:
  1. Header commands to load the case file

  2. Settings commands for the design case

  3. Case commands for each analysis case

  4. Quit command to terminate DFDC

The input deck follows the command structure required by DFDC, including:
  • Atmospheric conditions (altitude)

  • Reference and freestream velocities

  • Blade count and radial station count

  • RPM setting

  • Thrust target

  • Design and execution commands

  • Output file specifications

See also

RCAIDE.Library.Methods.Powertrain.Converters.Ducted_Fan.Blade_Element_Momentum_Theory.purge_files, RCAIDE.Library.Methods.Powertrain.Converters.Ducted_Fan.Blade_Element_Momentum_Theory.write_geometry, RCAIDE.Library.Methods.Powertrain.Converters.Ducted_Fan.Blade_Element_Momentum_Theory.run_dfdc_analysis

make_header_text(dfdc_object)[source]#
make_settings_text(dfdc_object)[source]#

Makes commands for case execution in DFDC

make_case_command(dfdc_object, case)[source]#

Makes commands for case execution in DFDC