MAIA bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
List of LB boundary conditions

Note
Boundary conditions with the Id MB are set through moving-boundary properties, not a normal BC Id.

bc0

BC Id
0
Dummy function for exception handling
LbBndCndDxQy<nDim, nDist, SysEqn>::bc0(MInt)

bc66666

BC Id
MB
Author
Moritz Waldmann, Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de
Date
01.2020

Applies no-slip boundary condition to moving boundaries The bounce back scheme can be chosen via property.

Parameters
[in]setThe boundary condition is applied to all cells which belong to this level set.

LbBndCndDxQy<nDim, nDist, SysEqn>::bc66666(MInt set)

bc66668

BC Id
MB
Author
Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de
Date
01.2020

Applies pressure boundary condition to moving boundaries

The quadratic Bouzidi anti bounce back is used.

Parameters
[in]setThe boundary condition is applied to all cells which belong to this level set.

LbBndCndDxQy<nDim, nDist, SysEqn>::bc66668(MInt set)

bc20000

BC Id
2000

Lattice Boltzmann enhanced no slip (bounce back) condition for inclined walls. Bouzidi 2001 (aka "BFL rule")

There are "dry" nodes and "wet" nodes (cell is center inside/outside). Dry nodes do not take part in the collision/streaming process. An interpolated distribution is reflected at a certain point between the cell centers. If the wall is located exactly halfway between the nodes this condition reduces to simple halfway bounce-back. Must be performed after propagation.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20000(MInt index)

bc20000

BC Id
2001

Lattice Boltzmann no slip (halfway bounce-back) condition

If no neihbor exists in outgoing direction, the outgoing distribution is reflected. -> The wall is located at the outer cell edge. Must be performed after propagation.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20001(MInt index)

bc20002

BC Id
2002

Lattice Boltzmann no slip (bounce back) condition

If no neihbor exists in incoming direction, the incoming distribution is reflected. -> The wall is located at the cell center! Must be performed after collision and BEFORE propagation.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20002(MInt index)

bc20003

BC Id
2003

Lattice Boltzmann no slip (bounce back) condition

no slip condition for periodic channel pressure is extrapolated velocity is set to zero

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20003(MInt index)

bc20004

BC Id
2004

Lattice Boltzmann enhanced no slip (bounce back) condition for inclined walls. Haenel 1998, improved by Mei 1999/2000

There are "dry" nodes and "wet" nodes (cell is center inside/outside). Dry nodes do not take part in the collision/streaming process. An interpolated distribution is reflected at a certain point between the cell centers. If the wall is located exactly halfway between the nodes this condition reduces to simple halfway bounce-back. Must be performed after propagation.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20004(MInt index)

LBBC{secLBBC_bc20005, bc20005, 2005}

Wall bc with extrapolation of non-eq (Guo)

bc20020

BC Id
2020
Author
Andreas Lintermann
Date
24.02.2011

Lattice Boltzmann enhanced no slip (bounce back) condition for inclined walls. Bouzidi 2001 (aka "BFL rule" - see BC20000) including Thermal LBGK.

At the moment only the equilibrium distribution functions are evaluated for all cells having a cut. No BFL-rule is applied to Thermal LBGK.

Todo:
labels:LB,toenhance Consider using BFL-rule for Thermal LBGK for higher order wall-approxiomation
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20020(MInt index)

bc20023

BC Id
2023
Author
Andreas Lintermann
Date
13.04.2011

Lattice Boltzmann no slip (bounce back) condition

If no neihbor exists in incoming direction, the incoming distribution is reflected. -> The wall is located at the cell center! Must be performed after collision and BEFORE propagation. This is an extension of BC 2002 for Thermal LBGK.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20023(MInt index)

bc20022

BC Id
2022
Author
Andreas Lintermann
Date
14.03.2011

Lattice Boltzmann enhanced no slip (bounce back) condition for inclined walls. Bouzidi 2001 (aka "BFL rule" - see BC20000) including Thermal LBGK.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20022(MInt index)

bc20024

