Cloud Chamber

Overview

The Cloud Chamber problem is a single-level, Cartesian, fixed-density anelastic configuration for studying buoyancy-driven thermal and moist flow in a closed rectangular chamber. It supports dry calculations, saturation adjustment (SatAdj), and ERF’s existing Eulerian bulk microphysics schemes, together with prescribed-temperature walls and resolved or modeled momentum, heat, and water-vapor transfer.

This configuration is intended for code-path verification, numerical and qualitative chamber-flow studies, wall-flux experiments, and focused regression testing. Enabling a bulk microphysics scheme uses that scheme’s existing water-phase transformations, sedimentation and surface precipitation accumulation where applicable. It does not introduce facility-calibrated wall exchange, droplet-wall deposition, explicitly resolved droplet populations, or a quantitatively validated Pi-Chamber LES.

Most new inputs should use prob.thermodynamic_initialization = physical_temperature_rh. The older legacy_theta_qv mode is retained for existing numerical inputs but does not support the generalized per-channel wall-transfer models described below.

Choose the thermodynamic mode

10 Supported Cloud Chamber moisture configurations

Configuration

erf.moisture_model

Notes

Dry

omitted

No moisture state; every wall must be dry.

Equilibrium moist

SatAdj

Preserves the existing equilibrium vapor/cloud-water path and supported nonprecipitating-water budget.

Nonprecipitating bulk

Kessler_NoRain or SAM_NoPrecip_NoIce

Vapor and suspended cloud water; no scheme-native precipitation removal in these no-precipitation configurations.

Precipitating bulk

Kessler, SAM_NoIce, SAM, WSM6, WDM6, Morrison_NoIce or Morrison

Uses the selected ERF scheme’s native hydrometeor species, number concentrations when present, and sedimentation.

Noncondensing moisture transport

MoistNoCondensation

An ERF moisture-transport shell with no condensation source.

Lagrangian superdroplets

SuperDroplets

Requires a particle-enabled build; configured with the super_droplets_moisture inputs described in Super-Droplets.

For dry mode, omit erf.moisture_model rather than explicitly setting it to None. An explicit None is rejected with a diagnostic naming this requirement.

A dry wall blocks exchange of water vapor through the wall. The Cloud Chamber also sets the normal diffusive wall flux of suspended cloud water and of additional conserved moisture constituents to zero. These boundary rules do not make a precipitating simulation a closed total-water system: a selected bulk microphysics scheme can sediment rain, snow, or graupel through the lower boundary and update its native surface precipitation accumulator. The wall model does not add a droplet-impact, aerosol-deposition, or facility-specific collection law.

A wet wall requires a supported active moisture model. It exchanges water vapor with the adjacent air at a prescribed wall relative humidity over liquid water. For example, zlo.wetness = 0.8 sets the bottom wet wall to 80% RH; omitting the key retains saturation. A wet wall at zero RH can remove vapor from moist air, unlike an impermeable dry wall. The wall does not directly deposit suspended cloud droplets, ice hydrometeors, or aerosol number; those species remain governed by the selected native microphysics and transport operators.

For any active supported moisture model, physical initialization requires prob.initial_relative_humidity (a fraction in [0,1]). The retained legacy_theta_qv mode also accepts the supported moisture models, using its legacy theta and qv profiles and wall keys rather than the generalized physical-temperature wall configuration.

Terminology

rhoTheta

Density-weighted potential temperature, the conserved thermal scalar used by this Cloud Chamber configuration.

qv and qc

Water-vapor and cloud-water mixing ratios relative to dry air. In SatAdj cases ERF partitions total nonprecipitating water between these two phases.

SatAdj

ERF’s instantaneous saturation-adjustment thermodynamics, including the existing latent-heating adjustment associated with vapor–cloud-water equilibrium.

Resolved wall transfer

Transfer obtained from ERF’s resolved no-slip momentum treatment or from the adjacent-cell-to-wall half-cell scalar gradient. It is not an engineering wall-function correlation.

Bulk coefficient

A dimensionless transfer coefficient multiplying the actual tangential speed in the Cloud Chamber forced/shear-dependent wall-transfer formulas.

Global ERF requirements

The Cloud Chamber parser enforces a deliberately narrow numerical scope. Supported Cloud Chamber cases use one nonperiodic Cartesian level, fixed-density anelastic dynamics, gravity, and ConstantDz geometry. The generalized physical-temperature wall-transfer path additionally requires explicit vertical diffusion and ConstantAlpha scalar diffusion.

A typical common block is:

erf.prob_name = "Cloud Chamber"
erf.init_type = ConstantDensity
erf.compressibility_type = Anelastic
erf.use_gravity = true
erf.mesh_type = ConstantDz
erf.vert_implicit = false
erf.molec_diff_type = ConstantAlpha

amr.max_level = 0
geometry.is_periodic = 0 0 0

The following constraints are part of the implemented Cloud Chamber contract:

11 Global Cloud Chamber requirements

Setting

Required value

Notes

erf.compressibility_type

Anelastic

Required in every Cloud Chamber mode and on every level. The initializer corrects only \(\rho\theta\) and the moisture at the fixed base-state density, so PseudoIncompressible, which evolves the density, is rejected.

erf.use_gravity

true

Required in every Cloud Chamber mode.

amr.max_level

0

AMR refinement is unsupported. The single level may still contain multiple AMReX boxes.

geometry.is_periodic

0 0 0

All three directions are closed and nonperiodic.

erf.mesh_type

omitted or ConstantDz

Stretched vertical grids are outside the supported Cloud Chamber path.

erf.terrain_type

omitted or None

Terrain and embedded-boundary configurations are unsupported.

erf.buildings_type

omitted or None

Immersed buildings are unsupported.

erf.init_type

ConstantDensity

The supported Cloud Chamber initializer requires a fixed-density anelastic base state in both physical and legacy thermodynamic modes.

erf.molec_diff_type

ConstantAlpha

Required by the physical wall-transfer path, including cases that also use bulk, neutral, or MOST wall closures.

erf.vert_implicit

false

Required by the physical wall-transfer path.

If prob.p_inf is supplied, the Cloud Chamber requires it to agree with ERF’s reference pressure p_0 = 100000 Pa within a relative tolerance of 1e-6. prob.p_inf does not redefine the reference pressure used by the Cloud Chamber potential-temperature conversion.

Physical-temperature initialization

Set:

prob.thermodynamic_initialization = physical_temperature_rh

The physical-temperature initializer constructs a linear vertical temperature profile and optionally adds a deterministic three-dimensional perturbation.

12 Physical initialization inputs

Key

Required

Default

Valid values / meaning

prob.initial_temperature_bottom

yes

none

finite and greater than zero, in K

prob.initial_temperature_top

yes

none

finite and greater than zero, in K

prob.temperature_perturbation_amplitude

no

0

finite amplitude in K

prob.perturbation_mode

no

deterministic_sine

the only currently supported perturbation mode

prob.initial_relative_humidity

any supported active moisture model

none

required when an active moisture model is selected; a fraction in [0,1]

For a domain with lower corner \((x_0,y_0,z_0)\) and lengths \((L_x,L_y,L_z)\), the temperature field is

\[T(x,y,z) = T_\mathrm{linear}(z) + A_T \sin\!\left(\frac{2\pi(x-x_0)}{L_x}\right) \sin\!\left(\frac{2\pi(y-y_0)}{L_y}\right) \sin\!\left(\frac{\pi(z-z_0)}{L_z}\right),\]

where \(A_T\) is prob.temperature_perturbation_amplitude and \(T_\mathrm{linear}\) interpolates between the prescribed bottom and top temperatures.

