7.14.1.8.23. Polynomial

Syntax

Bc Dirichlet For Dof Name [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {@ | at | for | on | over} Mesh Extent Name [Touching TouchingMeshExtent | Opposing OpposingMeshExtent] = Polynomial [Using Data Specification Data Spec Name] [Power_Output = power_output | Flux_Output = flux_output | Toggle = toggle | Variable = variable | Order = order | Variable_Offset = variable_offset | C0 = c0 | C1 = c1 | C2 = c2 | C3 = c3 | C4 = c4 | C5 = c5 | C6 = c6 | C7 = c7 | C8 = c8]

Summary

Value from a polynomial function

Description

The value, \phi, is calculated as \phi = \sum_i^n C_i (X + X_0)^i where X_0 is the variable offset, X is the variable, n is the order and the coefficients provided are C_i

The following options are present in most boundary conditions/sources. The meaning of each option is as follows:

Power_Output

If specified, the total (integrated) power of the given BC/Src is calculated and stored into the global variable name specified as the power_output argument.

Flux_Output

If specified, the average flux of the given BC/Src is calculated and stored into the global variable name specified as the flux_output argument.

Toggle

If given, specifies which toggle block controls whether this BC is active or not.

Parameter

Value

Default

Dof Name

string

{of}

{of | species | subindex}

SpeciesName

string

{in}

{in | material_phase}

MaterialPhaseName

string

{ls}

{levelset_phase | ls}

Mesh Extent Name

string

TouchingMeshExtent

string

OpposingMeshExtent

string

Data Spec Name

string

power_output

“string”

flux_output

“string”

toggle

“string”

variable

“string”

order

integer

variable_offset

real

0

c0

real

0

c1

real

0

c2

real

0

c3

real

0

c4

real

0

c5

real

0

c6

real

0

c7

real

0

c8

real

0