From c8957b30ae5df1c9a67053670d79702a0118707a Mon Sep 17 00:00:00 2001 From: anandrdbz <62814442+anandrdbz@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:38:55 -0500 Subject: [PATCH 1/2] Update case.md --- docs/documentation/case.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/documentation/case.md b/docs/documentation/case.md index 7903cb2a1..e067c24ba 100644 --- a/docs/documentation/case.md +++ b/docs/documentation/case.md @@ -805,6 +805,23 @@ The boundary condition supported by the MFC are listed in table [Boundary Condit Their number (`#`) corresponds to the input value in `input.py` labeled `bc_[x,y,z]%[beg,end]` (see table [Simulation Algorithm Parameters](#5-simulation-algorithm)). The entries labeled "Characteristic." are characteristic boundary conditions based on [Thompson (1987)](references.md#Thompson87) and [Thompson (1990)](references.md#Thompson90). +### Generalized Characteristic Boundary conditions + +| Parameter | Type | Description | +| ---: | :----: | :--- | +| `bc_[x,y,z]%grcbc_in` | Logical | Enable grcbc for subsonic inflow | +| `bc_[x,y,z]%grcbc_out` | Logical | Enable grcbc for subsonic outflow (pressure)| +| `bc_[x,y,z]%grcbc_vel_out` | Logical | Enable grcbc for subsonic outflow (pressure + normal velocity) | +| `bc_[x,y,z]%[u, v, w]_in` | Real | Inflow velocities in x, y and z directions | +| `bc_[x,y,z]%[u, v, w]_out` | Real | Outflow velocities in x, y and z directions | +| `bc_[x,y,z]%pres_in` | Real | Inflow pressure | +| `bc_[x,y,z]%pres_out` | Real | Outflow pressure | +| `bc_[x,y,z]%alpha_rho_in` | Real Array | Inflow density | +| `bc_[x,y,z]%alpha_in` | Real Array | Inflow void fraction | + +*: This boundary condition can be used for subsonic inflow (`bc_[x,y,z]%[beg,end]` = -7) and subsonic outflow (`bc_[x,y,z]%[beg,end]` = -8) characteristic boundary conditions. These are based on [Pirozzoli (2013)](references.md#Pirozzoli13). This enables to provide inflow and outflow conditions outside the computational domain. The parameters associated with this feature are listed in table [Generalized Characteristic Boundary conditions](#generalized-characteristic-boundary-conditions). + + ### Patch types | # | Name | Dim. | Smooth | Description | From 6e4e2df8c907f4d272528343daec5a5989309228 Mon Sep 17 00:00:00 2001 From: anandrdbz <62814442+anandrdbz@users.noreply.github.com> Date: Thu, 7 Nov 2024 17:43:48 -0500 Subject: [PATCH 2/2] Update references.md --- docs/documentation/references.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/documentation/references.md b/docs/documentation/references.md index e8f716259..2ba3b8440 100644 --- a/docs/documentation/references.md +++ b/docs/documentation/references.md @@ -32,6 +32,8 @@ - Meng, J. C. C. (2016). Numerical simulations of droplet aerobreakup. PhD thesis, California Institute of Technology. +- Pirozzoli, S., and Colonius, T. (2013). Generalized characteristic relaxation boundary conditions for unsteady compressible flow simulations. Journal of Computational Physics, 248:109-126. + - Preston, A., Colonius, T., and Brennen, C. (2007). A reduced-order model of diffusive effects on the dynamics of bubbles. Physics of Fluids, 19(12):123302. - Saurel, R., Petitpas, F., and Berry, R. A. (2009). Simple and efficient relaxation methods for interfaces separating compressible fluids, cavitating flows and shocks in multiphase mixtures. journal of Computational Physics, 228(5):1678–1712