flow360.Observer

flow360.Observer#

class Observer[source]#

Bases: Flow360BaseModel

Observer class for setting up the AeroAcousticOutput.observers.

Example

>>> fl.Observer(position=[1, 2, 3] * fl.u.m, group_name="1")

position: Annotated[_VectorType, PlainSerializer(func=_dimensioned_type_serializer, return_type=PydanticUndefined, when_used=always)] [Required]#

Position at which time history of acoustic pressure signal is stored in aeroacoustic output file. The observer position can be outside the simulation domain, but cannot be on or inside the solid surfaces of the simulation domain.

Constraints:
  • func = <function _dimensioned_type_serializer at 0x70391099c040>

  • return_type = PydanticUndefined

  • when_used = always

group_name: str [Required]#

Name of the group to which the observer will be assigned for postprocessing purposes in Flow360 web client.