Skip to content

Commit

Permalink
replace zone_names
Browse files Browse the repository at this point in the history
  • Loading branch information
millerj97 committed Dec 17, 2024
1 parent 129cb5d commit 22e7810
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/source/user_guide/solver_settings/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -245,21 +245,21 @@ These examples accesses the list of zone surfaces:
.. code-block::
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"] = {}
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].zone_names.allowed_values()
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].boundaries.allowed_values()
['symmetry-xyplane', 'hot-inlet', 'cold-inlet', 'outlet', 'wall-inlet', 'wall-elbow', 'interior--elbow-fluid']
.. code-block::
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"] = {}
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].zone_names.get_attr("allowed-values")
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].boundaries.get_attr("allowed-values")
['symmetry-xyplane', 'hot-inlet', 'cold-inlet', 'outlet', 'wall-inlet', 'wall-elbow', 'interior--elbow-fluid']
.. code-block::
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"] = {}
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].zone_names.get_attrs(["allowed-values"])
>>> solver.settings.solution.report_definitions.flux["mass_flow_rate"].boundaries.get_attrs(["allowed-values"])
{'allowed-values': ['symmetry-xyplane', 'hot-inlet', 'cold-inlet', 'outlet', 'wall-inlet', 'wall-elbow', 'interior--elbow-fluid']}
Expand Down

0 comments on commit 22e7810

Please sign in to comment.