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
@@ -1358,6 +1358,9 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1358
1358
|`bc_[x,y,z]%%grcbc_out`| Logical | Enable grcbc for subsonic outflow (pressure)|
1359
1359
|`bc_[x,y,z]%%grcbc_vel_out`| Logical | Enable grcbc for subsonic outflow (pressure + normal velocity) |
1360
1360
|`bc_[x,y,z]%%vel_in`| Real Array | Inflow velocities in x, y and z directions |
1361
+
|`bc_[x,y,z]%%vel_in_ramp`| Real | Duration of a smooth start-up of the inflow velocity (0 = none) |
1362
+
|`bc_[x,y,z]%%vel_in_t0`| Real | Time at which that ramp begins |
1363
+
|`bc_[x,y,z]%%vel_in_frac0`| Real | Fraction of the final inflow velocity held before the ramp |
1361
1364
|`bc_[x,y,z]%%vel_out`| Real Array | Outflow velocities in x, y and z directions |
1362
1365
|`bc_[x,y,z]%%pres_in`| Real | Inflow pressure |
1363
1366
|`bc_[x,y,z]%%pres_out`| Real | Outflow pressure |
@@ -1366,6 +1369,8 @@ The entries labeled "Characteristic." are characteristic boundary conditions bas
1366
1369
1367
1370
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.
1368
1371
1372
+
`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