Location Problems
A location selected nothing, or its type doesn't support what you asked. Why, and how to fix it.
If you only have 2 minutes
A location is how you tell Dr.Q which part of the geometry a load, support, or result query applies to. Most location problems are one of two kinds: the location resolves to nothing (it doesn't actually touch the part), or you asked for something the location type can't give (like a direction from a volume). Check what the location points at, and that its type fits the operation.
The location matched nothing
The location is valid, but resolves to no geometry:
- Error 256: a result query's location matched no mesh nodes.
- Error 272: the location resolved to no nodes.
- Error 273: the location resolved to no element faces (the operation needs faces).
- Error 289: the location selected no faces to scope the relative error to.
Usual causes: a wrong or outdated surface/body ID, the wrong file loaded, or a box/sphere region placed so it doesn't overlap the part. Note the difference between nodes and faces: some operations resolve to nodes (points), others to element faces. A surface BC (a pressure or a normal support) in particular needs faces, and a whole body or a full-volume sphere/box provides none, so use a surface selection or surface_only=True. Check the specified location and the files it uses.
No principal axis for this location type
- Errors 270, 271, 292: a cavity, sphere, or box has no principal axis.
A location's principal axis (its dominant geometric direction) is only available for surface- and body-based selections. A cavity, sphere, or box is a region of space with no single axis, so requesting one fails. To orient a boundary condition, use an AxisSpecification instead of deriving a direction from the location.
A box location is not well defined
- Error 293: the box's two direction vectors do not span a plane.
A box location is oriented by two direction vectors. They must be non-zero and non-parallel so that they define a plane. Provide two independent directions.
The cavity selection looks implausible
- Warning 22: the cavity selection covers more than 90% of the surface.
A cavity location is meant to isolate an internal surface. If it grabs almost the entire surface, it probably did not isolate the cavity you intended. Check the selection.
For what each location type selects and how to specify it, see Locations.