Forcing zones

Forcing zones can be used to damp waves near the inlet and outlet to avoid reflections. They work by specifying a zone (a known field), a target result (a known field) and a penalty to be added to the equation system in order to pull the unknown solutiuon towards the known field solution in the forcing zone. See, e.g., [PAM16] and [PAM18] for more details on forcing zones and the selection of penalty parameters.

An example from a wave tank:

-   name: outlet velocity damping
    type: MomentumForcing
    zone: outlet zone/beta
    target: waves/u
    penalty: 10
    plot: no

Used for log output and better error messages only


One of MomentumForcing or ScalarForcing


If you use ScalarForcing then you must give the name of the variable, e.g. c to force the colour field. For MomentumForcing this defaults to the velocity field u.


The penalty used to “nunge” the solution towards the target


The name of the known field function that is 1.0 inside the zone and 0.0 outside. The transition is typically smooth. Often a ScalarField is used for this purpose.


The name of a known field function that we want to “nunge” our solution towards using the forcing zone.


Show the forcing zone (plots to file). Default off.