Appearance
2. Reflecting and absorbing faces
The pulse of the first tutorial, centred in the box, against two kinds of
The changes
Start from src/tests/prism/regression/periodic-pulse-blocks/input.ini and change:
ini
[initial_conditions]
r0 = 0.0 ; the packet starts at the centre, away from the x faces
[bc_x_min]
type = PEC ; then: Silver_Muller
[bc_x_max]
type = PEC ; then: Silver_MullerThe Silver_Muller is spelled with an underscore).
PEC: the pulse reflects
A perfect electric conductor sets -energy_history.dat:
| step | 10 | 50 | 100 | 150 | 192 |
|---|---|---|---|---|---|
| 84628.44 | 84628.44 | 84628.43 | 84628.43 | 84628.42 |
The box is closed: the energy is conserved to
Silver–Müller: the pulse leaves
The first-order Silver–Müller condition imposes the impedance of an outgoing plane wave,
| step | 10 | 50 | 100 | 150 | 192 |
|---|---|---|---|---|---|
| 84628.44 | 84628.16 | 29704.97 | 375.70 | 191.57 |
The pulse crosses the face between steps 50 and 150; what remains at step 192,
What you learned
- A face kind is one key per face;
periodicpairs the two faces of an axis. - PEC reflects and conserves the energy; Silver–Müller transmits a normally incident wave to first order.
- The energy history measures what a boundary lets out.
Previous: 1. A pulse in a periodic box. Next: 3. A perfectly matched layer.