Sensor: about

Introduction

In Flux, sensors are entities that may be regarded as a probe for evaluating quantities related to the device being modeled in a project. The evaluated quantities may be defined at points (e.g., the magnetic flux density) or may be integrated along regions of the device (e.g., the force or torque at a region), or they may even represent global quantities, such as the magnetic energy or the overall Joule losses. The user may also define custom quantities through formulae and perform mathematical operations on physical quantities while defining a sensor.

This page discusses:
  • The inputs required to create a sensor.
  • When the definition of sensors is available in the life cycle of a project.
  • How to create a result from a sensor computation.

Definition

A sensor is associated with a support, and a physical quantity.

  • The support may be a point, a line, a surface, a volume or the entire domain
  • The physical quantity may be either:
    • A predefined value (e.g., energy, force, torque, etc.)
    • A user defined expression that may contain spatial quantities, formulae, and operators.

When to create a sensor?

A sensor can be created at any moment during the description of the project.

Sensor created Description
before solving
  • the sensor is evaluated automatically during the solving process
  • the sensor is directly available in post-processing
after solving
  • the sensor is evaluated afterward with the evaluate sensor command
  • the sensor is available in post-processing
Note: In Flux Skew, creating sensors before solving a scenario is possible through the command Create preview 3D.

Possible storage

It is possible to store a posteriori the result with current value of the sensor on condition that the sensor is evaluated, by means of the command New result with current value of the sensor.

This result (current value) of a sensor is stored as an entity in the general data tree. The path to this entity is the following: Post Processing ResultComputation Result.

Note: The result with current value of the sensor can equally be created and stored by means of the command Current value of an I/O parameter