BC Id
2024
Author
Andreas Lintermann
Date
13.04.2011

Lattice Boltzmann no slip (bounce back) condition

no slip condition for periodic channel pressure is extrapolated velocity is set to zero Similar to BC2003 including Thermal LBGK

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20024(MInt index)

bc20025

BC Id
2025
Author
Andreas Lintermann
Date
13.04.2011

Wall BC for thermal flows

Sets the equilibrum distribution functions for given macroscopic variables.
LbBndCndDxQy<nDim, nDist, SysEqn>::bc20025(MInt index)

bc20026

BC Id
2026
Author
Andreas Lintermann
Date
28.04.2011

Lattice Boltzmann no slip condition also for Thermal LBGK

If no neihbor exists in outgoing direction, the outgoing distribution is reflected. The wall is located at the outer cell edge. Must be performed after propagation.

The temperture of the wall sided cells is evaluated based on the current temperature and the wall temperature. A ghost layer is initialized holding the inner wall temperatures. The eq-dist functions are calculated and a bounce back is performed for the temperature.

Todo:
labels:LB Halo layer for all boundary conditions.
Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20026(MInt index)

bc20027

BC Id
2027
Author
Andreas Lintermann
Date
21.05.2013

Lattice Boltzmann no slip interpolated bounce-back condition also for Thermal LBGK

This BC applies BC 2000 for the velocity and the density. In contrast to BC 2026 this BC allows the definition of an interpolated temperature dependent on the distance to the wall. The algorithm is divided into two parts:

  1. do an interpolated bounce back as done in BC 2000 for the velocity and the density distributions
  2. do an interpolated prescription of the PPDFs for the temperature:
    • case 1: cell center is inside fluid:
      • if a neighbor does not exist overwrite the opposite direction by a distribution, which is calculated from the eq-distributions of a temperature previously extrapolated based on the distance to the wall
    • case 2: cell center is outside fluid:
      • calculate extrapolated temperature of outer cell based on wall-temperature and inner temperature
      • calculate eq-distributions based on this temperature and propagate to neighboring fluid cells
Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20027(MInt index)

slidingWall

BC Id
205x

Haenel wall bc with non zero velocity planar wall moving at v=Ma*c_s along axis-direction

Template Parameters
directionWall orientation in Cartesian direction
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::slidingWall(MInt index)

bc20220

BC Id
2220
Author
Moritz Waldmann
Date
10.12.2019

Lattice Boltzmann enhanced no slip (bounce back) condition for inclined walls. Bouzidi 2001 (aka "BFL rule" - see BC20000) including Thermal LBGK.

At the moment only the equilibrium distribution functions are evaluated for all cells having a cut. No BFL-rule is applied to Thermal LBGK.

Todo:
labels:LB,toenhance Consider using BFL-rule for Thermal LBGK for higher order wall-approxiomation
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20220(MInt index)

Initialize bc20222 and bc20223. To apply the interpolated bounce back scheme with a prescribed thermal flux as a Neumann condition we need to know the number of missing distributions to calculate the factor to split the wall normal flux.

Author
Shota Ito
Date
24.07.2022
Parameters
[in]indexBoundary index

bc20220

BC Id
2220
Author
Moritz Waldmann
Date
10.12.2019

Haenel wall bc with non zero velocity and thermal treatment

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc20230(MInt index)

bc30000

BC Id
3000
Lattice Boltzmann outflow boundary condition

extrapolation of incoming distributions in arbitrary direction (rhs)

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc30000(MInt index)

performes an interpolated bounce back as proposed by Bouzidi et al. 2001

Author
Andreas Lintermann
Date
04.10.2012

In contrast to interpolatedBounceBackSingleSpecies, this additionally checks for neighboring cells that lie on the other side of two walls and yields constitency if two neighbors want to modify the same cell.

Parameters
[in]cellIdthe ID of the current wall-cell

performes an interpolated bounce back for thermal as proposed by Like Li et al. 2012

Author
Moritz Waldmann, Jie Ruan
Date
24.08.2018

This function implement bounce back idea to thermal boundary condition.

