pub enum Boundary {
Periodic,
Open,
Wall,
Slip,
GroundOpenTop,
}Expand description
Boundary condition of the pair of domain faces normal to one axis.
periodic identifies the two faces. open lets flow in or out: each face
is an inlet or an outlet by the sign of the case flow’s normal velocity
there; inlets prescribe that velocity and a zero concentration increment,
outlets fix the pressure level, and faces without normal flow are slip
faces. wall is impermeable and no-slip (a rough wall with
neutral_rans). slip is impermeable and stress-free. ground_open_top
(z only, CFD-E005) is a rough ground with a top that applies the
boundary-layer shear stress; neutral_rans requires it (CFD-E011) and
laminar flow may not use it (CFD-E023).
Variants§
Periodic
The two faces are identified, so flow and constituents leaving one enter the other. A periodic axis may have one cell.
Open
Inflow or outflow, decided per face by the normal component of Flow::vector at the face center: inlets prescribe that velocity and a zero concentration increment, outlets fix the pressure level and anchor their fluid component, and faces without normal flow act as slip faces.
Wall
Impermeable no-slip wall, optionally moving tangentially (MovingWall); with neutral_rans a rough wall with the wall functions of the flow model card.
Slip
Impermeable and stress-free: zero normal velocity and zero tangential gradient.
GroundOpenTop
z only: a rough ground at z = 0 with roughness roughness_m, and an impermeable top that applies the equilibrium shear stress of the neutral_rans inflow. Required by neutral_rans, rejected for laminar flow, where the top would act as a no-slip lid.
Trait Implementations§
impl Copy for Boundary
Source§impl<'de> Deserialize<'de> for Boundary
impl<'de> Deserialize<'de> for Boundary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for Boundary
Source§impl JsonSchema for Boundary
impl JsonSchema for Boundary
Source§fn schema_name() -> String
fn schema_name() -> String
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Boundary
Auto Trait Implementations§
impl Forget for Boundary
impl Freeze for Boundary
impl Move for Boundary
impl RefUnwindSafe for Boundary
impl Send for Boundary
impl Sync for Boundary
impl Unpin for Boundary
impl UnsafeUnpin for Boundary
impl UnwindSafe for Boundary
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more