Potential temperature is derived from the local hydrostatic base-state pressure,

\[\theta = T \left(\frac{p_0}{p_\mathrm{hse}}\right)^{R_d/c_p},\]

using ERF’s configured rdOcp = R_d/c_p. Here \(p_\mathrm{hse}\) is the local hydrostatic pressure and \(p_0=100000\ \mathrm{Pa}\) is ERF’s reference pressure.

For every supported moist model, ERF converts the specified initial relative humidity into water-vapor mixing ratio relative to dry air:

\[q_v = \frac{R_d}{R_v} \frac{RH\,e_{sw}(T)}{p_\mathrm{hse}-RH\,e_{sw}(T)}.\]

Here RH is a fraction rather than a percentage, \(T\) is the specified physical temperature in K, \(p_\mathrm{hse}\) is the local hydrostatic pressure in Pa, and \(e_{sw}(T)\) is the saturation vapor pressure over liquid water in Pa. ERF obtains this saturation pressure from erf_esatw. Consequently, prob.initial_relative_humidity is relative humidity with respect to liquid-water saturation, not an ice-relative humidity even when an ice-capable microphysics model is chosen.

Choose temperatures, perturbation amplitudes, pressures, and humidities that remain physically admissible across the actual initialized domain. In particular, \(p_\mathrm{hse}>RH\,e_{sw}(T)\) is required for the expression above to yield a nonnegative finite vapor mixing ratio. The parser validates positive finite profile endpoint temperatures and an RH fraction in [0,1]; these input checks alone do not ensure physical admissibility of all spatially perturbed cell temperatures or the vapor-pressure denominator.

Cloud water and additional bulk hydrometeor and hydrometeor-number state components start at zero in the chamber initializer. The selected scheme then evolves them according to its native physics; WDM6 seeds and evolves its aerosol/CCN number reservoir through the native microphysics state-transfer and activation paths. In dry mode there is no moisture state, and prob.initial_relative_humidity must be omitted.

Do not combine physical initialization with the legacy profile keys theta_bottom, theta_top, theta_perturbation_amplitude, qv_bottom, or qv_top.

Legacy theta/qv initialization

Set:

prob.thermodynamic_initialization = legacy_theta_qv

Legacy mode is provided for existing numerical inputs. It uses potential temperature directly instead of physical temperature and does not support the generalized per-channel wall-transfer keys.

Dry legacy mode requires:

prob.theta_bottom = <positive value>
prob.theta_top = <positive value>
prob.theta_perturbation_amplitude = <optional finite value>
prob.perturbation_mode = deterministic_sine

For moist legacy mode, select any supported moisture model and provide nonnegative prob.qv_bottom and prob.qv_top. Every face still requires <face>.type = NoSlipWall. Legacy walls use <face>.theta; moist legacy walls also require <face>.qv. Generalized per-channel wall-transfer keys remain unavailable in legacy mode.

Do not combine legacy_theta_qv with physical profile keys such as initial_temperature_bottom, initial_temperature_top, initial_relative_humidity, or temperature_perturbation_amplitude. For new generalized wall-model studies, use physical_temperature_rh.

Optional deterministic initial velocity perturbation

prob.U_0 (m s-1) controls an optional deterministic horizontal velocity perturbation. It is available with either thermodynamic initialization mode and is an initial-condition option only; it does not represent wall motion.

ERF initializes the perturbation on the staggered velocity grid so that its cell-centered finite-volume horizontal divergence is zero to roundoff and sets

\[w = 0.\]

The pattern is smooth, deterministic, and vanishes consistently with the stationary chamber-wall construction. On a square horizontal domain with equal horizontal resolution it reduces to

\[u = U_0 \sin^2\!\left(\frac{\pi(x-x_0)}{L_x}\right) \sin\!\left(\frac{2\pi(y-y_0)}{L_y}\right) \sin^2\!\left(\frac{\pi(z-z_0)}{L_z}\right),\]
\[v = -U_0 \sin\!\left(\frac{2\pi(x-x_0)}{L_x}\right) \sin^2\!\left(\frac{\pi(y-y_0)}{L_y}\right) \sin^2\!\left(\frac{\pi(z-z_0)}{L_z}\right).\]

For a general rectangular/discretized horizontal grid, ERF applies the corresponding grid-aspect scaling required for the staggered finite-volume divergence to cancel. Leave prob.U_0 unset, or set it to zero, for no initial velocity perturbation.

Physical wall configuration

In physical-temperature mode, a conductive face with a constant wall temperature is specified as:

<face>.type = NoSlipWall
<face>.temperature = <temperature in K>
<face>.moisture = dry|wet

The face prefix is one of xlo, xhi, ylo, yhi, zlo, or zhi. Wall temperature must be finite and positive. A wet wall requires a supported active moisture model. Cloud Chamber walls are stationary; <face>.velocity is rejected.

<face>.heat = conductive (default) exchanges sensible heat using the selected heat_transfer_model. <face>.heat = adiabatic instead replaces the normal heat flux with exactly zero, including any ordinary diffusive flux already applied to the adjacent cell. This does not turn off drag or change the moisture boundary type. For example, an insulated wet wall still exchanges vapor at its prescribed saturation temperature:

zlo.type = NoSlipWall
zlo.heat = adiabatic
zlo.moisture = wet
zlo.temperature = 294.0

Wall temperature is required for conductive heat or wet-wall saturation. A dry adiabatic face may omit it even with MOST drag: its stability is neutral, independent of any supplied temperature. A wet adiabatic face uses the prescribed temperature for saturation, not for sensible buoyancy. Any supplied temperature must still be finite and positive.

<face>.thermal = adiabatic is an alias; thermal = fixed_temperature means heat = conductive. Selector values are case-insensitive. If both keys are present, they must agree. In legacy_theta_qv mode both keys are rejected: remove any previously ignored .thermal key and keep the legacy .theta wall input.

NoSlipWall is the required ERF boundary type for all supported Cloud Chamber wall models. Selecting an aerodynamic momentum model changes the Cloud Chamber tangential wall-stress closure; it does not change the required boundary type or create a moving wall.

Sidewall temperature bands

In physical_temperature_rh, the alternative to a single <face>.temperature is a pair of arrays on the same sidewall. Each of xlo, xhi, ylo, and yhi can choose independently: supply both arrays or a constant, never both forms. Existing constant-temperature inputs are unchanged. The bottom and top plates (zlo, zhi) do not accept bands and retain their existing temperature settings.

temperature_height_edges lists finite, strictly increasing heights in metres above the floor, starting at 0 and ending at the full chamber height \(H\). temperature_values gives one finite, positive temperature in kelvin between each pair of successive edges. For example, on one wet sidewall of a 9 m chamber (not the 1 m runnable example below):

xlo.type = NoSlipWall
xlo.moisture = wet
xlo.temperature_height_edges = 0 3 6 9
xlo.temperature_values = 285 295 285

The middle 3 m band is held at 295 K and the outer bands at 285 K. The bands are static boundary conditions on the existing uniform grid: there is no interpolation between temperatures and no change to the initial gas profile. If an edge cuts a grid face so that 25% of its area is at 285 K and 75% at 295 K, evaluate each active scalar flux \(J(T)\) against the same adjacent gas state and use \(0.25 J(285) + 0.75 J(295)\) for that face. On a saturated wet wall, saturation vapor pressure is nonlinear in temperature: evaluating vapor flux at the mean temperature (292.5 K) is not equivalent. wetness remains one constant RH per wet wall (default 1), not per band.

Dry walls still have zero vapor flux and adiabatic walls still have zero sensible heat flux. A wet adiabatic sidewall uses the band temperatures only for vapor exchange; a dry adiabatic sidewall still needs no temperature input.

