Source Term

Advection Source Term

This pages describes the functions that apply source terms

This function gets the functor specified by opts["SRCname"] and stores it to the equation object. Currently one 1 source functor is allowed.

source

AdvectionEquationMod.SRCDict

It stores all the possible source term dictionary options. Whenever a new source is created, it should get added to SRCDict.

All functors must have the signature:

src_func(params, coords::ParamType, t)

where coords is the vector of length 2 containing the x and y coordinates of the node, params.alpha_x and params.alpha_y are the advection velocities in the x an y directions, and t is the current time

source

AdvectionEquationMod.SRC0

This is the zero source term. This is the default of source term is specified

source

AdvectionEquationMod.SRC1

This source term returns 1 everywhere.

source

AdvectionEquationMod.SRC2

This source term returns 1 everywhere.

source

AdvectionEquationMod.SRCexp2xplus2y

Calculates the source term for q = exp(2x + 2y)

source

AdvectionEquationMod.SRCexp3xplusy

Calculates the source term for q = exp(3*x + y)

source

AdvectionEquationMod.SRCexp5xplus4yplus2

Calculates the source term for q = exp(5x + 4y +2)

source

AdvectionEquationMod.SRCexp5xplusy

Calculates the source term for q = exp(5*x + y)

source

AdvectionEquationMod.SRCexp_xplusy

This is a source term that returns a source term for e^(x+y)

source

AdvectionEquationMod.SRCexp_xy

Calculates the source term for q = exp(x*y)

source

AdvectionEquationMod.SRC1

This source term that returns: the derivative of mms1

source

AdvectionEquationMod.SRCp1

This source term that returns: the source term for a manufactured solution using a 1st order polynomial

source

AdvectionEquationMod.SRCp3

This source term that returns: the source term for a manufactured solution using a 2nd order polynomial

source

AdvectionEquationMod.SRCp3

This source term that returns: the source term for a manufactured solution using a 3rd order polynomial

source

AdvectionEquationMod.SRCp4

This source term that returns: the source term for a manufactured solution using a 4th order polynomial

source

AdvectionEquationMod.SRCp5

This source term that returns: the source term for a manufactured solution using a 5th order polynomial

source

Source term for unsteady mms

source

Source term for unsteady poly

source

AdvectionEquationMod.SRCx

This source term that returns: f = x

source

AdvectionEquationMod.SRCx4

This source term that returns: the source term for a manufactured solution using a 4th order polynomial

source

AdvectionEquationMod.SRCx5plusy5

This is a source term that returns a source term for e^(x+y)

source

AdvectionEquationMod.SRCxplusy

calculates the source term for q = x + y

source