Parameters
[in]cellIdCell id of current boundary cell
[in]wTWall temperature at boundary cell

performes an interpolated bounce back for transport phenomena as proposed by Like Li et al. 2012

Author
Shota Ito
Date
08.06.2022

This function implement bounce back idea to transport boundary condition.

Parameters
[in]cellIdCell id of current boundary cell
[in]wCWall concentration at boundary cell

Calculates the source term for the zeroth moment with is required for thermal bounce back schemes (Li et al. 2012)

Author
Moritz Waldmann
Date
17.11.2023

This function calculates the source term for the zeroth moment for bounce back schemes. The template mode switches between the different types of equilibrium functions, e.g., mode = 0 corresponds to the standard Eq. function, mode = 1 corresponds to the inner energy Eq., and mode = 2 corresponds to the total energy Eq.

Template Parameters
modeEQ distribution type: 0=standard, 1=inner energy, 2=total energy
Parameters
[in]pCellIdCell id of current boundary cell
[in]distCurrent direction of the PPDF
[in]varValue of the variable used for the source term
[in]uWwall velocity

performes an interpolated bounce back for thermal LBGK with a heat flux to the wall normal proposed by Like Li et al. 2012

Author
Shota Ito
Date
02.07.2022

This function implement bounce back idea to thermal boundary condition with a heat flux.

Parameters
[in]cellIdBoundary cell id of current boundary cell
[in]qTMagnitude of the heat flux normal to the boundary wall
[in]bcIndexIndex of the boundary condition

Calculates the distances through a specified sublayer in each distribution direction.

Author
Shota Ito
Date
27.09.2022
Parameters
[in]cellIdCell id of current boundary cell
[in]indexindex of the current BC

Calculates the interface concentration and temperature for the interpolated bounce back in each distribution direction.

Author
Shota Ito
Date
27.09.2022
Parameters
[in]cellIdCell id of current boundary cell
[in]indexindex of the current BC

Applies interpolated anti bounce back to given moving boundary cell

Author
Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de
Date
01.2020

For reference, see Dubois et al., On anti bounce back boundary condition for lattice Boltzmann schemes https://arxiv.org/abs/1812.04305

Parameters
[in]cellIndexMoving boundary cell the BC is applied to
[in]setThe boundary condition is applied to all cells which belong to this level set.

Calculates the equilibrium PPDFs for walls

Author
Andreas Lintermann
Date
04.10.2012
Parameters
[in]pCellIdCurrent cell id

Calculates the equilibrium PPDFs for walls for thermal LBGK

Author
Andreas Lintermann
Date
04.10.2012
Parameters
[in]pCellIdCell id of current boundary cell
[in]wTWall temperature

Calculates the equilibrium PPDFs for walls for transport LBGK

Author
Shota Ito
Date
08.06.2022
Parameters
[in]pCellIdCell id of current boundary cell
[in]wCWall concentration

Extrapolates inner variables to a cell

Author
Andreas Lintermann
Date
02.10.2012

Note that if no neighbors in the extrapolation directions exist, then no value is assigned to p_var.

Parameters
[in]indexIndex of the BC
[in]pCellIdCell id
[out]p_varPointer to the density

Extrapolates inner velocities to a cell

Author
Andreas Lintermann
Date
28.09.2012

Note that if no neighbors in the extrapolation directions exist, then no value is assigned to the velocities.

Parameters
[in]indexThe index of the BC
[in]pCellIdCell id
[out]l_uuPointer to the velocity

bc10000

BC Id
1000
Author
Georg Eitel-Amor, Andreas Lintermann
Date
02.10.2012

Lattice Boltzmann inflow boundary condition

Diriclet condition with prescribed eq-distributions. Velocity vector is read from properties and prescribed on boundary.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10000(MInt index)

bc10001

BC Id
1001
Author
Georg Eitel-Amor, Andreas Lintermann
Date
02.10.2012

Lattice Boltzmann inflow boundary condition

Diriclet condition with prescribed eq-distributions. Velocity vector is read from properties and prescribed on boundary.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10001(MInt index)