Temperature bands do not set a drag coefficient or a wall-exchange timestep rate. On vertical walls the supported closures are resolved transfer, fixed bulk transfer (with or without the molecular term), and neutral roughness-log transfer. At a given air state their transfer rates do not depend on the wall temperature; the heat and wet-vapor fluxes still use each panel’s temperature. coefficient_source = most is rejected on all four sidewalls. A chamber can combine banded sidewalls with MOST on the floor or ceiling: each plate uses its own wall state for MOST drag and scalar exchange, never a sidewall band’s temperature.

Channel defaults

If no per-channel model is specified, the effective physical-wall defaults are:

13 Default wall-transfer models

Channel

Default model

Meaning

momentum

resolved_noslip

retain ERF’s resolved no-slip viscous momentum treatment

heat

resolved_molecular

use the adjacent-cell-to-wall half-cell resolved scalar gradient

vapor

resolved_molecular

use the resolved wet-wall gradient; dry walls remain exactly impermeable

cloud water

no selector

wall flux is always exactly zero

additional moisture species

no selector

physical NoSlip walls use zero normal diffusive flux; native vertical precipitation sedimentation and bottom accumulation remain scheme-owned

The zero diffusive flux for additional species applies to the physical wall transport path. It does not disable or replace scheme-native precipitation sedimentation through the bottom boundary.

The retained aggregate compatibility key

<face>.wall_transfer_model = resolved_molecular

selects the fully resolved/default behavior for that face. Do not combine wall_transfer_model with per-channel model, coefficient, or roughness keys on the same face.

Choose a transfer model

The three configurable channels are selected independently:

<face>.momentum_transfer_model = resolved_noslip|bulk_aero|bulk_aero_plus_molecular|neutral_roughness_log|law_of_wall_momentum
<face>.heat_transfer_model = resolved_molecular|bulk_aero|bulk_aero_plus_molecular|neutral_roughness_log
<face>.vapor_transfer_model = resolved_molecular|bulk_aero|bulk_aero_plus_molecular|neutral_roughness_log

law_of_wall_momentum is a compatibility alias for neutral_roughness_log; it does not select a separate formulation.

14 Wall-model choices

Choice

Applicable channels

Additional inputs

Main behavior

resolved

momentum, heat, vapor

none beyond the basic wall settings and resolved diffusivities

retains ERF resolved no-slip momentum or half-cell scalar transfer

fixed bulk_aero

momentum, heat, vapor

coefficient_source = fixed plus the corresponding C_D, C_H, or C_E

user-supplied dimensionless transfer coefficient multiplied by actual tangential speed

fixed bulk_aero_plus_molecular

momentum, heat, vapor

same fixed bulk coefficients, plus the configured molecular transport coefficients

sums molecular and bulk exchange at the wall; excludes SGS diffusivity

neutral_roughness_log

momentum, heat, vapor

z0_m and the required scalar roughness lengths

neutral aerodynamic log-resistance closure

MOST-provided bulk_aero

momentum, heat, vapor

coefficient_source = most plus the required z0_* values

computes bulk coefficients from the current pointwise Monin–Obukhov stability state; zlo/zhi only

One coefficient provider per face

<face>.coefficient_source is shared by every bulk channel on that face. bulk_aero accepts fixed or most; if any channel selects bulk_aero_plus_molecular, the face must use fixed. Consequently, a single face cannot use fixed bulk momentum and MOST bulk heat at the same time. Non-bulk channels on that face may still be resolved or neutral.

With coefficient_source = fixed, provide a coefficient for every selected bulk channel:

  • C_D for bulk momentum;

  • C_H for bulk heat; and

  • C_E for bulk vapor.

The coefficients must be finite and nonnegative. They are dimensionless. With coefficient_source = most, do not provide C_D, C_H, or C_E; ERF computes them from the current wall-adjacent state.

Important

The parser validates selected vapor-model metadata even on a dry wall. Therefore a dry wall configured with fixed bulk_aero vapor still requires C_E; a dry wall configured with neutral or MOST vapor still requires the corresponding roughness metadata. The physical dry-wall vapor flux nevertheless remains exactly zero.

The same rule applies to heat-model metadata on an adiabatic face: selected models still require their coefficients or roughness lengths, but the heat law is not evaluated and imposes no wall timestep limit.

Roughness requirements

For neutral and MOST closures, the wall-adjacent reference distance is

\[z_\mathrm{ref}=\frac{\Delta n}{2},\]

where \(\Delta n\) is the cell width normal to the face. Every required roughness length must satisfy

\[0 < z_0 < z_\mathrm{ref}.\]

An exception is a heat law retained on an adiabatic face. Its z0_h must be finite and positive, but need not be below the reference distance because the heat resistance is unused. The same applies to z0_m when it is needed only by the inactive heat law. The parser does not clip roughness values.

15 Roughness inputs

Key

Units

Required when

<face>.z0_m

m

any neutral channel, or any bulk_aero channel using MOST

<face>.z0_h

m

neutral heat, or MOST bulk heat

<face>.z0_q

m

neutral vapor, or MOST bulk vapor, including a configured dry vapor channel

When conductive heat and wet vapor both use MOST on one face, z0_h and z0_q must be exactly equal because the implemented bulk-Richardson fixed point uses one scalar stability resistance. This equality is not imposed by a dry vapor channel because dry vapor is not an active scalar-transfer channel.

Per-face input reference

The following table summarizes the physical-temperature wall keys.

16 Cloud Chamber physical-wall input reference

Key

Default

Valid values

Required / rejected when

<face>.type

none

NoSlipWall

required on every face

<face>.heat

conductive

conductive or adiabatic

physical mode only; adiabatic sets normal sensible heat flux to zero

<face>.thermal

omitted

fixed_temperature or adiabatic

alias for <face>.heat; must agree if both are set; rejected in legacy mode

<face>.temperature

none

finite, positive K

required for conductive or wet walls unless sidewall bands are used; optional on dry adiabatic walls

<face>.temperature_height_edges

none

strictly increasing heights in m, from 0 to \(H\) inclusive

sidewalls only; requires temperature_values and excludes temperature

<face>.temperature_values

none

one finite, positive temperature in K per band

sidewalls only; requires temperature_height_edges and excludes temperature

<face>.moisture

none

dry or wet

required on every physical wall; wet requires an active supported moisture model

<face>.wetness

1.0

relative humidity over liquid water (fraction in [0,1], finite)

optional on physical wet walls; rejected on dry and legacy walls

<face>.wall_transfer_model

omitted

resolved_molecular only

compatibility aggregate; rejected when combined with any per-channel transfer key

<face>.momentum_transfer_model

resolved_noslip

resolved_noslip, bulk_aero, bulk_aero_plus_molecular, neutral_roughness_log, law_of_wall_momentum

optional; alias maps to neutral roughness-log

<face>.heat_transfer_model

resolved_molecular

resolved_molecular, bulk_aero, bulk_aero_plus_molecular, neutral_roughness_log

optional

<face>.vapor_transfer_model

resolved_molecular

resolved_molecular, bulk_aero, bulk_aero_plus_molecular, neutral_roughness_log

optional; dry physical vapor flux remains exactly zero

<face>.coefficient_source

omitted

fixed or most

required for either bulk model; rejected if no bulk channel is selected; most only for bulk_aero on zlo/zhi

<face>.C_D

none

finite and nonnegative

required only for fixed bulk momentum; rejected with MOST or non-bulk momentum

<face>.C_H

none

finite and nonnegative

required only for fixed bulk heat; rejected with MOST or non-bulk heat

<face>.C_E

none

finite and nonnegative

