1# Physical microsystem dimensions [m]
2length = 6.74e-3
3width = 2.5e-3
4thickness = 0.03e-3
5
6# Image segmentation and contour extraction
7grainMeaning = 1 # 0: light grains; 1: dark grains
8threshold = 0.5 # Grayscale threshold in [0, 1]
9rescale = 1 # Positive image rescaling factor
10grainsSize = 0 # Small-object size threshold [pixels]
11borderTol = 0 # External-border polygon tolerance
12grainsTol = 0 # Interior-grain polygon tolerance
13
14# Figures, device geometry, and mesh
15lineWidth = 1
16channelWidth = 0.2e-3 # Device-channel width [m]
17meshSize = 8e-6 # Target mesh size [m]
18
19# Fluid and tracer properties
20viscosity = 1e-6 # Kinematic viscosity [m2/s]
21diffusion = 1e-12 # Tracer diffusion coefficient [m2/s]
22
23# Boundary conditions and simulation controls
24inletLocation = "top" # left, top, right, or bottom
25inletValue = 5.0e-4 # Pressure divided by density [Pa/(kg/m3)]
26tracerTime = 120 # Tracer end time [s]
27tracerWrite = 1 # Tracer write interval [s]
28pressureConv = 1e-7 # Pressure convergence criterion
29velocityConv = 1e-8 # Velocity convergence criterion
30iterationsMax = 10000 # Maximum steady-flow iterations
31tracerStep = 1 # Tracer time step [s]