Source Terms

Navigate: ← Abort Criteria | Overview | Multi-Level Simulations →

Source Terms

Force as a source term.

An example testcase can be found in examples/tutorials/tutorial_cases/tutorial_PIP_Force.

To define a force that affects the whole domain one uses the glob_source table.

--! [Source]
glob_source = {
  force = {press_grad, 0.0, 0.0},
  force_order = 2
}
--! [Source]

The force press_grad has to be defined inside the variable table.

variable = {
  {
    name = 'press_grad',
    ncomponents = 1,
    vartype = 'st_fun',
    st_fun = press_grad
  },

Next chapter: Multi-Level Simulations →