This adds a new function to register forcing functions that need to be scaled by volume fraction. This also allows multiple forcing functions to be registered simultaneously.
There are now two ways to register forcing functions.
registerForcingFunction() can set forces that are directly applied to the momentum equation. For example, manufactured solution forces need to be registered in this way.
registerForcingFunctionScaled() scales the force by thn (or ths) before filling in the RHS. For example, the four roll mill background force needs to be registered in this way.
Note that this removes the need for the separate FRMThnForcing class. Now that function can be read in from the input file.
This adds a new function to register forcing functions that need to be scaled by volume fraction. This also allows multiple forcing functions to be registered simultaneously.
There are now two ways to register forcing functions.
registerForcingFunction()
can set forces that are directly applied to the momentum equation. For example, manufactured solution forces need to be registered in this way.registerForcingFunctionScaled()
scales the force bythn
(orths
) before filling in the RHS. For example, the four roll mill background force needs to be registered in this way.Note that this removes the need for the separate
FRMThnForcing
class. Now that function can be read in from the input file.