-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.params
More file actions
114 lines (91 loc) · 3.69 KB
/
default.params
File metadata and controls
114 lines (91 loc) · 3.69 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
# # default.params
# Default parameter set for drop impact simulations.
# Format: key=value (one per line, # for comments).
# This file provides a typical water-air drop impact configuration.
# ============================================================
# Case Identification
# ============================================================
# Case number for folder naming (4-digit: 1000-9999)
# Output will be created in simulationCases/<CaseNo>/
CaseNo=1000
# ============================================================
# Physical Parameters (Dimensionless Numbers)
# ============================================================
# Weber number: We = ρU²R/σ (inertia vs surface tension)
We=10.0
# Ohnesorge number (drop): Oh = μ/√(ρσR) (viscous vs surface tension)
Ohd=1.0e-2
# Ohnesorge number (surrounding gas)
Ohs=1.0e-5
# Density ratio: ρ_gas/ρ_drop (air-water ≈ 1e-3)
rho_ratio=1.0e-3
# Computed Reynolds number: Re = √We/Oh ≈ 100
# ============================================================
# Geometry Configuration
# ============================================================
# Domain size in drop radii (must be >> drop radius to avoid boundary effects)
Ldomain=8.0
# Initial drop center position (radial coordinate, in drop radii)
# Should be > 0 to avoid axis, and > drop_radius to avoid overlap with surface
drop_x=1.05
# Initial drop center position (axial coordinate, height above surface)
# Set to drop_radius for drop just touching surface at t=0
drop_y=0.0
# Drop radius (normalized, typically 1.0)
drop_radius=1.0
# Initial impact velocity (negative = downward toward surface)
# Magnitude of 1.0 corresponds to unit Weber number scaling
impact_velocity=-1.0
# ============================================================
# Numerical Parameters (Mesh Adaptation)
# ============================================================
# Maximum refinement level (2^MAXlevel cells at finest resolution)
# Level 10 → 1024 cells, Level 11 → 2048 cells, etc.
# Higher = more accurate but slower
MAXlevel=14
# Minimum refinement level (coarsest allowed)
# Typically 4-5 for axisymmetric simulations
MINlevel=6
# Initial grid level (before adaptation)
# Start coarse, adaptation will refine where needed
init_grid_level=6
# VOF field error tolerance
# Controls interface resolution (smaller = finer mesh at interface)
fErr=1.0e-3
# Curvature error tolerance
# Important for surface tension accuracy
KErr=1.0e-4
# Velocity error tolerance
# Controls resolution of flow features
VelErr=1.0e-2
# ============================================================
# Time Control
# ============================================================
# Maximum simulation time in CONVECTIVE TIME UNITS
# Actual simulation: tmax_sim = tmax * sqrt(We)
#
# Physical basis: Convective timescale τ_c = R/U ~ sqrt(We) in normalized units
# Example: tmax=1, We=10 → simulation runs until t ≈ 3.16
#
tmax=1e0
# Snapshot interval for dump files
# Balance between temporal resolution and storage
tsnap=0.01
# ============================================================
# Output Configuration
# ============================================================
# Output directory name
# Will be created if it doesn't exist
output_dir=results
# Statistics logging interval (iterations)
# Write log entry every N timesteps (1 = every step)
log_interval=1
# ============================================================
# Advanced: Outflow Boundary Control
# ============================================================
# Unrefine mesh if x > outflow_x_max (in drop radii)
# Prevents wasted resolution far from drop
outflow_x_max=4.0
# Unrefine mesh if y > outflow_y_max (in drop radii)
# Far-field boundary where solution should be simple
outflow_y_max=8.0