How do I set a constant mass fraction at a wall?
Standard wall boundary conditions only allow a user to set a flux of mass fraction at a wall. A constant value can be imposed on a wall by making the flux proportional to the difference between the current value and the desired value. LIBRARY: CEL: EXPRESSIONS: FluxCoef = 1000.0 [kg m^-2 s^-1] END END END . . . BOUNDARY: <wall name> Boundary Type = WALL Location = <location> . . . BOUNDARY SOURCE: SOURCES: EQUATION SOURCE: <Material>.mf Option = Flux Flux = FluxCoef*(0.1-<Material>.mf) Flux Coefficient = -FluxCoef END END END END |
||
|