required only for fixed bulk vapor, including a configured dry vapor channel; rejected with MOST or non-bulk vapor

<face>.z0_m

none

finite, positive; below z_ref unless used only by inactive heat

required by any neutral channel or any MOST bulk channel; otherwise rejected

<face>.z0_h

none

finite, positive; below z_ref for conductive heat

required by neutral heat or MOST bulk heat; otherwise rejected

<face>.z0_q

none

0 < z0_q < z_ref

required by neutral vapor or MOST bulk vapor; otherwise rejected

<face>.velocity

stationary internally

unsupported

always rejected; moving walls are not implemented

Configuration examples

The snippets below illustrate syntax only. Numeric coefficients and roughness lengths are examples, not calibration recommendations.

Fully resolved physical wall:

zlo.type = NoSlipWall
zlo.temperature = 300.0
zlo.moisture = dry
zlo.wall_transfer_model = resolved_molecular

Fixed bulk momentum and heat with resolved wet vapor:

zlo.type = NoSlipWall
zlo.temperature = 300.0
zlo.moisture = wet
zlo.momentum_transfer_model = bulk_aero
zlo.heat_transfer_model = bulk_aero
zlo.vapor_transfer_model = resolved_molecular
zlo.coefficient_source = fixed
zlo.C_D = 0.01
zlo.C_H = 0.01

Neutral roughness-log momentum, heat, and vapor:

xlo.type = NoSlipWall
xlo.temperature = 292.0
xlo.moisture = wet
xlo.momentum_transfer_model = neutral_roughness_log
xlo.heat_transfer_model = neutral_roughness_log
xlo.vapor_transfer_model = neutral_roughness_log
xlo.z0_m = 1.0e-3
xlo.z0_h = 5.0e-4
xlo.z0_q = 5.0e-4

MOST-provided bulk transfer on a horizontal wall:

zlo.type = NoSlipWall
zlo.temperature = 300.0
zlo.moisture = wet
zlo.momentum_transfer_model = bulk_aero
zlo.heat_transfer_model = bulk_aero
zlo.vapor_transfer_model = bulk_aero
zlo.coefficient_source = most
zlo.z0_m = 2.0e-3
zlo.z0_h = 2.0e-3
zlo.z0_q = 2.0e-3

A face may mix non-bulk and bulk models. For example, neutral momentum may be combined with fixed bulk heat and resolved vapor:

ylo.momentum_transfer_model = neutral_roughness_log
ylo.heat_transfer_model = bulk_aero
ylo.vapor_transfer_model = resolved_molecular
ylo.z0_m = 1.0e-3
ylo.coefficient_source = fixed
ylo.C_H = 0.01

Wall-transfer formulations

Common definitions and sign convention

All Cloud Chamber wall closures use the adjacent wall cell and a reference distance \(z_\mathrm{ref}=\Delta n/2\). For outward unit normal \(\mathbf n\), stationary wall velocity \(\mathbf u_w=0\), and adjacent fluid velocity \(\mathbf u_c\), the tangential relative velocity is

\[\mathbf u_t = (\mathbf I-\mathbf n\mathbf n^T)(\mathbf u_c-\mathbf u_w), \qquad U_t=|\mathbf u_t|.\]

The normal velocity is removed before \(U_t\) is formed.

Physical scalar fluxes in this section are defined as positive into the chamber fluid and are denoted \(J_\mathrm{in}\). ERF stores a face flux in the positive coordinate direction, so

\[\begin{split}F_\mathrm{coord}= \begin{cases} +J_\mathrm{in}, & \text{low face},\\ -J_\mathrm{in}, & \text{high face}. \end{cases}\end{split}\]

For closures that use a prescribed wall temperature, the wall potential temperature is

\[\Pi_w = \left(\frac{p_\mathrm{hse}}{p_0}\right)^{R_d/c_p}, \qquad \theta_w = \frac{T_w}{\Pi_w} = T_w\left(\frac{p_0}{p_\mathrm{hse}}\right)^{R_d/c_p}.\]

Dry vapor and cloud water have exact zero physical wall flux for every supported transfer model:

\[J_{\rho q_v,\mathrm{in}}=0 \quad \text{for a dry wall}, \qquad J_{\rho q_c,\mathrm{in}}=0 \quad \text{for every wall}.\]

A dry wall is therefore not a qv_wall = 0 Dirichlet condition. The heat equations below apply to conductive faces; an adiabatic face has \(J_{\rho\theta,\mathrm{in}}=0\) for every transfer model.

All wet-wall vapor laws derive the wall mixing ratio from the local wall temperature. Wetness scales vapor pressure, not the mixing ratio or the transfer coefficient:

\[e_w = \mathrm{wetness}\,e_{sw}(T_w), \qquad q_{v,w} = \frac{R_d}{R_v}\frac{e_w}{\max(e_w,\,p_\mathrm{hse}-e_w)}.\]

Resolved transfer

momentum_transfer_model = resolved_noslip leaves momentum to ERF’s existing resolved no-slip viscous treatment.

For heat_transfer_model = resolved_molecular, the physical-temperature wall replaces the scalar face flux with the half-cell resolved transfer

\[J_{\rho\theta,\mathrm{in}} = \rho\,\alpha_T\,(\theta_w-\theta_a)\frac{2}{\Delta n}.\]

For a wet wall with vapor_transfer_model = resolved_molecular,

\[J_{\rho q_v,\mathrm{in}} = \rho\,\alpha_C \left[q_{v,w}-q_{v,a}\right] \frac{2}{\Delta n}.\]

The resolved scalar coefficients are configured through erf.alpha_T for heat and erf.alpha_C for moisture. Both have units of m2 s-1. In this Cloud Chamber path they set the half-cell resolved wall-normal scalar transfer; they are not calibrated aerodynamic exchange coefficients.

momentum_transfer_model = resolved_noslip retains ERF’s resolved viscous no-slip momentum-stress treatment and does not use a Cloud Chamber C_D or roughness length.

Fixed bulk-aerodynamic transfer

With coefficient_source = fixed, the user supplies the dimensionless bulk coefficients. Momentum traction on the fluid is

\[\mathbf t_\mathrm{wall\to fluid} = -\rho C_D U_t\mathbf u_t.\]

The traction is tangent to the wall, opposes tangential relative motion, and is exactly zero when \(U_t=0\).

Bulk heat transfer is

\[J_{\rho\theta,\mathrm{in}} = \rho C_H U_t(\theta_w-\theta_a).\]

For a wet wall, bulk vapor transfer is

\[J_{\rho q_v,\mathrm{in}} = \rho C_E U_t \left[q_{v,w}-q_{v,a}\right].\]

The physical transfer uses the actual \(U_t\); there is no hidden minimum speed, gustiness velocity, or free-convection augmentation. Fixed bulk transfer is therefore a forced/shear-dependent closure, not a complete natural- or mixed-convection wall correlation.

Molecular plus fixed bulk transfer

Select bulk_aero_plus_molecular for each channel that should use the sum. Let \(d=\Delta n/2\) be the distance to the first cell center. The combined closure replaces \(C_D U_t\), \(C_H U_t\), and \(C_E U_t\) in the fixed-bulk equations above by \(C_D U_t + \nu/d\), \(C_H U_t + \alpha_T/d\), and \(C_E U_t + \alpha_C/d\), respectively. Both vapor terms multiply the same prescribed contrast \(q_{v,w}-q_{v,a}\), including when wetness is less than one. Here \(\nu\) is erf.dynamic_viscosity / erf.rho0_trans for ConstantAlpha. This is a half-cell molecular wall-gradient model, not an addition of the full interior LES diffusive flux. At rest the molecular heat and wet-wall vapor terms remain if there is a wall-to-air contrast; tangential drag and dry-wall vapor flux are zero. The combined flux replaces the corresponding boundary flux; it is not added on top of it.

