Airfoil
- class Airfoil
Bases:
CommonBaseModel
Represents an airfoil section, a fundamental component in aircraft design for wings and control surfaces.
- Raises:
ValueError – If the spline is not provided.
Attributes Summary
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Summary
validate_spline
(value)Validates the spline defining the airfoil contour.
Attributes Documentation
- model_config: ClassVar[ConfigDict] = {'arbitrary_types_allowed': True, 'extra': 'allow', 'protected_namespaces': (), 'validate_assignment': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
Methods Documentation
- classmethod validate_spline(value)
Validates the spline defining the airfoil contour.
Methods:
validate_spline
(value)Validates the spline defining the airfoil contour.
Attributes:
__setattr__ handlers.
- classmethod validate_spline(value)
Validates the spline defining the airfoil contour.
- __pydantic_setattr_handlers__: ClassVar[Dict[str, Callable[[BaseModel, str, Any], None]]] = {}
__setattr__ handlers. Memoizing the handlers leads to a dramatic performance improvement in __setattr__