component
Module Contents
Classes
The base component class. |
|
Functions
|
- class component.Component(geometry: Union[lsdo_function_spaces.FunctionSet, None] = None, compute_surface_area: bool = True, skip_ffd: bool = False, **kwargs)
The base component class.
Attributes
- compsdictionary
Dictionary of the sub/children components
geometry : Union[Geometry]
- quantitiesdictionary
General container data; by default contains - mass_properties - function_spaces - meshes
- _constant_b_spline_1_dof_space
- _cubic_b_spline_5_dof_space
- _instance_count = 0
- _is_copy = False
- _linear_b_spline_2_dof_space
- _linear_b_spline_3_dof_space
- _quadratic_b_spline_3_dof_space
- _skip_ffd = False
- parent
- _compute_surface_area(geometry: lsdo_geo.Geometry)
- abstract _extract_geometric_quantities_from_ffd_block()
- _find_system_component(parent) lsdo_function_spaces.FunctionSet
Find the top-level system component by traversing the component hiearchy
- _make_ffd_block(entities, num_coefficients: tuple = (2, 2, 2), order: tuple = (1, 1, 1), num_physical_dimensions: int = 3)
Call ‘construct_ffd_block_around_entities’ function.
This method constructs a Cartesian FFD block with linear B-splines and 2 degrees of freedom in all dimensions.
- abstract _setup_ffd_block()
- abstract _setup_ffd_parameterization()
- _setup_geometry(parameterization_solver, ffd_geometric_variables, plot=False)
- abstract actuate()
- create_subgeometry(search_names: list[str], ignore_names: list[str] = []) lsdo_function_spaces.FunctionSet
Create a sub-geometry by providing the search names of the e.g., OpenVSP component.
This method can be overwritten by subcomponents to be tailored toward specific needs, e.g., to make a new sub-component from the OML, like a spar from the wing OML
- plot()
Plot a component’s geometry.
- class component.ComponentParameters
- class component.ComponentQuantities(mass_properties: CADDEE_alpha.utils.var_groups.MassProperties = None, material_properties: CADDEE_alpha.utils.var_groups.MaterialProperties = None, drag_parameters: CADDEE_alpha.utils.var_groups.DragBuildUpQuantities = None)
- property drag_parameters
- property mass_properties
- property material_properties
- class component.VectorizedAttributes(attribute_list, num_nodes)
- __getattr__(name)
- __setattr__(name: str, value) None
Implement setattr(self, name, value).
- component.unpack_attributes(obj, _depth=0, _visited=None)