bc10002

BC Id
1002
Author
Andreas Lintermann
Date
21.04.2010

Lattice Boltzmann inflow boundary condition

Velocities are prescribed, rho is extrapolated from inside; only valid for channel with center \(y=0\). Density \(\rho\) is extrapolated from neighbors inside. The prescirbed profile is the parabolic one for channel flows (see script Schroeder).

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10002(MInt index)

bc10003

BC Id
1003
Lattice Boltzmann inflow boundary condition using the nonequilibrium PPDF

Simple Dirichlet boundary condition u=mach number. Macroscopic values are prescribed and a pseudo collision step is performed, which overwrites the distributions computed by the real collision step.
LbBndCndDxQy<nDim, nDist, SysEqn>::bc10003(MInt index)

Lattice Boltzmann inflow boundary condition

Author
Andreas Lintermann, Gabriel Faustini
Date
26.04.2023

Velocities are prescribed, rho is extrapolated from inside; only valid for channel with center \(y=0\). Density \(\rho\) is extrapolated from neighbors inside. The prescirbed profile is the parabolic one for channel flows (see script Schroeder).

Edited from bc1002 to accept non-Newtonian fluid

Parameters
[in]indexthe index of the BC

bc10022

BC Id
1022
Author
Moritz Waldmann
Date
10.12.2019

Lattice Boltzmann inflow boundary condition similar to 10002 but with thermal treatment

Velocities are prescribed, rho is extrapolated from inside; only valid for channel with center \(y=0\). Density \(\rho\) is extrapolated from neighbors inside. The prescirbed profile is a combination of Coutte and Poiseuille flow. The temperature is set to ambient temperature.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10022(MInt index)

bc20030

BC Id
2030

Haenel wall bc with non zero velocity
LbBndCndDxQy<nDim, nDist, SysEqn>::bc20030(MInt index)

Calculation of the wall forces for walls (single solver)

Author
Moritz Waldmann
Date
01.05.2020

Based on the momentum exchange of the PPDFs and the wall

Parameters
[in]indexthe index of the BC

Calculation of the wall forces for moving walls described by a level set

Based on the momentum exchange of the PPDFs and the wall

Author
Moritz Waldmann
Date
01.05.2020
Parameters
[in]setIndex of the level set

bc10050

BC Id
1050
Author
Andreas Lintermann
Date
28.04.2015

Lattice Boltzmann inflow boundary condition

Diriclet condition with prescribed eq-distributions. As a velocity vector the reference velocity is used and prescribed on boundary for direction X. Density is set to rho = 1.0.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10050(MInt index)

bc10060

BC Id
1060
Author
Andreas Lintermann, Moritz Waldmann
Date
23.02.2011

Inlet boundary condidtion similar to bc10000 including Thermal boundary treatment (also available for inner energy distribution function)

Temperature is prescribed on boundary and eq-PPFDs are evaluated.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10060(MInt index)

bc10061

BC Id
1061
Author
Andreas Lintermann
Date
02.10.2012

Inlet boundary condidtion similar to bc10000 including Thermal boundary treatment. Blasius profile is prescribed.

A Blasius solution is prescribed for the velocity and temperature.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10061(MInt index)

Lattice Boltzmann inflow boundary condition similar to BC1060 but for concentration transport. Inflow concentration is set to 0.

Author
Shota Ito
Date
08.06.22
Parameters
[in]indexthe index of the BC

bc10070

BC Id
1070
Author
Miro Gondrum
Date
22.12.2022

Neumann density BC adjusting the local mass flux to be idential to rho_0*Ma*Cs

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10070(MInt index)

bc10080

BC Id
1080
Author
Andreas Lintermann
Date
30.05.2012, 28.04.2015

Lattice Boltzmann inflow boundary condition for pulsatile flow

Diriclet condition with prescribed eq-distributions, the velocity vector is read from properties and prescribed on boundary. Volume flux varies over time sinusodially.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10080(MInt index)

bc10111

BC Id
1111
Povitsky cavity flow