At setup, each selected combined channel requires finite, strictly positive molecular inputs: erf.dynamic_viscosity and erf.rho0_trans for momentum, erf.alpha_T for heat, and erf.alpha_C for vapor. A dry wall still has zero vapor flux. The solver computes the half-cell transfer speeds once for the chamber grid and uses the same wall data in the RHS and timestep guard.

bulk_aero remains bulk-only. If the supplied bulk coefficients were fitted to total DNS wall exchange, adding molecular exchange without refitting can count part of that exchange twice. Use coefficients for the residual bulk contribution when calibrating this combined model.

Neutral roughness-log transfer

For neutral_roughness_log, let

\[D_m = \ln\left(\frac{z_\mathrm{ref}}{z_{0m}}\right), \qquad \kappa=0.41.\]

The neutral momentum state is

\[u_* = \frac{\kappa U_t}{D_m}, \qquad C_D=\left(\frac{\kappa}{D_m}\right)^2,\]

and momentum uses the same physical drag form

\[\mathbf t_\mathrm{wall\to fluid} = -\rho C_D U_t\mathbf u_t.\]

Neutral heat and wet-vapor coefficients are

\[C_H = \frac{\kappa^2} {D_m\ln(z_\mathrm{ref}/z_{0h})}, \qquad C_E = \frac{\kappa^2} {D_m\ln(z_\mathrm{ref}/z_{0q})},\]

and the bulk scalar-flux formulas above are then used. A scalar-only neutral heat or vapor channel still requires z0_m because its resistance contains \(D_m\). Neutral channels do not use coefficient_source or user-supplied C_D, C_H, or C_E.

MOST-provided bulk coefficients

coefficient_source = most keeps the bulk_aero physical flux formulas but obtains their coefficients from one pointwise Monin–Obukhov stability state on the wall face. It is supported only on zlo and zhi.

The wall virtual potential-temperature state is

\[\theta_v=\theta(1+\epsilon_v q_v),\]

where

\[\epsilon_v=\frac{R_v}{R_d}-1,\]

using ERF’s thermodynamic constants. For wet walls, MOST uses the same prescribed wall mixing ratio \(q_{v,w}\) as the vapor flux; for dry walls it uses \(q_{v,w}=q_{v,a}\).

For conductive heat, \(\theta_w\) is the potential temperature corresponding to the prescribed \(T_w\). For adiabatic heat, the stability calculation uses \(\theta_w=\theta_a\), so \(\theta_{v,a}-\theta_{v,w}=\theta_a\epsilon_v(q_{v,a}-q_{v,w})\). This gives exactly neutral stability on a dry adiabatic wall and a humidity-only stability correction on a wet adiabatic wall. The calculation uses

\[U_\mathrm{MOST}=\max(U_t,0.01),\]

and the bulk Richardson number

\[Ri_b = s_g\, \frac{g z_\mathrm{ref}}{\theta_a} \frac{\theta_{v,a}-\theta_{v,w}}{U_\mathrm{MOST}^2},\]

where \(s_g=+1\) on zlo and \(s_g=-1\) on zhi. ERF clamps

\[Ri=\mathrm{clamp}(Ri_b,-4,4).\]

Cloud-water loading is not included in the virtual-potential-temperature bulk Richardson number used by this Cloud Chamber MOST closure.

Define

\[D_m=\ln(z_\mathrm{ref}/z_{0m}),\qquad D_h=\ln(z_\mathrm{ref}/z_{0h}),\qquad D_q=\ln(z_\mathrm{ref}/z_{0q}).\]

The scalar resistance used by the stability fixed point is represented by

\[\begin{split}D_s = \begin{cases} D_h, & \text{if MOST heat is active},\\ D_q, & \text{if heat is inactive and active wet MOST vapor is present},\\ D_m, & \text{for momentum-only MOST}. \end{cases}\end{split}\]

Thus z0_h supplies the scalar stability resistance when MOST heat is active, z0_q supplies it otherwise for active wet MOST vapor, and z0_m is used for momentum-only MOST. When wet heat and wet vapor are both active, the parser requires z0_h == z0_q.

Using ERF’s existing similarity functions, define

\[A_m=\max(D_m-\psi_m,1),\qquad A_s=\max(D_s-\psi_h,1),\]

The stability coordinate must solve

\[F(\zeta)=\zeta-Ri\frac{A_m(\zeta)^2}{A_s(\zeta)}=0.\]

The Cloud Chamber uses ERF’s Jimenez calc_psi_m2 and calc_psi_h2 functions. Their stable corrections grow logarithmically in magnitude, not linearly. The critical Richardson number near 0.2 associated with a linear stable correction therefore does not apply to this closure. The existing bulk Richardson number remains clamped to [-4, 4].

Starting from neutral stability (\(\zeta=0\)), the solver first uses the relaxed iteration

\[\zeta_\mathrm{new} =0.5\,\zeta_\mathrm{old} +0.5\,Ri\frac{A_m^2}{A_s}.\]

For stable conditions, this supplies a candidate after at most 100 updates. A small update alone is not accepted as convergence: the solver checks for a nearby sign-changing interval of \(F\) and refines it to a width no greater than \(10^{-3}\) in \(\zeta\), then interpolates within that interval. An exact zero is also accepted. If this check fails, a safeguarded search starts from neutral and examines intervals in order, discarding an interval only when the increasing stable resistances show that \(F\) is negative throughout it. This avoids jumping over a narrow pair of roots. A certified nearby root retains the relaxed iteration’s branch. This need not be the smallest positive root: for some allowed roughness combinations, the neutral-start iteration passes the first two roots and reaches a third. Only when the iteration cannot certify a root does the ordered search select the first positive root it can resolve. This branch policy preserves certified iteration solutions; it does not establish which of several roots best represents a physical chamber.

The returned coordinate is within \(10^{-3}\) of a bracketed root; this is an absolute numerical tolerance, not a change to the wall physics. An interval that cannot be distinguished at machine precision is retained in that location-error bound; the solver must certify a root within the bound or report an error rather than jump to a distant branch. Valid stable roots can exceed \(\zeta=100\). Exhausting the finite search budget or floating-point resolution is an error, as is a non-finite result. Failure terminates the calculation on both host and device, including optimized GPU builds with assertions disabled. There is no silent neutral fallback or artificial upper stability limit. Neutral and unstable conditions retain the existing relaxed iteration.

After convergence,

\[A_m=\max(D_m-\psi_m,1),\qquad A_h=\max(D_h-\psi_h,1),\qquad A_q=\max(D_q-\psi_h,1),\]

and

\[C_D=\left(\frac{\kappa}{A_m}\right)^2,\qquad C_H=\frac{\kappa^2}{A_mA_h},\qquad C_E=\frac{\kappa^2}{A_mA_q}.\]

The internal MOST closure also forms the friction velocity

\[u_* = \frac{\kappa U_\mathrm{MOST}}{A_m}.\]

The 0.01 speed floor is used only to condition the stability calculation. Physical momentum, heat, and vapor transfer still multiply the actual \(U_t\), so all shear-dependent physical transfer is exactly zero at rest.

A configured dry MOST vapor channel is metadata only: its z0_q is still required and validated, but dry vapor does not participate in the active scalar stability resistance and its physical wall flux remains exactly zero. When a moisture state is present, ambient qv still enters the virtual potential temperature used by any active MOST momentum or heat calculation. Similarly, adiabatic heat does not supply the scalar stability resistance: wet MOST vapor uses z0_q; momentum-only MOST uses z0_m. Neither uses z0_h or a prescribed sensible temperature contrast on an adiabatic wall.

