inject#
Boundary-condition injection into a DomainMesh.
Attributes#
Functions#
|
Return a new DomainMesh with synthesized boundaries injected. |
Module Contents#
- physicsnemo_curator.domains.mesh.boundaries.inject.inject_boundaries(
- domain: physicsnemo.mesh.domain_mesh.DomainMesh,
- generator: physicsnemo_curator.domains.mesh.boundaries.generators.BoundaryGenerator,
Return a new DomainMesh with synthesized boundaries injected.
The existing
interiorandglobal_dataare preserved, and the generator’s synthesized boundaries are merged alongside the existing boundaries (e.g. the geometryvehiclesurface).- Parameters:
domain (DomainMesh) – The input domain mesh.
generator (BoundaryGenerator) – Strategy producing
{name: Mesh}outer boundaries.
- Returns:
New domain mesh with original + synthesized boundaries.
- Return type:
DomainMesh
- physicsnemo_curator.domains.mesh.boundaries.inject.logger#