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
@@ -1328,6 +1328,9 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1328
1328
|`bc_[x,y,z]%%grcbc_out`| Logical | Enable grcbc for subsonic outflow (pressure)|
1329
1329
|`bc_[x,y,z]%%grcbc_vel_out`| Logical | Enable grcbc for subsonic outflow (pressure + normal velocity) |
1330
1330
|`bc_[x,y,z]%%vel_in`| Real Array | Inflow velocities in x, y and z directions |
1331
+
|`bc_[x,y,z]%%vel_in_ramp`| Real | Duration of a smooth start-up of the inflow velocity (0 = none) |
1332
+
|`bc_[x,y,z]%%vel_in_t0`| Real | Time at which that ramp begins |
1333
+
|`bc_[x,y,z]%%vel_in_frac0`| Real | Fraction of the final inflow velocity held before the ramp |
1331
1334
|`bc_[x,y,z]%%vel_out`| Real Array | Outflow velocities in x, y and z directions |
1332
1335
|`bc_[x,y,z]%%pres_in`| Real | Inflow pressure |
1333
1336
|`bc_[x,y,z]%%pres_out`| Real | Outflow pressure |
@@ -1336,6 +1339,8 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1336
1339
1337
1340
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.
1338
1341
1342
+
`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