Lens
- Syntax
Bc Flux For Energy [ SpeciesName | MaterialPhaseName | ] 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
where
is provided by the
SRCvector coordinates andis provided by the
VELvector coordinates. The source is directed from by theDIRvector (). The point-wise energy flux is computed using the equation below:,
, and
are the density, specific heat, and temperature of the surface.
,
,
, and
are given by the massSourceRadius, massFlowRate, particleDensity, and particleTemperature parameters. The term
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
, the flux will be set to zero. Additionally, if
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 | species | subindex} |
– |
|
SpeciesName |
string |
– |
{in | material_phase} |
– |
|
MaterialPhaseName |
string |
– |
{levelset_phase | ls} |
– |
|
{@ | 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 |
– |