Momentum stress application

Bulk and neutral momentum closures return physical wall-on-fluid tangential traction. The Cloud Chamber stress adapter maps that traction onto ERF’s retained cross-stress components and the existing DiffusionSrcForMom operator applies the momentum divergence. The wall closure does not replace normal diagonal stress. This distinction matters when comparing analytic traction with stored stress-array signs.

Wall-transfer timestep guard

Bulk and neutral transfer can impose a stronger explicit timestep restriction than the ordinary advective/diffusive CFL limits. ERF therefore scans the wall-adjacent state and constructs a wall rate.

For heat or active wet vapor,

\[\lambda_s = C_s U_t\,\Delta n^{-1}.\]

Neutral scalars use their derived coefficient. Dry vapor and adiabatic heat do not contribute because their wall fluxes are exactly zero.

For a bulk or neutral tangential momentum face, the local conservative infinity-row-sum factor is

\[K_\infty=\frac{3+\sqrt{2}}{2},\]

so the per-face momentum contribution is

\[\lambda_{m,f} = K_\infty C_{D,f}U_{t,f}\Delta n_f^{-1}.\]

For bulk_aero_plus_molecular, add \((\nu/d)\Delta n^{-1}\) to the momentum rate (without \(K_\infty\)), or \((\alpha_s/d)\Delta n^{-1}\) to the corresponding scalar rate. If an incident face uses combined transfer for an active scalar, the guard sums that scalar’s rates from all incident physical faces. For example, where a combined heat face meets a resolved_molecular heat face, the resolved face contributes \(2\alpha_T/\Delta n^2\) to the heat sum. Both faces of a one-cell direction count. Heat and vapor are handled separately: a dry face neither contributes to nor activates the vapor sum. Without an active combined face for that scalar, the guard retains the largest bulk or neutral face rate; a resolved face alone does not impose a separate wall-law limit. This rule does not depend on enabling ERF’s optional interior diffusion timestep limiter.

For each velocity component, the guard sums modeled momentum rates only from walls tangential to that component. If any of those walls uses combined momentum transfer, the same row also includes its incident resolved no-slip walls. For example, a combined bottom plate and a resolved x-sidewall both act on y-momentum. The plate’s molecular term is \(2\nu/\Delta z^2\). The sidewall retains ERF’s ordinary one-sided shear stencil, with uniform-grid weights \((-8/3,3,-1/3)\) for the prescribed wall velocity and the two interior velocities. Its molecular contribution to the absolute wall-row sum is therefore \((3+1/3)\nu/\Delta x^2\). This is a timestep estimate, not an additional stress or a bound on interior or SGS diffusion. A combined scalar wall does not activate this momentum rule.

MOST coefficients are evaluated once for the current wall/cell sample and then treated as frozen for this local rate estimate; this is not an exact Jacobian of the nonlinear MOST iteration.

The wall limit is

\[dt_\mathrm{wall}=\frac{0.5}{\lambda_\mathrm{max}}.\]

Adaptive stepping takes the minimum of this limit and the ordinary ERF constraints. If a positive user-specified erf.fixed_dt exceeds the wall limit, ERF aborts and reports the requested fixed step, wall limit, and maximum wall rate; it does not silently clip the requested fixed step.

Conserved-scalar budget diagnostics

Set

erf.cloud_chamber_budget_interval = <positive number of steps>

to write cloud_chamber_budget.dat. The diagnostic uses the same retained physical wall face flux that is applied to the scalar RHS; it does not re-evaluate a separate wall closure.

Each output row contains the interval start/end step and time, scalar name and units, six face contributions, net boundary contribution, volume change, internal source, residual, tolerance, and status. Face signs follow the coordinate-flux convention above, so the net inward boundary contribution is formed from low-minus-high stored coordinate fluxes.

For total nonprecipitating water,

\[\Delta\int_\Omega \rho(q_v+q_c)\,dV = \int_{t_a}^{t_b}\sum_f J_{v,\mathrm{in}}\,dA\,dt.\]

SatAdj exchange between qv and qc cancels in this total-water row. With six dry walls the total-water boundary contribution is exactly zero.

Budget statuses are:

PASS

A supported conservation row closes within its printed tolerance.

FAIL

A supported conservation row is outside its printed tolerance.

UNSUPPORTED_SOURCE

The row is not a supported conservation verdict because the diagnostic does not account for every required internal source. In SatAdj Cloud Chamber runs, rhoTheta is always labeled UNSUPPORTED_SOURCE because the current diagnostic omits part of the moist latent-heating source, regardless of the numerical residual. Use dry rhoTheta for strict thermal closure and total nonprecipitating water for moist conservation checks.

Enabling the budget diagnostic must not change the simulated state.

Bulk-microphysics diagnostics

The existing erf.cloud_chamber_budget_interval diagnostic is currently supported only for the dry and SatAdj physical-temperature chamber. Set it to 0 (or omit it) when selecting another bulk microphysics model. The existing budget does not account for all precipitating and number-concentration components, nor for bulk-scheme bottom precipitation collection, and must not be interpreted as a total-water closure check in those configurations.

Choose plotfile fields from those supported by the active model. In particular, qv, qc and qsat can be useful for bulk runs, while rel_humidity is not available as a common diagnostic for every bulk scheme. The species names and their availability follow ERF’s MoistureComponentIndices mapping; a scheme may allocate more conserved components than it actually integrates.

A model’s native precipitation-accumulation field is not automatically a mass-per-area diagnostic; use the scheme’s accumulation-unit conversion when constructing a kg m-2 column-water budget.

Tracked regression inputs

The repository contains tracked cases for the principal supported paths. Their grids, time steps, LES settings, transfer coefficients, and roughness lengths are software-test parameters, not recommendations for laboratory calibration or grid-converged atmospheric modeling. The files are useful for examining syntax and supported diagnostic names.

Some listed inputs are CTest templates, not runnable decks: CloudChamber_Bulk/CloudChamber_Bulk.i and CloudChamber_Bulk_Legacy/CloudChamber_Bulk_Legacy.i contain @BULK_MODEL@ and other substitutions, while CloudChamber_ActiveCondensation/CloudChamber_ActiveCondensation.i contains @MODEL@. The CTest runners replace these tokens before launching ERF. Replace those tokens with supported model names and compatible settings before running a template directly. The complete Kessler_NoRain example below contains no such substitutions.

17 Tracked Cloud Chamber examples

Case

Input file

Dry physical, resolved walls

Tests/test_files/CloudChamber_Dry/CloudChamber_Dry.i

SatAdj wet, resolved walls and budgets

Tests/test_files/CloudChamber_SatAdj_WetBudget/CloudChamber_SatAdj_WetBudget.i

SatAdj mixed fixed-bulk wall transfer

Tests/test_files/CloudChamber_SatAdj_BulkMixedWet/CloudChamber_SatAdj_BulkMixedWet.i

SatAdj neutral roughness-log transfer

Tests/test_files/CloudChamber_SatAdj_NeutralWet/CloudChamber_SatAdj_NeutralWet.i

SatAdj MOST wet-wall transfer and budgets

Tests/test_files/CloudChamber_SatAdj_MOSTWetBudget/CloudChamber_SatAdj_MOSTWetBudget.i

Mixed neutral sidewalls and MOST horizontal walls

Tests/test_files/CloudChamber_SatAdj_MOSTMixedWalls/CloudChamber_SatAdj_MOSTMixedWalls.i

Physical-temperature bulk-microphysics startup and finite-state smoke input

Tests/test_files/CloudChamber_Bulk/CloudChamber_Bulk.i

