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:
Header commands to load the case file
Settings commands for the design case
Case commands for each analysis case
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