TimeAverageForceDistributionOutput#
- class TimeAverageForceDistributionOutput[source]#
Bases:
ForceDistributionOutputTimeAverageForceDistributionOutputclass for time-averaged customized force and moment distribution output. Axis-aligned components are output for force and moment coefficients at the end of the simulation.Example
Calculate the average value starting from the \(4^{th}\) physical step.
>>> fl.TimeAverageForceDistributionOutput( ... name="spanwise", ... distribution_direction=[0.1, 0.9, 0.0], ... start_step=4, ... )
Specifying specific surfaces to include in the force integration (useful for automotive cases to exclude road/floor surfaces):
>>> fl.TimeAverageForceDistributionOutput( ... name="vehicle_x_distribution", ... distribution_direction=[1.0, 0.0, 0.0], ... entities=[volume_mesh["vehicle_body"], volume_mesh["wheels"]], ... number_of_segments=500, ... start_step=100, ... )
Attributes
- name: str#
Name of the TimeAverageForceDistributionOutput.
- Default:
'Time average force distribution output'
- 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
- start_step: int | Literal[-1]#
Physical time step to start calculating averaging. Important for child cases - this parameter refers to the global time step, which gets transferred from the parent case (see frequency parameter for an example).
- Default:
-1
Additional Constructors
- classmethod from_file(filename)#
Load a Flow360BaseModel from a .json file.
- Parameters:
filename (str)
- Return type:
Flow360BaseModel
Methods