ForceDistributionOutput#
- class ForceDistributionOutput[source]#
Bases:
Flow360BaseModelForceDistributionOutputclass for customized force and moment distribution output. Axis-aligned components are output for force and moment coefficients at the end of the simulation.Example
Basic usage with default settings (all wall surfaces):
>>> fl.ForceDistributionOutput( ... name="spanwise", ... distribution_direction=[0.1, 0.9, 0.0], ... )
Specifying specific surfaces to include in the force integration (useful for automotive cases to exclude road/floor surfaces):
>>> fl.ForceDistributionOutput( ... name="vehicle_x_distribution", ... distribution_direction=[1.0, 0.0, 0.0], ... entities=[volume_mesh["vehicle_body"], volume_mesh["wheels"]], ... number_of_segments=500, ... )
Attributes
- distribution_direction: Axis#
Direction of the force distribution output.
- distribution_type: Literal['incremental', 'cumulative']#
Type of the distribution.
- Default:
'incremental'
- entities: EntityList[Surface, MirroredSurface], optional#
List of surfaces to include in the force integration. If not specified, all wall surfaces are included. This is useful for automotive cases to exclude road/floor surfaces.
- Default:
None
- number_of_segments: int#
Number of segments (bins) to use along the distribution direction. Default is 300 segments. Increasing this value provides higher resolution in the force distribution plot.
- Default:
300
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods