PorousJump#
- class PorousJump[source]#
Bases:
Flow360BaseModelPorousJumpdefines the Porous Jump boundary condition.Provide a flat list of every face that should be a porous-jump boundary via
surfaces. Each face must be, or become after meshing, one side of a multizone interface: the two coincident faces must already be present in the imported geometry, surface mesh, or volume mesh. List both sides of every interface; the donor/receiver pairing is recovered from the mesh metadata downstream. From a geometry the two coincident CAD faces must already exist and be enclosed by custom volumes; a single shared or non-manifold face is not turned into a porous-jump interface.Example
>>> fl.PorousJump( ... surfaces=[ ... volume_mesh["blk-1/Interface-blk-2"], ... volume_mesh["blk-2/Interface-blk-1"], ... volume_mesh["blk-1/Interface-blk-3"], ... volume_mesh["blk-3/Interface-blk-1"], ... ], ... darcy_coefficient = 1e6 / fl.u.m **2, ... forchheimer_coefficient = 1 / fl.u.m, ... thickness = 1 * fl.u.m, ... )
Deprecated since version The:
surface_pairs=[(A, B), ...]pair form is accepted for one more minor release and is rewritten internally into the flatsurfacesform. New code should usesurfaces=directly.Attributes
- entities: EntityList[Surface, MirroredSurface]#
Flat list of boundaries that form porous-jump interfaces. Each face must be, or become after meshing, one side of a multizone interface; list both coincident faces of every interface. The donor/receiver pairing is recovered from mesh metadata downstream.
- darcy_coefficient: Any#
Darcy coefficient of the porous media model which determines the scaling of the viscous loss term. The value defines the coefficient for the axis normal to the surface.
- forchheimer_coefficient: Any#
Forchheimer coefficient of the porous media model which determines the scaling of the inertial loss term.
Methods
- classmethod ensure_porous_jump_interfaces(value)[source]#
Validate that every surface will exist after meshing and either is, or will become, an interface.
A surface is accepted if it is already an interface OR will become one after meshing (it is a boundary of a CustomVolume, on the farfield enclosed set, or is a dual-belonging face).