Boundary cells are set to equilibrium with initialVelocityVecs.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc10111(MInt index)

bc40000

BC Id
4000
Author
Rainhill Freitas, Andreas Lintermann
Date
28.04.2015

Lattice Boltzmann inflow boundary condition

Diriclet condition for the density rho, which is read from the properties file. This implements the non-reflecting boundary condition from Finck, Haenel, (2007), https://doi.org/10.1016/j.compbiomed.2006.06.013, according to either

\[ \rho = \frac{1}{2} \rho_{old} + \frac{1}{c_{s}} * ||\vec{v}|| - ||\vec{v}_{old}|| + (\rho_{prop}-1) \]

or

\[ \rho = \frac{1}{2} \rho_{old} + \frac{1}{c_{s}} * ||\vec{v}|| - ||\vec{v}_{old}|| + \rho_{prop} \]

depending on the property m_densityFluctuations. Additionally a von Neumann condition is applied for the velcoity. Note that in the rare case that the extrapolation directions have not been found (-1) or the according neighbors in all extrapolation directions are missing, the velocity is set to 0. This was a wrong implemnetation in the previous version of this algorithm, which set the velocity to some arbitrary value still stored in memory from a previous calculation.

Parameters
[in]indexthe index of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40000(MInt index)

bc40020

BC Id
4020

Enforce density at boundary (Dirichlet condition)

The mean density at inflow is relaxed against the fixed density value.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40020(MInt index)

Lattice Boltzmann inflow boundary condition TODO labels:LB called nowhere Do nothing condition in axis direction: only for LBGK!!! (rhs)

Parameters
[in]indexBoundary index
[in]directionBoundary orientation in Cartesian direction

bc40030

BC Id
4030
Guo, Extrapolation of velocity and non-eq parts
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40030(MInt index)

bc40070

BC Id
4070
Author
Andreas Lintermann
Date
25.08.2012

Lattice Boltzmann inflow boundary condition as proposed by Ingold Hoerschler

Using the equation of Saint Vernant and Wanzel, one can obtain the pressure by using

\[p_1 = p_0\left(1 - \frac{\gamma - 1}{2\gamma}\cdot\frac{\rho_0}{p_0}\cdot v_0^2\right)^{\frac{\gamma}{\gamma -1}}\]

A non-dimensionalization with

\[\rho^\ast = \frac{\rho}{\rho_0},\quad c_{s}^{\ast} = \frac{c_s}{\xi_0},\quad v^{\ast} = \frac{v}{\xi_0}\]

and using

\[p=\rho c_s^2\]

,

\[c_s=\frac{1}{\sqrt{3}}\xi_0\]

and extending with

\[\frac{\rho^{\ast^2}}{\rho^{\ast^2}}\]

leads to

\[\rho_{i+1}=\left(1 - \frac{\gamma - 1}{2\gamma}\cdot \frac{3}{\rho^{\ast^2}_{i}}\left(\rho^{\ast} v^\ast\right)^2\right)^{\frac{\gamma}{\gamma -1}}\]

So, first all the velocities are extrapolated to the boundary cells and the new density ratio is calculated

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40070(MInt index)

bc40071

BC Id
4071
Author
Andreas Lintermann
Date
25.08.2012

Lattice Boltzmann outflow boundary condition with prescribed pressure at outlet

This BC holds the density ratio at a level provided by m_rho1 and extrapolates the velocities.

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40071(MInt index)

bc40072

BC Id
4072
Author
Andreas Lintermann
Date
26.08.2012

Lattice Boltzmann outflow boundary condition with adjusting pressure at outlet

This BC adjusts the density ratio to obtain a volumeflux given by the Reynolds number.

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40072(MInt index)

recalculates the local density for BC 4073

Author
Andreas Lintermann
Date
10.07.2015

This function is only executed onece per timestep in case the interval for adaption is met or a report has to be written to disk.

Parameters
[in]indexBoundary index

bc40073

BC Id
4073
Author
Andreas Lintermann
Date
28.04.2015

