# Base parameters for simulationCases/bretherton.c
# Code units: sigma = mu_c = R (volume-equivalent drop/bubble radius) = 1
CaseNo=1000
MAXlevel=10
MINlevel=4
Ca=0.05 # imposed mean inlet capillary number mu_c U / sigma
La=1 # Laplace number rho_c sigma R / mu_c^2
muR=0.01 # viscosity ratio mu_d / mu_c (0.01 = bubble)
rhoR=0.001 # density ratio rho_d / rho_c (0.001 = bubble)
Rtube=0.7 # tube radius in units of R (< 1 for a confined drop/bubble)
Rb0frac=0.8 # initial capsule radius as a fraction of Rtube
xRear=1.0 # initial rear-tip distance from the inlet
Ldomain=16 # domain size in units of R
travelR=8 # bubble advance in units of R; sets tmax = travelR/Ca
# capped below the ~9.0 R available before the outlet buffer
# tmax and tsnap derive from travelR and Ca unless set here
tRamp=1 # inlet ramp time
dtmax=0.01
# Deposited central-film convergence; distances use the radius R above.
advWin=0.25
advMin=1
convHold=3
bTol=0.002 # relative change between successive window-averaged films
speedTol=0.02 # relative change of front speed between windows
shapeTol=0.02 # front/rear/centroid speed agreement and relative length drift
requireShapeSteady=true
filmBins=128
filmCoverage=0.95
filmFlatTol=0.05
freshFracMin=0.98
filmCells=4 # measured minimum cells across the film; 0 disables this gate
filmMinLevel=0 # optional mesh floor over the interface and wall-facing film
solverTol=0.0001
# filmSampleDt derives from tsnap and advWin unless explicitly set.
# For a refined restart, set freshFront to the seed front position and
# regridBurnR to the required settling distance. Restart windows start empty.