You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/documentation/case.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1343,6 +1343,9 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1343
1343
|`bc_[x,y,z]%%grcbc_out`| Logical | Enable grcbc for subsonic outflow (pressure)|
1344
1344
|`bc_[x,y,z]%%grcbc_vel_out`| Logical | Enable grcbc for subsonic outflow (pressure + normal velocity) |
1345
1345
|`bc_[x,y,z]%%vel_in`| Real Array | Inflow velocities in x, y and z directions |
1346
+
|`bc_[x,y,z]%%vel_in_ramp`| Real | Duration of a smooth start-up of the inflow velocity (0 = none) |
1347
+
|`bc_[x,y,z]%%vel_in_t0`| Real | Time at which that ramp begins |
1348
+
|`bc_[x,y,z]%%vel_in_frac0`| Real | Fraction of the final inflow velocity held before the ramp |
1346
1349
|`bc_[x,y,z]%%vel_out`| Real Array | Outflow velocities in x, y and z directions |
1347
1350
|`bc_[x,y,z]%%pres_in`| Real | Inflow pressure |
1348
1351
|`bc_[x,y,z]%%pres_out`| Real | Outflow pressure |
@@ -1351,6 +1354,8 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1351
1354
1352
1355
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 \cite Pirozzoli13. This enables to provide inflow and outflow conditions outside the computational domain.
1353
1356
1357
+
`bc_[x,y,z]%%vel_in_ramp` starts the inflow smoothly instead of holding it constant, which is what a jet or a tunnel accelerating from rest requires: the start-up is the event of interest, not a transient to be discarded. The inflow velocity is scaled by \f$f(t) = f_0 + (1 - f_0)\left[1 + \tanh\left(6 (t - t_0)/\tau - 3\right)\right]/2\f$, with \f$\tau\f$ = `vel_in_ramp`, \f$t_0\f$ = `vel_in_t0` and \f$f_0\f$ = `vel_in_frac0`, so it leaves \f$f_0\f$ of the final velocity at \f$t_0\f$ and is within half a percent of it at \f$t_0 + \tau\f$. A boundary with `vel_in_ramp = 0` is held constant, as before.
0 commit comments