Flow Mixture
FlowMixture is the reactive-flow mixture-properties module. It controls whether the velocity field is updated, the inlet-velocity shape (uniform vs. Poiseuille), the LBM reference viscosity, and the switches that turn on species- / dendrite-level coupling. It sits at the centre of the Reactive Flows sub-tree and is initialised before the per-species and per-energy solvers.
Key Classes and Concepts
FlowMixture : public OPObject: mixture control parameters and global flags consumed bySpeciesTransport,EnergyTransport, andSolidBody.
Usage
Input
Defined in the @FlowMixture block. Every token has a default — the block is optional.
text
@FlowMixture
$LengthScale Length scale for non-dimensionalisation : 1.0
$Update_Vel Update the velocity field each step : No
$UniformVel Prescribe a uniform inlet velocity : Yes
$PoiseuilleVel Prescribe a Poiseuille inlet profile : No
$Austar Star-Austenite reference value : 300.0
$Species Enable species coupling : No
$DI Enable dendritic-interaction coupling : No
$ZCORNER Treat Z-corner specifically : No
$YCORNER Treat Y-corner specifically : No
$SecOrdBB Second-order bounce-back boundary : No
$lbnu LBM reference kinematic viscosity : 0.005
$MaxU Maximum allowed velocity magnitude : 1.0
$Kp Pressure-coupling coefficient : 1.0| Token | Variable | Type | Default |
|---|---|---|---|
$LengthScale | LengthScale | double | 1.0 |
$Update_Vel | Updating_Velocity | bool | false |
$UniformVel | UniformVel | bool | true |
$PoiseuilleVel | PoiseuilleVel | bool | false |
$Austar | Austar | double | 300.0 |
$Species | Species | bool | false |
$DI | DI | bool | false |
$ZCORNER | DO_ZCORNER | bool | false |
$YCORNER | DO_YCORNER | bool | false |
$SecOrdBB | SecOrdBB | bool | false |
$lbnu | lbnu | double | 0.005 |
$MaxU | MaxU | double | 1.0 |
$Kp | Kp | double | 1.0 |
Output
FlowMixture publishes mixture-level state consumed by the other reactive-flows modules; it does not write its own file.
Example
cpp
#include "ReactiveFlows/FlowMixture.h"
FlowMixture Mix(OPSettings, InputFile);
// Downstream: SpeciesTransport and EnergyTransport read Mix flags.Dependencies
- FluidDynamics → Reactive Flow — the containing physics scope.
- SpeciesTransport, EnergyTransport, ThermoChemistry, SolidBody.