Skip to content

Commit 49a01ef

Browse files
[FXC-2064] Add point motion info to probe output docstrings (#1694)
Co-authored-by: Jim Bungener <[email protected]>
1 parent af5f0c2 commit 49a01ef

File tree

1 file changed

+20
-10
lines changed

1 file changed

+20
-10
lines changed

flow360/component/simulation/outputs/outputs.py

Lines changed: 20 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -926,17 +926,19 @@ def check_has_output_groups(cls, value):
926926

927927
class ProbeOutput(_OutputBase):
928928
"""
929-
:class:`ProbeOutput` class for setting output data probed at monitor points.
929+
:class:`ProbeOutput` class for setting output data probed at monitor points in the voulume of the domain.
930+
Regardless of the motion of the mesh, the points retain their positions in the
931+
global reference frame during the simulation.
930932
931933
Example
932934
-------
933935
934936
Define :class:`ProbeOutput` on multiple specific monitor points and monitor points along the line.
935937
936938
- :code:`Point_1` and :code:`Point_2` are two specific points we want to monitor in this probe output group.
937-
- :code:`Line_1` is from (1,0,0) * fl.u,m to (1.5,0,0) * fl.u,m and has 6 monitor points.
938-
- :code:`Line_2` is from (-1,0,0) * fl.u,m to (-1.5,0,0) * fl.u,m and has 3 monitor points,
939-
namely, (-1,0,0) * fl.u,m, (-1.25,0,0) * fl.u,m and (-1.5,0,0) * fl.u,m.
939+
- :code:`Line_1` is from (1,0,0) * fl.u.m to (1.5,0,0) * fl.u.m and has 6 monitor points.
940+
- :code:`Line_2` is from (-1,0,0) * fl.u.m to (-1.5,0,0) * fl.u.m and has 3 monitor points,
941+
namely, (-1,0,0) * fl.u.m, (-1.25,0,0) * fl.u.m and (-1.5,0,0) * fl.u.m.
940942
941943
>>> fl.ProbeOutput(
942944
... name="probe_group_points_and_lines",
@@ -991,6 +993,9 @@ class SurfaceProbeOutput(_OutputBase):
991993
:class:`SurfaceProbeOutput` class for setting surface output data probed at monitor points.
992994
The specified monitor point will be projected to the :py:attr:`~SurfaceProbeOutput.target_surfaces`
993995
closest to the point. The probed results on the projected point will be dumped.
996+
The projection is executed at the start of the simulation. If the surface that the point was
997+
projected to is moving (mesh motion), the point moves with it (it remains stationary
998+
in the reference frame of the target surface).
994999
9951000
Example
9961001
-------
@@ -1091,6 +1096,8 @@ def ensure_surface_existence(cls, value, param_info: ParamsValidationInfo):
10911096
class TimeAverageProbeOutput(ProbeOutput):
10921097
"""
10931098
:class:`TimeAverageProbeOutput` class for time average probe monitor output settings.
1099+
Regardless of the motion of the mesh, the points retain their positions in the
1100+
global reference frame during the simulation.
10941101
10951102
Example
10961103
-------
@@ -1121,9 +1128,9 @@ class TimeAverageProbeOutput(ProbeOutput):
11211128
The results are output every 10 physical step starting from the :math:`14^{th}` physical step
11221129
(14, 24, 34 etc.).
11231130
1124-
- :code:`Line_1` is from (1,0,0) * fl.u,m to (1.5,0,0) * fl.u,m and has 6 monitor points.
1125-
- :code:`Line_2` is from (-1,0,0) * fl.u,m to (-1.5,0,0) * fl.u,m and has 3 monitor points,
1126-
namely, (-1,0,0) * fl.u,m, (-1.25,0,0) * fl.u,m and (-1.5,0,0) * fl.u,m.
1131+
- :code:`Line_1` is from (1,0,0) * fl.u.m to (1.5,0,0) * fl.u.m and has 6 monitor points.
1132+
- :code:`Line_2` is from (-1,0,0) * fl.u.m to (-1.5,0,0) * fl.u.m and has 3 monitor points,
1133+
namely, (-1,0,0) * fl.u.m, (-1.25,0,0) * fl.u.m and (-1.5,0,0) * fl.u.m.
11271134
11281135
>>> fl.TimeAverageProbeOutput(
11291136
... name="time_average_probe_group_points",
@@ -1178,6 +1185,9 @@ class TimeAverageSurfaceProbeOutput(SurfaceProbeOutput):
11781185
:class:`TimeAverageSurfaceProbeOutput` class for time average surface probe monitor output settings.
11791186
The specified monitor point will be projected to the :py:attr:`~TimeAverageSurfaceProbeOutput.target_surfaces`
11801187
closest to the point. The probed results on the projected point will be dumped.
1188+
The projection is executed at the start of the simulation. If the surface that the point was
1189+
projected to is moving (mesh motion), the point moves with it (it remains stationary
1190+
in the reference frame of the target surface).
11811191
11821192
Example
11831193
-------
@@ -1209,9 +1219,9 @@ class TimeAverageSurfaceProbeOutput(SurfaceProbeOutput):
12091219
The results are output every 10 physical step starting from the :math:`14^{th}` physical step
12101220
(14, 24, 34 etc.).
12111221
1212-
- :code:`Line_1` is from (1,0,0) * fl.u,m to (1.5,0,0) * fl.u,m and has 6 monitor points.
1213-
- :code:`Line_2` is from (-1,0,0) * fl.u,m to (-1.5,0,0) * fl.u,m and has 3 monitor points,
1214-
namely, (-1,0,0) * fl.u,m, (-1.25,0,0) * fl.u,m and (-1.5,0,0) * fl.u,m.
1222+
- :code:`Line_1` is from (1,0,0) * fl.u.m to (1.5,0,0) * fl.u.m and has 6 monitor points.
1223+
- :code:`Line_2` is from (-1,0,0) * fl.u.m to (-1.5,0,0) * fl.u.m and has 3 monitor points,
1224+
namely, (-1,0,0) * fl.u.m, (-1.25,0,0) * fl.u.m and (-1.5,0,0) * fl.u.m.
12151225
12161226
>>> TimeAverageSurfaceProbeOutput(
12171227
... name="time_average_surface_probe_group_points",

0 commit comments

Comments
 (0)