Quick WDM6 physical chamber restart-parity smoke input

Tests/test_files/CloudChamber_WDM6_Restart/CloudChamber_WDM6_Restart.i

Active Kessler_NoRain condensation and dry-wall water-balance input

Tests/test_files/CloudChamber_ActiveCondensation/CloudChamber_ActiveCondensation.i

WDM6 active-state checkpoint/restart input

Tests/test_files/CloudChamber_WDM6_ActiveRestart/CloudChamber_WDM6_ActiveRestart.i

Legacy theta/qv Kessler_NoRain smoke input

Tests/test_files/CloudChamber_Bulk_Legacy/CloudChamber_Bulk_Legacy.i

Legacy theta/qv configuration

Tests/test_files/CloudChamber_Legacy_Config/CloudChamber_Legacy_Config.i

A complete dry physical example is included below.

1 Dry physical Cloud Chamber with resolved wall transfer
# Cloud Chamber dry physical-temperature regression.
erf.prob_name = "Cloud Chamber"
erf.init_type = ConstantDensity
erf.compressibility_type = Anelastic
erf.use_gravity = true
erf.vert_implicit = false
erf.molec_diff_type = ConstantAlpha
erf.dynamic_viscosity = 0.0
erf.alpha_T = 0.001
erf.alpha_C = 0.001
erf.les_type = Smagorinsky
erf.Cs = 0.1
erf.fixed_dt = 0.001
erf.sum_interval = -1
erf.check_int = -1
erf.cloud_chamber_budget_interval = 2
erf.plot_file_1 = plt
erf.plot_int_1 = 2
erf.plot_vars_1 = density theta temp pressure x_velocity y_velocity z_velocity

max_step = 6
geometry.prob_lo = 0.0 0.0 0.0
geometry.prob_hi = 2.0 2.0 1.0
geometry.is_periodic = 0 0 0
amr.n_cell = 16 16 8
amr.max_level = 0

prob.p_inf = 100000.0
prob.T_0 = 292.0
prob.thermodynamic_initialization = physical_temperature_rh
prob.initial_temperature_bottom = 300.0
prob.initial_temperature_top = 284.0
prob.temperature_perturbation_amplitude = 0.02
prob.perturbation_mode = deterministic_sine

xlo.type = NoSlipWall
xhi.type = NoSlipWall
ylo.type = NoSlipWall
yhi.type = NoSlipWall
zlo.type = NoSlipWall
zhi.type = NoSlipWall
xlo.temperature = 292.0
xlo.moisture = dry
xlo.wall_transfer_model = resolved_molecular
xhi.temperature = 292.0
xhi.moisture = dry
xhi.wall_transfer_model = resolved_molecular
ylo.temperature = 292.0
ylo.moisture = dry
ylo.wall_transfer_model = resolved_molecular
yhi.temperature = 292.0
yhi.moisture = dry
yhi.wall_transfer_model = resolved_molecular
zlo.temperature = 300.0
zlo.moisture = dry
zlo.wall_transfer_model = resolved_molecular
zhi.temperature = 284.0
zhi.moisture = dry
zhi.wall_transfer_model = resolved_molecular

Runnable moist Cloud Chamber example

This small, complete example uses Kessler_NoRain to demonstrate wall-driven cooling and in-air vapor-to-cloud conversion without native rain sedimentation. It starts at 284 K with saturation relative to liquid water; the top wall is held at 270 K and all six walls are dry. The example is a numerical demonstration, not a calibrated Pi-Chamber simulation or a resolution recommendation. Save the input as a plain-text ERF input file and run it with the erf_exec built for your configuration.

erf.prob_name = "Cloud Chamber"
erf.init_type = ConstantDensity
erf.compressibility_type = Anelastic
erf.use_gravity = true
erf.moisture_model = Kessler_NoRain
erf.vert_implicit = false
erf.molec_diff_type = ConstantAlpha
erf.dynamic_viscosity = 0.0
erf.alpha_T = 0.01
erf.alpha_C = 0.001
erf.les_type = Smagorinsky
erf.Cs = 0.1
erf.fixed_dt = 0.001
erf.sum_interval = -1
erf.check_int = -1
erf.cloud_chamber_budget_interval = 0
erf.plot_file_1 = plt
erf.plot_int_1 = 1000
erf.plot_vars_1 = density theta temp pressure qv qc qt qsat x_velocity y_velocity z_velocity

max_step = 1000
geometry.prob_lo = 0.0 0.0 0.0
geometry.prob_hi = 2.0 2.0 1.0
geometry.is_periodic = 0 0 0
amr.n_cell = 8 8 8
amr.max_level = 0
amr.max_grid_size = 4

prob.p_inf = 100000.0
prob.T_0 = 284.0
prob.thermodynamic_initialization = physical_temperature_rh
prob.initial_temperature_bottom = 284.0
prob.initial_temperature_top = 284.0
prob.initial_relative_humidity = 1.0
prob.temperature_perturbation_amplitude = 0.0
prob.perturbation_mode = deterministic_sine

xlo.type = NoSlipWall
xhi.type = NoSlipWall
ylo.type = NoSlipWall
yhi.type = NoSlipWall
zlo.type = NoSlipWall
zhi.type = NoSlipWall
xlo.temperature = 284.0
xlo.moisture = dry
xlo.wall_transfer_model = resolved_molecular
xhi.temperature = 284.0
xhi.moisture = dry
xhi.wall_transfer_model = resolved_molecular
ylo.temperature = 284.0
ylo.moisture = dry
ylo.wall_transfer_model = resolved_molecular
yhi.temperature = 284.0
yhi.moisture = dry
yhi.wall_transfer_model = resolved_molecular
zlo.temperature = 284.0
zlo.moisture = dry
zlo.wall_transfer_model = resolved_molecular
zhi.temperature = 270.0
zhi.moisture = dry
zhi.wall_transfer_model = resolved_molecular

The initial and final output should be inspected for temp, theta, qv, and qc. Cloud water may form inside the cooled air as vapor condenses; this does not imply vapor transport across a dry boundary. Because Kessler_NoRain does not sediment rain, its water balance differs from that of precipitating Kessler. The separate regression test checks measurable cloud formation, a noncondensing control, a latent-temperature signal, and conservation of integrated \(\rho_d(q_v+q_c)\) for this dry-wall configuration. A plot that looks plausible is not itself a conservation or quantitative laboratory-validation result.

Bulk-microphysics verification

The short CloudChamber_BulkSmoke_* cases check that each supported active Eulerian moisture configuration, including the noncondensing MoistNoCondensation transport option, accepts the chamber configuration, publishes the expected plot variables, and advances a few steps with finite core fields and active moisture fields that are finite and nonnegative within numerical tolerance. They are startup and interface tests, not demonstrations of nonzero condensation, rain collection, realistic aerosol activation, or conservation across every scheme.

CloudChamber_Active_KesslerNoRain is the focused end-to-end in-air condensation test. It begins with an analytic cloud-free, liquid-water saturated RH=1 state, cools the dry top wall, and compares its evolved Kessler_NoRain state against a matched MoistNoCondensation control. Its oracle requires positive cloud-water mass, vapor depletion relative to the control, cooling near the upper wall, a positive latent-temperature response in cloud-bearing cells, and closure of the total nonprecipitating water mass integrated as \(\sum_\mathrm{cells}\rho_d(q_v+q_c)\Delta V\). The test’s dry walls prevent vapor exchange through the boundary, but do not prevent conversion of vapor into cloud water within the air.