Lattice Boltzmann outflow boundary condition with adjusting pressure at outlet.

This BC adjusts the density ratio to obtain a volumeflux given by the Reynolds number. In contrast the local Reynolds number is not measured at the BC location but somewhere else in the flow field, i.e., at a location defined in the geometry file.

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40073(MInt index)

bc40080

BC Id
4080
Author
Andreas Lintermann
Date
01.10.2012

This is the same as bc40070, except that it additionally prescribes an inflow temperature

For more details refer to bc40070. The temperture is set to the reference temperature. In general, the wall gets the different temperature.

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40080(MInt index)

bc40081

BC Id
4081
Author
Andreas Lintermann
Date
25.08.2012

Lattice Boltzmann outflow boundary condition with prescribed pressure at outlet

This BC holds the density ratio at a level provided by m_rho1 and extrapolates the velocities and the temperature.

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40081(MInt index)

bc40082

BC Id
4082
Author
Moritz Waldmann
Date
03.05.2018

Lattice Boltzmann outflow boundary condition with adjusting pressure and extrapolating temperature at the outlet

Similar to BC 40072, but with additional extrapolation of the temperature

Parameters
[in]indexthe index of the segment of this BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40082(MInt index)

Initialization of BC 4072 or 4082 after restart to determine deltaRho, ReLast and rhoLast

Author
Mario Rüttgers
Date
15.02.2021
Parameters
[in]indexthe index of the segment of this BC

bc40100

BC Id
4100
Author
Andreas Lintermann
Date
02.10.2012

Outlet boundary condidtion similar to bc40000 including Thermal boundary treatment.

Parameters
[in]indexindex of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40100(MInt index)

bc40110

BC Id
4110
Author
Andreas Lintermann, Moritz Waldmann
Date
02.10.2012

Outlet boundary condition similar to bc40110 including Thermal boundary treatment.

This BC is similar to BC40100, except that the temperature is extrapolated from the inside.

Parameters
[in]indexindex of the BC

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40110(MInt index)

Outlet boundary condition similar to bc40110 including Transport boundary treatment.

Author
Shota Ito
Date
08.06.2022

This BC is similar to BC40100, except that the concentration is extrapolated from the inside.

Parameters
[in]indexindex of the BC

bc10010

BC Id
1010
Lattice Boltzmann inflow boundary condition

extrapolation Chen, Martinez 1996, prescribed velocity for arbitrary directions (lhs)
LbBndCndDxQy<nDim, nDist, SysEqn>::bc10010(MInt index)

bc10020

BC Id
1020
non-eq, prescribed velocity
LbBndCndDxQy<nDim, nDist, SysEqn>::bc10020(MInt index)

bc40130

BC Id
4130

Guo, Extrapolation of velocity and non-eq parts

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::bc40130(MInt index)

outflow

BC Id
301x
Lattice Boltzmann inflow boundary condition

Simple condition which sets the incoming distributions to the last inner value (rhs) in a given axis direction

Template Parameters
directionBoundary orientation in Cartesian direction
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::outflow(MInt index)

slipFlow

BC Id
3020
Author
Miro Gondrum
Date
01.09.2020

Lattice Boltzmann slip wall boundary condition for Cartesian planes

Slip wall condition for Cartesian walls

Note
If this BC and a no-slip wall are intersecting, multiBCTreatment='multiple' should be used and no-slip BC must be performed after this BC.

TODO labels:LB,totest THERMAL: Untested for thermal.

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::slipFlow(MInt index)

outflowLinear

BC Id
303x
linear extrapolation
Template Parameters
directionBoundary orientation in Cartesian direction
Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::outflowLinear(MInt index)

pab

BC Id
4060
Lattice Boltzmann outflow boundary condition

Pressure anti bounce back method (I. Ginzburg et al. 2008) see also: Izquierdo et al. 2008

constant pressure is prescribed for a boundary located at q=1/2 velocity is extrapolated

Parameters
[in]indexBoundary index

LbBndCndDxQy<nDim, nDist, SysEqn>::pab(MInt index)

