Target solver: https://github.com/nd-92/cudaLBM
densityBased/— generators for density-based formulationspressureBased/— generators for pressure-based formulationscommonFunctions/— shared symbolic and helper routines
For each formulation (densityBased or pressureBased), only these files
are intended to be modified:
neumannBoundaries.mstaticBoundaries.m
All other files are shared infrastructure.
Both neumannBoundaries.m and staticBoundaries.m expose the same controls.
phase_field = true; % or falsewantNames defines which boundaries are generated.
Only the names listed in this array are emitted.
Example:
wantNames = [ ...
"WEST_NORTH_FRONT", "EAST_NORTH_FRONT", ...
...
"WEST_NORTH", "EAST_NORTH", ...
"WEST_FRONT", "EAST_FRONT", ...
"NORTH_FRONT", ...
...
"NORTH", "FRONT"
];