Skip to content

Commit

Permalink
Document custom forcing
Browse files Browse the repository at this point in the history
  • Loading branch information
ewquon committed Jan 27, 2024
1 parent a731260 commit 309975f
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions Docs/sphinx_doc/Inputs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -771,6 +771,30 @@ List of Parameters
| | Rayleigh damping | | |
+----------------------------------+-------------------+-------------------+-------------+

In addition, custom forcings or tendencies may be defined on a problem-specific
basis. This affords additional flexibility in defining the RHS source term as
a function of time and/or height. Implementation entails modifying problem
source code inside the Exec directory and overriding the ``update_*_sources()``
function(s).

+--------------------------------------------+-------------------+-------------------+-------------+
| Parameter | Definition | Acceptable | Default |
| | | Values | |
+============================================+===================+===================+=============+
| **erf.custom_forcing_uses_primitive_vars** | User-defined | true or false | false |
| | source terms set | | |
| | the tendency of | | |
| | primitive | | |
| | variables instead | | |
| | of conserved | | |
| | quantities | | |
| | (rho*prim_var) | | |
+--------------------------------------------+-------------------+-------------------+-------------+
| **erf.add_custom_rhotheta_forcing** | Apply the | true or false | false |
| | user-defined | | |
| | temperature source| | |
| | term | | |
+--------------------------------------------+-------------------+-------------------+-------------+

Initialization
==============
Expand Down

0 comments on commit 309975f

Please sign in to comment.