calculates the averaged flow values at a certain outlet/inlet

Attention: This function is assuming the compressible LBM formulation, i.e. a_variable storing rho*u

Author
Moritz Waldmann
Date
12.03.2019
Parameters
[in]indexBoundary index (as specified in the geometry file) for wich is output is written

calls refill-function corresponding to the refillMethodOrder, defined by property "refillMethodOrder"

Author
Johannes Grafen <johan.nosp@m.nes..nosp@m.grafe.nosp@m.n@rw.nosp@m.th-aa.nosp@m.chen.nosp@m..de
Parameters
[in]pCellIdCell id of the newly emerged cell

Initialize emerged cell by performing linear extrapolation in boundary normal direction

Author
Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de
Parameters
[in]pCellIdCell id of the newly emerged cell

Initialize emerged cell by performing quadratic extrapolation in boundary normal direction

Author
Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de
Parameters
[in]pCellIdCell id of the newly emerged cell

Extrapolates velocity to all moving boundary surfaces

Author
Julian Vorspohl j.vor.nosp@m.spoh.nosp@m.l@aia.nosp@m..rwt.nosp@m.h-aac.nosp@m.hen..nosp@m.de

Calculate characetristic values based on LODI-equations at (x_b, t+1)

Author
Miro Gondrum
Date
26.03.2021 Izquierdo et al. 2008: https://doi.org/10.1103/PhysRevE.78.046707 But in contrast value is calculated in the cell-center such that equilibrium can be forced. Also, no relaxation against target rho or u is performed.
Parameters
[in]cellIdcellId of the boundary cell
[out]rho_bCharacteristic density at boundary cell
[out]u_bCharecteristic velocity at boundary cell
Note
template parameter 'type': 0-incoming wave zeros, 1-velocity, 2-pressure

Calculate characetristic values based on LODI-equations at (x_b+1/2, t-1/2)

Author
Miro Gondrum
Date
01.03.2021 Izquierdo et al. 2008: https://doi.org/10.1103/PhysRevE.78.046707
Parameters
[in]indexIndex of the boundary condition
[in]directionDirection the boundary outward normal is pointing to
[in]bndCellIdcellId of the cell in boundary context
[out]rho_bCharacteristic density at boundary cell + dx/2 for t-1/2
[out]u_bCharecteristic velocity at boundary cell + dx/2 for t-1/2
Note
This function does not provide valid values for edges and corner, yet.

charVelocity

BC Id
104x
in-/outflow bc

Non-reflecting characteristic BC Izquierdo et al. 2008: https://doi.org/10.1103/PhysRevE.78.046707 The velocity is set to Ma*c_s, in opposite boundary normal direction
LbBndCndDxQy<nDim, nDist, SysEqn>::charVelocity(MInt index)

bc10046

BC Id
1046
Author
Miro Gondrum

Non-reflecting BC based on LODI - setting equilibrium

Izquierdo et al. 2008: https://doi.org/10.1103/PhysRevE.78.046707
LbBndCndDxQy<nDim, nDist, SysEqn>::bc10046(MInt index)

charPressure

BC Id
404x
in-/outflow bc

Non-reflecting characteristic BC Izquierdo et al. 2008: https://doi.org/10.1103/PhysRevE.78.046707 The density is relaxed to 1.0 at the in- or outflow. The characteristics are solved at x_b = x+dq/2 and the solution is saved in m_formerVariables for the next timestep.
LbBndCndDxQy<nDim, nDist, SysEqn>::charPressure(MInt index)

bc40046

BC Id
4046
Author
Miro Gondrum

Non-reflecting BC based on LODI - setting equilibrium
LbBndCndDxQy<nDim, nDist, SysEqn>::bc40046(MInt index)

charPressure2

BC Id
405x
in-/outflow bc

Non-reflecting characteristic bc according to Izquerdo et al. 2008 - combined with bc40030 The density is set to 1.0 at the in- or outflow.
LbBndCndDxQy<nDim, nDist, SysEqn>::charPressure2(MInt index, MInt direction)