Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
8fd88cd
Moving EL bubbles with MPI decomposition
sbryngelson Mar 27, 2026
ac13779
remove stale toolchain files, apply format fixes
sbryngelson Mar 27, 2026
cf431a3
restore master inline comments safely (exclude PR-removed variables)
sbryngelson Mar 27, 2026
3cb6462
comment cleanup
sbryngelson Mar 28, 2026
98bcbf9
fix linter
sbryngelson Mar 28, 2026
cad1e27
Merge branch 'master' into MovingBubblesFresh-clean
sbryngelson Mar 31, 2026
be81a12
Merge branch 'master' into MovingBubblesFresh-clean
sbryngelson Apr 1, 2026
6d61182
Merge branch 'master' into MovingBubblesFresh-clean
sbryngelson Apr 2, 2026
bd58f72
Merge master into MovingBubblesFresh-clean
sbryngelson Apr 6, 2026
d3b9e80
Merge branch 'master' into MovingBubblesFresh-clean
sbryngelson Apr 6, 2026
123ca17
Fix formatting from merge resolution
sbryngelson Apr 6, 2026
8e2df92
Merge branch 'MovingBubblesFresh-clean' of https://github.com/wilfonb…
sbryngelson Apr 6, 2026
4fbde14
merge upstream
wilfonba Apr 15, 2026
fcead30
complete merge and globalize new combined bc%x[y,z]%beg[end] derived …
wilfonba Apr 18, 2026
357f7d4
fix GPU build and test
wilfonba Apr 18, 2026
50a866f
Merge remote-tracking branch 'upstream/master' into MovingBubblesFres…
wilfonba Apr 21, 2026
02fa684
more CI bug fixes
wilfonba Apr 21, 2026
81a9572
correctness changes and validation examples
wilfonba Apr 28, 2026
ce61318
example case updates
wilfonba Apr 28, 2026
8df3289
merge
wilfonba Apr 28, 2026
58b9a68
precheck and missing staged files
wilfonba Apr 28, 2026
885ccfc
add moving EL tests
wilfonba Apr 30, 2026
fcc6c99
precheck and merge
wilfonba Apr 30, 2026
1aa5ff2
fixes for Frontier
wilfonba May 1, 2026
fda872c
bug fix, regen golden files, and stale file removal
wilfonba May 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ examples/*/workloads/
examples/*/run-*/
examples/*/logs/
examples/**/*.f90
examples/**/*.csv
!examples/3D_lag_bubbles_shbubcollapse/input/lag_bubbles.dat
!examples/3D_lag_bubbles_bubblescreen/input/lag_bubbles.dat
workloads/
Expand Down Expand Up @@ -114,3 +115,4 @@ cce_*/
cce_*.log
run_cce_*.sh
.ffmt_cache/
**/.ffmt_cache/
58 changes: 40 additions & 18 deletions docs/documentation/case.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,16 @@ Setup: Only requires specifying `init_dir` and filename pattern via `zeros_defau
Implementation: All variables and file handling are managed in `src/common/include/ExtrusionHardcodedIC.fpp` with no manual grid configuration needed.
Usage: Ideal for initializing simulations from lower-dimensional solutions, enabling users to add perturbations or modifications to the base extruded fields for flow instability studies.

The following parameters support hardcoded initial conditions that read interface data from files:

| Parameter | Type | Description |
| ---: | :---: | :--- |
| `interface_file` | String | Path to interface geometry data file |
| `normFac` | Real | Interface normalization factor |
| `normMag` | Real | Interface normal magnitude |
| `g0_ic` | Real | Initial gas volume fraction for interfacial IC |
| `p0_ic` | Real | Initial pressure for interfacial IC |

#### Parameter Descriptions

- `num_patches` defines the total number of patches defined in the domain.
Expand Down Expand Up @@ -353,7 +363,7 @@ Definitions for currently implemented immersed boundary patch types are listed i

- `c`, `t`, `p`, and `m` specify the parameters for a NACA airfoil.
`m` is the maximum camber, `p` is the location of maximum camber, `c` is the coord length, and `t` is the thickness.
Additional details on this specification can be found in [NACA airfoil](https://en.wikipedia.org/wiki/NACA_airfoil).
Additional details on this specification can be found in [The Naca Airfoil Series](https://web.stanford.edu/~cantwell/AA200_Course_Material/The%20NACA%20airfoil%20series.pdf)

- `slip` applies a slip boundary to the surface of the patch if true and a no-slip boundary condition to the surface if false.

Expand Down Expand Up @@ -889,23 +899,30 @@ When ``polytropic = 'F'``, the gas compression is modeled as non-polytropic due

#### 9.2 Volume-Averaged Bubble Model

| Parameter | Type | Description |
| ---: | :---: | :--- |
| `bubbles_lagrange` | Logical | Lagrangian subgrid bubble model switch |
| `nBubs_glb` | Integer | Global number of bubbles |
| `solver_approach` | Integer | 1: One-way coupling, 2: two-way coupling |
| `cluster_type` | Integer | Method to find p_inf |
| `pressure_corrector` | Logical | Cell pressure correction term |
| `smooth_type` | Integer | Smoothing function. 1: Gaussian, 2:Delta 3x3 |
| `heatTransfer_model` | Logical | Activates the interface heat transfer model |
| `massTransfer_model` | Logical | Activates the interface mass transfer model |
| `write_bubbles` | Logical | Write files to track the bubble evolution each time step |
| `write_bubbles_stats` | Logical | Write the maximum and minimum radius of each bubble |
| `epsilonb` | Real | Standard deviation scaling for the gaussian function |
| `charwidth` | Real | Domain virtual depth (z direction, for 2D simulations) |
| `valmaxvoid` | Real | Maximum void fraction permitted |

- `nBubs_glb` Total number of bubbles. Their initial conditions need to be specified in the ./input/lag_bubbles.dat file. See the example cases for additional information.
| Parameter | Type | Description |
| ---: | :---: | :--- |
| `bubbles_lagrange` | Logical | Lagrangian subgrid bubble model switch |
| `nBubs_glb` | Integer | Global number of bubbles |
| `solver_approach` | Integer | 1: One-way coupling, 2: two-way coupling |
| `cluster_type` | Integer | Method to find p_inf |
| `pressure_corrector` | Logical | Cell pressure correction term |
| `smooth_type` | Integer | Smoothing function. 1: Gaussian, 2:Delta 3x3 |
| `heatTransfer_model` | Logical | Activates the interface heat transfer model |
| `massTransfer_model` | Logical | Activates the interface mass transfer model |
| `write_bubbles` | Logical | Write files to track the bubble evolution each time step |
| `write_bubbles_stats` | Logical | Write the maximum and minimum radius of each bubble |
| `write_void_evol` | Logical | Write stats about the void fraction evolution over time |
| `epsilonb` | Real | Standard deviation scaling for the gaussian function |
| `charwidth` | Real | Domain virtual depth (z direction, for 2D simulations) |
| `charNz` | Integer | Number of cells in the virtual depth direction |
| `valmaxvoid` | Real | Maximum void fraction permitted |
| `vel_model` | Integer | Model for translational motion (default 0, disabled) |
| `drag_model` | Integer | Model for drag force (default 0, disabled) |
| `gravity_force` | Logical | Enable gravity force (default false) |
| `pressure_force` | Logical | Enable pressure force (default true) |
| `input_path` | String | Path to bubble input file (default: `./input/lag_bubbles.dat`) |

- `nBubs_glb` Total number of bubbles.

- `solver_approach` Specifies the Euler-Lagrange coupling method: [1] enables a one-way coupling approach, where the bubbles do not influence the Eulerian field. [2] activates the two-way coupling approach based on \cite Maeda18, where the effect of the bubbles is added in the Eulerian field as source terms.

Expand All @@ -917,6 +934,11 @@ When ``polytropic = 'F'``, the gas compression is modeled as non-polytropic due

- `massTransfer_model` Activates the mass transfer model at the bubble's interface based on (\cite Preston07).

- `vel_model` Activates translational motion of bubbles: [1] enables tracer bubbles and [2] enables Newton's second law.
- `drag_model` defines the drag model: [0] No drag (default), [1] Stoke's slip drag, [2] Stoke's no-slip drag, [3] Levich drag
- `gravity_force` enables gravitation acceleration of the bubbles.
- `pressure_force` enables the acceleration of the bubbles by pressure gradient.

### 10. Velocity Field Setup {#sec-velocity-field-setup}

| Parameter | Type | Description |
Expand Down
2 changes: 2 additions & 0 deletions examples/2D_lagrange_bubblescreen/case.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,8 @@
"lag_params%valmaxvoid": 0.9,
"lag_params%write_bubbles": "F",
"lag_params%write_bubbles_stats": "F",
"lag_params%charwidth": 5e-3 / x0,
"lag_params%charNz": Ny,
# Bubble parameters
"bub_pp%R0ref": 1.0,
"bub_pp%p0ref": 1.0,
Expand Down
Loading
Loading