Repository navigation
Description
Summary of issue
In the API reference, the page a user needs for configuring a boundary condition (or any named object) is hard to find, and the word "child" in its name is misleading. I only navigate this reliably because I already know how the container/child pattern works; a new user would not.
Details
Example: pressure_inlet
The pressure_inlet page is the container for all pressure inlets in a case. The type a user actually needs, Named object type, is highlighted below. It sits under a table of methods, and the link text reads pressure_inlet_1_child. Without clicking it, a reader has no idea why it matters.
Following the link leads to a page titled pressure_inlet_child, where:
- The only description is "'child_object_type' of pressure_inlet.", which says nothing about what the object is.
- The parent is listed as
pressure_inlet_1, which matches neitherpressure_inletnor the child name. - Nothing explains how to reach this object from code.
The "child" naming is unhelpful
"Child" reflects the settings tree internals (the container is the parent of the named objects), but for a reader it suggests a sub-component. For a pressure inlet, "child" might be taken to mean its physical properties. It is also ambiguous on the page itself, because momentum, thermal, turbulence etc. are the children of this object in the tree sense.
What this object actually is: one of the named pressure inlets in the case, i.e. an item or instance in a collection. The name should say so.
What can help
Listed in order of effort, lowest first. I'm not proposing any change to the container names (pressure_inlet, NamedObject), as that would break too much.
-
Surface the Named object type on the container page. Move it to the top, above the Methods table, with a short callout. Suggested wording, as a template for the doc generator:
Named object container.
pressure_inletmanages the collection of pressure inlet boundary conditions in a case: create, delete, rename and list them, or access one by name, e.g.boundary_conditions.pressure_inlet["inlet-1"].Looking for the settings of an individual pressure inlet? See
pressure_inlet_child, the named object type. -
Give the named object page a meaningful description and access example, replacing
'child_object_type' of pressure_inlet.:Settings for a single pressure inlet boundary condition. Access an instance by name from the
pressure_inletcontainer, e.g.boundary_conditions.pressure_inlet["inlet-1"]. -
Replace "child" with a term that signals "one of the named objects", in the docs and, if feasible, in the class names. "Instance" works well in prose. For the class suffix I'd defer to the maintainers:
_item,_entryand_instancewould all be an improvement. (Note that "instance" is slightly ambiguous as a class suffix, since the container object is itself an instance of its class.) If renaming classes is too disruptive, a docs-only display name would still deliver most of the benefit. -
Make the names consistent across pages. The container page link says
pressure_inlet_1_child, the page title sayspressure_inlet_child, and the parent ispressure_inlet_1. If this is a doc-generation quirk rather than intended, it may be worth a separate issue.
Since these pages are auto-generated, items 1 and 2 should be fixable in one place in the generator and apply to every named object type.
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fields2026 Nov
Activity
prmukherj commentedon Oct 27, 2026
Create sub issues for this as required.
prmukherj commentedon Oct 27, 2026
We can mention some generic information about named object in the top level. Then let LLM know the technical issues with settings named objects and tell it to figure out and suggest a fix. We have identified that each concrete named objects are containing same generic methods like create, rename, delete, which should be part of a Base class implementation.
seanpearsonuk commentedon Oct 27, 2026
flobject.NamedObjectwrapslist_*`. It should also wrap its siblings, which are seen concretely in each named obejct generated class:The aim is to eliminate each of these generic commands from the concrete classes.
prmukherj commentedon Nov 6, 2026
This is partially done where the look and feel was aligned. Now the class refactoring needs to be addressed.
prmukherj commentedon Nov 19, 2026
prmukherj commentedon Nov 28, 2026
Resolved