User_Vector_Field_Influx

Syntax

Bc Diffuse For Energy [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {@ | at | for | on | over} Mesh Extent Name [Touching TouchingMeshExtent | Opposing OpposingMeshExtent] = User_Vector_Field_Influx [Using Data Specification Data Spec Name] [Power_Output = power_output | Flux_Output = flux_output | Toggle = toggle | Multiplier = multiplier | Name = name | Scaling = scaling | Global_Var = global_var | Time_Function = time_function]

Summary

User vector field influx energy flux

Description

Flux is given by:

(M)(SC)(GV)fcn(t) \vector{f} \cdot \vector{n}

M is given by MULTIPLIER, SC by SCALING, GV by the value of the global variable with name GLOBAL_VAR, fcn is a function with name TIME_FUNCTION, f is a field with name NAME, and n is the surface normal. Flux will be capped at zero (inflow only)

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

{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”

multiplier

real

1

name

“string”

scaling

real

1

global_var

“string”

time_function

“string”