pm_class_tri
Module Contents
Classes
Attributes
- class pm_class_tri.PanelMethodTri(solver_input_dict, threshold_angle=125.0, skip_geometry=False)
Bases:
object- __assemble_input_dict__()
- compute_TE_properties(threshold_angle=125, plot=False)
Computing trailing edge properties to set the Kutta condition
- compute_cell_adjacency(radius=1e-10)
Computing cell adjacency informatiom.
- declare_outputs(outputs)
Declare outputs to be saved
- evaluate()
Function call to set up and run the panel method.
The output is a dictionary containing the string names set in self.declare_outputs()
- import_mesh()
Importing the mesh using meshio.
- insert_TE_properties(TE_properties)
- insert_cell_adjacency(cell_adjacency_data)
- insert_grid_data(mesh, cell_adjacency_data, TE_properties)
- insert_mesh(mesh)
- overwrite_mesh(mesh)
- plot(data_to_plot, bounds=None, cmap='jet', camera=False, screenshot=False)
Plotting function for scalar field variables.
- print_output_options(output_names=False)
Prints the output options with a description + shape If no input is provided, the entire dictionary is printed.
Inputs: - output_names: list
Returns the output options dictionary
- setup_flow_properties()
Input velocity options - mach + sos to get V_inf - V_inf as a:
scalar
vector
grid
- setup_grid_properties(threshold_angle=125, plot=False)
Sets up the mesh, cell adjacency, and trailing edge properties.
The trailing edge can be tweaked using the threshold angle input.
- pm_class_tri.current_directory
- pm_class_tri.default_input_dict
- pm_class_tri.default_mesh_path
- pm_class_tri.output_options_dict