CMPSTheory & Implementation Manual
Boundary Conditions and Face Closures
LIKUA HomeManual Home

Boundary Conditions and Face Closures

Boundary conditions in CMPS are assembled as face flux/state closures in the same residual/Jacobian framework used for internal faces. The active physical boundary families are summarized below.

Wall

Walls impose no penetration relative to the moving wall,

\[(\mathbf u-\mathbf u_w)\cdot\mathbf n=0.\]

For a viscous no-slip wall,

\[\mathbf u=\mathbf u_w.\]

The tangential relative velocity used by the wall treatment is

\[\mathbf u_t=(\mathbf u-\mathbf u_w)-[(\mathbf u-\mathbf u_w)\cdot\mathbf n]\mathbf n.\]

The thermal closure then supplies either zero heat flux, a prescribed wall temperature, or the selected conjugate/external heat-transfer relation.

Inlets

Stagnation inlet. Total pressure and total temperature are prescribed and a consistent static inflow state is recovered. For an ideal gas,

\[T_0=T+\frac{\lvert\mathbf u\rvert^2}{2C_p},\qquad p_0=p\left(1+\frac{\gamma-1}{2}M^2\right)^{\gamma/(\gamma-1)}.\]

For a stiffened gas, the pressure relation uses the shifted thermodynamic pressure,

\[p_0+p_\infty=(p+p_\infty)\left(1+\frac{\gamma-1}{2}M^2\right)^{\gamma/(\gamma-1)}.\]

Mass-flow inlet. The entering state is constrained by

\[\dot m=\rho(\mathbf u\cdot\mathbf n)A.\]

Velocity inlet. The boundary velocity is prescribed directly, \(\mathbf u_b=\mathbf u_{specified}\), together with the required thermal/composition data.

Pressure outlet

A pressure outlet applies the requested static pressure,

\[p_b=p_{specified}.\]

For outward carrier flow, transported composition is taken from the interior. For backflow, stored boundary species/turbulence/VOF data define the incoming state.

Far field

The compressible far-field closure constructs incoming/outgoing characteristic information from the interior and prescribed free-stream state. The VOF far-field path evaluates the homogeneous-mixture EOS directly; it does not average constituent sound speeds.

Symmetry and axis

For a symmetry plane, normal velocity is removed while tangential velocity is retained,

\[u_n=\mathbf u\cdot\mathbf n=0,\qquad \mathbf u_b=\mathbf u-(\mathbf u\cdot\mathbf n)\mathbf n.\]

Scalar quantities use the corresponding zero-normal-gradient closure,

\[\frac{\partial\phi}{\partial n}=0.\]

Axis boundaries provide the analogous regularity condition for two-dimensional axisymmetric domains.

Interior and partition interfaces

Fluid interior, solid interior, internal wall and fluid–solid wall faces use the two-sided finite-volume stencil appropriate to their adjacent zones. Partition interfaces preserve the same numerical face formulation while the neighbor state is supplied by the adjacent MPI rank.

Solid-propellant surface

The pressure-dependent propellant branch uses a Saint-Robert-type regression law. With regression coefficient \(a_b\), exponent \(n_b\), propellant density \(\rho_p\), and condensed-product mass fraction \(f_c\), the produced gas mass flux is

\[\boxed{\dot m''_g=a_b p_f^{n_b}\rho_p(1-f_c)}.\]

The boundary-normal gas velocity and integrated mass flow follow as

\[u_{n,b}=-\frac{\dot m''_g}{\rho_b},\qquad \dot m_g=-\dot m''_g A_f.\]

The injected energy flux uses the produced-gas enthalpy,

\[F_E=\dot m_gH_b,\]

while a time-defined mass-flow branch replaces the pressure law with the configured time polynomial.

Boundary profiles

Scalar boundary values may be constant or supplied by the configured user-function path. The same mechanism is used for time- or position-dependent boundary data where a field supports profile evaluation.

Wall thermal-condition families

The boundary model contains adiabatic, prescribed-temperature, convective heat-transfer, prescribed heat-flux, external-radiation, external mixed thermal, and one-dimensional charring wall conditions. Fluid–solid interface walls separately distinguish adiabatic, non-adiabatic and charring thermal coupling. Homogeneous VOF currently accepts only the adiabatic ordinary/interior/interface-wall branches.

Audited VOF boundary readiness

Whenever a VOF boundary requires composition, the stored vector represents every physical phase and satisfies

\[0\le\alpha_k\le1,\qquad \sum_k\alpha_k=1.\]

At open boundaries, the conservative phase flux is tied exactly to the carrier mass flow:

\[\dot m_{k,f}=\dot m_fY_{k,D}=\frac{\dot m_f}{\rho_D}(\alpha_k\rho_k)_D,\qquad \sum_k\dot m_{k,f}=\dot m_f.\]
Boundary familyVOF readinessComposition rule
Fluid interiorSupportedNo prescribed composition
Wall / interior wall / fluid–solid wallSupported with current adiabatic restrictionNo prescribed composition
Pressure outletSupportedInterior composition on outflow; stored full physical-phase composition on backflow
Symmetry / axisSupportedNo prescribed composition
Mass-flow inletSupportedPrescribed full physical-phase composition
Velocity inletSupported for the artificial-compressibility VOF formulationPrescribed full physical-phase composition
Stagnation inletSupported for compressible VOFPrescribed full physical-phase composition
Far fieldSupported for compressible VOFPrescribed full physical-phase composition for incoming characteristics
Solid-propellant surfaceSupported for compressible VOFPrescribed full physical-phase composition of produced mixture

A new default composition is deterministic: unit volume fraction in the reference phase and zero in every other phase.