7.15.1.11. Fortran_User_Sub

Syntax

Ic For DofName [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {@ | at | for | on | over} MeshExtent = Fortran_User_Sub [Power_Output = power_output | Flux_Output = flux_output | Toggle = toggle | Multiplier = multiplier | Name = name | Type = type | Real_Data = real_data | Int_Data = int_data | Resource_Name = resource_name | Data = data | Material_Data_Block = material_data_block]

Summary

Dirichlet value from a Fortran user subroutine

Description

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

DofName

string

{of}

{of | species | subindex}

SpeciesName

string

{in}

{in | material_phase}

MaterialPhaseName

string

{ls}

{levelset_phase | ls}

MeshExtent

string

power_output

“string”

flux_output

“string”

toggle

“string”

multiplier

real

1

name

“string”

type

“string”

real_data

“string”

int_data

“string”

resource_name

“string”

data

“string”

material_data_block

“string”