RCAIDE.Library.Methods.Aerodynamics.Athena_Vortex_Lattice.write_geometry
write_geometry#
- write_geometry(avl_object, run_script_path)[source]#
This function writes the translated aircraft geometry into text file read by AVL when it is called
- Assumptions:
None
- Source:
Drela, M. and Youngren, H., AVL, http://web.mit.edu/drela/Public/web/avl
- Inputs:
avl_object
- Outputs:
None
- Properties Used:
N/A
- make_header_text(avl_object)[source]#
This function writes the header using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_object.settings.flow_symmetry.xz_plane [-] avl_object.settings.flow_symmetry.xy_parallel [-] avl_object.settings.flow_symmetry.z_symmetry_plane [-] avl_object.vehicle.wings[‘main_wing’].areas.reference [meters**2] avl_object.vehicle.wings[‘main_wing’].chords.mean_aerodynamic [meters] avl_object.vehicle.wings[‘main_wing’].spans.projected [meters] avl_object.vehicle.mass_properties.center_of_gravity [meters] avl_object.vehicle.tag [-]
- Outputs:
header_text [-]
- Properties Used:
N/A
- make_surface_text(avl_wing, number_of_spanwise_vortices, number_of_chordwise_vortices)[source]#
This function writes the surface text using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_wing.symmetric avl_wing.tag
- Outputs:
surface_text
- Properties Used:
N/A
- make_body_text(avl_body, number_of_chordwise_vortices)[source]#
This function writes the body text using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_body.sections.horizontal avl_body.sections.vertical
- Outputs:
body_text
- Properties Used:
N/A
- make_wing_section_text(avl_section)[source]#
This function writes the wing text using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_section.origin [meters] avl_section.chord [meters] avl_section.twist [radians] avl_section.airfoil_coord_file [-]
- Outputs:
wing_section_text
- Properties Used:
N/A
- make_body_section_text(avl_body_section)[source]#
This function writes the body text using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_section.origin [meters] avl_section.chord [meters] avl_section.twist [radians] avl_section.airfoil_coord_file [-]
- Outputs:
body_section_text
- Properties Used:
N/A
- make_controls_text(avl_control_surface)[source]#
This function writes the control surface text using the template required for the AVL executable to read
- Assumptions:
None
- Source:
None
- Inputs:
avl_control_surface.tag [-] avl_control_surface.gain [-] avl_control_surface.x_hinge [-] avl_control_surface.hinge_vector [-] avl_control_surface.sign_duplicate [-]
- Outputs:
control_text
- Properties Used:
N/A