CloudChamber_WDM6_ActiveRestart checks an evolved WDM6 mass and number state at step 500, including nonzero qc and cloud-drop number nc. It also requires aerosol/CCN number nn to depart measurably from its specified initial ccn0 and remain spatially nonuniform. The test compares straight and restarted plotted fields at the first resumed step (501) and again at step 1000, with zero relative and absolute fcompare tolerances. This is a restart-state fidelity regression, not a quantitative CCN-activation validation. The shorter WDM6 restart case is only a smoke test.

The active condensation and excited WDM6 restart regressions are qualified and registered only for DOUBLE precision. SINGLE retains the bulk startup smoke cases, the short WDM6 restart where supported, and the precision-aware unit/property tests. The active tests’ physical thresholds are not single-precision qualification criteria.

Separate seeded Kessler public-flow property tests exercise native sedimentation, water-column budgets, and the scheme’s surface-accumulation interface. In particular, Precipitation_KesslerPublicFlowColumnWaterBudgetIncludesSurfaceRain requires strictly positive collected rain after conversion from the native accumulation units to kg m-2 through the production public interface. That test also checks that initial atmospheric column water equals final atmospheric column water plus collected precipitation within its stated numerical tolerance. Neighboring geometry-weighted and sedimentation property tests have separate, complementary assertions. None of these seeded tests establishes measurable clean-start rain production in a full precipitating Cloud Chamber simulation.

A dry wall imposes zero normal diffusive moisture-species flux for water vapor, suspended cloud water, and additional conserved moisture constituents. It does not block thermal diffusion: heat can still cross a dry, prescribed-temperature wall through its selected heat-transfer closure. In fact, the active Kessler_NoRain example relies on heat transfer from the air to a cold, dry top wall while all moisture remains within the air.

Wall scalar diffusion and native hydrometeor sedimentation are distinct operators. A dry wall does not disable rain, snow, or graupel sedimentation through the lower model boundary in a precipitating bulk scheme. Surface precipitation accumulators and their conversions are owned by the selected microphysics scheme. Do not add number concentrations (nn, nc, etc.) to water mass or treat raw accumulator values from different schemes as a universal kg m-2 budget without the model-specific unit conversion. The chamber interval budget remains limited to physical dry and SatAdj cases; it is not a precipitating bulk total-water budget.

The extra-species wall tests validate the production NoSlipWall logical scalar mapping and N-grid diffusion adapter for several conserved mass and number lanes. The multibox case also checks interior and decomposition-seam fluxes, and a deliberate wrong-BC control makes the boundary-flux oracle sensitive. The tests do not execute the entire ERF::init_bcs to slow-RHS path, so they establish adapter/stencil behavior, not end-to-end species wall-flux closure in a full chamber simulation.

Neither the short smoke matrix nor the active physics/restart/property tests establish quantitative agreement with Pi-Chamber observations, fidelity of native aerosol activation to any particular laboratory aerosol distribution, or grid-converged LES behavior.

Run checklist

  1. Choose physical_temperature_rh for new work, or legacy_theta_qv only for compatibility with an existing legacy input.

  2. Use one ConstantDz, nonperiodic Cartesian level with fixed-density anelastic dynamics and gravity.

  3. In physical_temperature_rh, define bottom/top initial temperature and add RH when any active supported moisture model is enabled.

  4. For physical_temperature_rh, define all six stationary NoSlipWall faces with dry or wet moisture state. Supply wall temperature for conductive heat or wet moisture. Choose the momentum, heat, and vapor model on each face; remember that one coefficient_source is shared by every bulk channel on that face. Supply every required coefficient or roughness length. Check the grid bounds in the per-face input reference and use equal z0_h and z0_q when conductive heat and wet vapor both use MOST on one face.

  5. For legacy_theta_qv, use the legacy <face>.theta wall values and, for cloudy legacy cases, provide <face>.qv. Do not use generalized per-channel wall-transfer keys in legacy mode.

  6. Choose a timestep that satisfies the wall-rate guard, or use adaptive stepping.

  7. Run a short case and inspect velocity, temperature/potential temperature, and, for active moisture models, qv and qc plus only the species diagnostics supported by that model.

  8. Enable erf.cloud_chamber_budget_interval only for dry or SatAdj physical-temperature cases; it is not a bulk total-water budget.

Supported scope and limitations

The implemented Cloud Chamber wall-model scope is intentionally limited to:

  • one Cartesian ConstantDz level with no AMR refinement;

  • six stationary NoSlipWall faces;

  • no periodic direction;

  • no terrain, embedded boundaries, or immersed buildings;

  • conductive (prescribed-temperature) or adiabatic sensible heat boundaries;

  • resolved, fixed bulk, neutral roughness-log, and horizontal MOST transfer as documented above; and

  • forced/shear-dependent bulk transfer with no gustiness or natural/mixed convection augmentation.

The Cloud Chamber does not add moving walls, smooth-wall y+/viscous- sublayer laws, stretched-dz or terrain-aware wall sampling, EB/AMR wall closures, natural-convection correlations, ocean/COARE transfer laws, facility-specific droplet impaction/deposition, or a calibrated wall precipitation-collection model. Its supported precipitating bulk schemes retain their native hydrometeor sedimentation and surface precipitation accumulation, which can remove atmospheric water through the bottom boundary.

There is no new Cloud Chamber-specific aerosol or droplet activation parameterization. This is distinct from the physics already provided by a selected microphysics model: for example, native WDM6 evolves aerosol/CCN number and cloud-droplet number through its activation and state-transfer paths. Operational availability and passing software regression tests do not establish quantitative aerosol-activation fidelity, calibration against laboratory observations, or convergence with grid resolution. A numerically stable run alone is not evidence of quantitative Pi-Chamber agreement or grid-independent LES behavior.

Troubleshooting

initial_relative_humidity is rejected in dry mode

Omit prob.initial_relative_humidity when no moisture model is active. Otherwise use a fraction such as 0.95, not 95.

A wet wall is rejected

Wet walls require a supported active moisture model; dry mode cannot exchange water vapor with the wall.

A bulk model’s chamber budget is rejected

erf.cloud_chamber_budget_interval is limited to dry and SatAdj physical chamber cases. Omit the option or set it to 0.

coefficient_source is rejected

Use it only when at least one channel on that face selects a bulk model. If any selects bulk_aero_plus_molecular, the provider must be fixed.

C_D, C_H, or C_E is missing

Fixed bulk transfer requires the coefficient corresponding to every bulk channel. A configured dry bulk-vapor channel still requires C_E even though its physical vapor flux is exactly zero.

A C_* coefficient is rejected with MOST

MOST computes the bulk coefficients. Remove user-supplied C_D, C_H, and C_E for the channels using the face-level MOST provider.

MOST is rejected on a side wall

coefficient_source = most is implemented only on zlo and zhi. Use resolved, fixed bulk, or neutral roughness-log transfer on side walls.

A roughness length is rejected

Check that the selected model actually consumes the key and that 0 < z0_* < Delta_n/2 for the face-normal cell spacing.

Wet heat+vapor MOST rejects unequal z0_h and z0_q

The implemented prescribed-temperature bulk-Richardson fixed point uses one scalar stability resistance, so coupled wet MOST heat and vapor require equal scalar roughness lengths.

Dry vapor appears to have no transfer

This is intentional. moisture = dry enforces exact zero vapor wall flux for resolved, fixed bulk, neutral, and MOST selections. Configured model metadata is still validated.

A positive fixed timestep aborts

Compare the reported fixed_dt with wall_dt. Bulk, neutral, and MOST wall transfer participate in an explicit wall-rate stability guard.

The cloudy rhoTheta budget reports UNSUPPORTED_SOURCE

The current diagnostic does not include the complete moist latent-heating source. Use total nonprecipitating water for the supported cloudy conservation check.