Lens

Syntax

Bc Diffuse For Energy [{of} SpeciesName | {in} MaterialPhaseName | {ls} {a | b | c}] {on} Mesh Extent Name [Touching TouchingMeshExtent | Opposing OpposingMeshExtent] = Lens [Using Data Specification Data Spec Name] [Power_Output = power_output | Flux_Output = flux_output | Toggle = toggle | Src_X = src_x | Dir_X = dir_x | Vel_X = vel_x | Src_Y = src_y | Dir_Y = dir_y | Vel_Y = vel_y | Src_Z = src_z | Dir_Z = dir_z | Vel_Z = vel_z | Massflowrate = massFlowRate | T_Liq = T_liq | T_Solid = T_solid | T_On = t_on | T_Off = t_off | Masssourceradius = massSourceRadius | Particletemperature = particleTemperature | Particledensity = particleDensity]

Summary

Energy flux for modeling the LENS process

Description

This boundary condition imposes an energy flux due to an incident mass source representing a powder particle stream due to the LENS process. The source is at the coordinates

\vector{s} = \vector{x}_s + \vector{v}_s ( t - T\_ON )

where \vector{x}_s is provided by the SRC vector coordinates and \vector{v}_s is provided by the VEL vector coordinates. The source is directed from by the DIR vector (). The point-wise energy flux is computed using the equation below:

\frac{(-\n)\bcdot\vector{d}}{|\vector{d}|} \left( \rho c_p T \frac{\dot{m}}{\rho_p \pi R^2} - \frac{\dot{m} c_p T_p}{\pi R^2} \right)

\rho, c_p, and T are the density, specific heat, and temperature of the surface. R, \dot{m}, \rho_p, and T_p are given by the massSourceRadius, massFlowRate, particleDensity, and particleTemperature parameters. The term -\n\bcdot\vector{d} accounts for the fact that the surface may not be orthogonal to the source. For points where the minimum distance between the point and the line defined by and is greater than R, the flux will be set to zero. Additionally, if T is less than (T_liq+T_solid)/2, the flux will be set to zero. For times less than T_ON or greater than T_OFF, the flux will also be set to zero.

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}

–

{on}

{@ | at | for | in | on | over}

–

Mesh Extent Name

string

–

TouchingMeshExtent

string

–

OpposingMeshExtent

string

–

Data Spec Name

string

–

power_output

“string”

–

flux_output

“string”

–

toggle

“string”

–

src_x

real

–

dir_x

real

–

vel_x

real

–

src_y

real

–

dir_y

real

–

vel_y

real

–

src_z

real

0

dir_z

real

0

vel_z

real

0

massFlowRate

real

–

T_liq

real

–

T_solid

real

–

t_on

real

0

t_off

real

1.798e+308

massSourceRadius

real

–

particleTemperature

real

–

particleDensity

real

–