19 params.
addParam<
Real>(
"P0", 1e5,
"The ambient pressure for the recoil pressure");
20 params.
addParam<
Real>(
"L_v", 7.45E6,
"Latent heat from evaporation for the recoil pressure");
21 params.
addParam<
Real>(
"M", 56E-3,
"Molar mass for the recoil pressure");
22 params.
addParam<
Real>(
"T_v", 3080,
"The vaporization temperature for recoil pressure");
23 params.
addParam<
Real>(
"R", 8.314,
"The gas constant for recoil pressure");
24 params.
addParam<
Real>(
"c_gamma0", 1.593,
"Constant term in the surface tension");
25 params.
addParam<
Real>(
"c_gamma1", 1.9e-4,
"Linear term multiplier in the surface tension");
26 params.
addParam<
Real>(
"Tl", 1708,
"The liquidus temperature");
28 params.
addParam<MaterialPropertyName>(
"rc_pressure_name",
"rc_pressure",
"The recoil pressure");
29 params.
addParam<MaterialPropertyName>(
30 "surface_tension_name",
"surface_tension",
"The surface tension");
31 params.
addParam<MaterialPropertyName>(
32 "grad_surface_tension_name",
"grad_surface_tension",
"The gradient of the surface tension");
39 _P0(getParam<
Real>(
"P0")),
40 _L_v(getParam<
Real>(
"L_v")),
41 _M(getParam<
Real>(
"M")),
42 _T_v(getParam<
Real>(
"T_v")),
43 _R(getParam<
Real>(
"R")),
44 _c_gamma0(getParam<
Real>(
"c_gamma0")),
45 _c_gamma1(getParam<
Real>(
"c_gamma1")),
46 _Tl(getParam<
Real>(
"Tl")),
47 _rc_pressure(declareADProperty<
Real>(getParam<MaterialPropertyName>(
"rc_pressure_name"))),
49 declareADProperty<
Real>(getParam<MaterialPropertyName>(
"surface_tension_name"))),
51 getParam<MaterialPropertyName>(
"grad_surface_tension_name"))),
52 _surface_term_curvature(declareADProperty<
RealVectorValue>(
"surface_term_curvature")),
53 _surface_term_gradient1(declareADProperty<
RealVectorValue>(
"surface_term_gradient1")),
54 _surface_term_gradient2(declareADProperty<
RealVectorValue>(
"surface_term_gradient2")),
55 _ad_normals(_assembly.adNormals()),
56 _ad_curvatures(_assembly.adCurvatures()),
57 _temperature(adCoupledValue(
"temperature")),
58 _grad_temperature(adCoupledGradient(
"temperature"))
ADMaterialProperty< Real > & _rc_pressure
Declaring the material properties.
const Real _Tl
The liquidus temperature.
const MooseArray< ADReal > & _ad_curvatures
static InputParameters validParams()
const Real _P0
The vapor recoil pressure is taken from: Chen, Xuehui, et al.
const Real _c_gamma0
The surface tension is taken from: Pichler, Peter, et al.
const MooseArray< ADPoint > & _ad_normals
registerMooseObject("NavierStokesTestApp", LaserWeld316LStainlessSteelBoundary)
const ADVariableValue & _temperature
We need to know the temperature and the gradient of the temperature.
const ADVariableGradient & _grad_temperature
ADMaterialProperty< RealVectorValue > & _surface_term_gradient2
ADMaterialProperty< RealVectorValue > & _grad_surface_tension
static InputParameters validParams()
A material that computes 316L surface stainless steel boundary properties relevant to doing laser wel...
virtual void computeQpProperties()
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
LaserWeld316LStainlessSteelBoundary(const InputParameters ¶meters)
ADMaterialProperty< RealVectorValue > & _surface_term_curvature
ADMaterialProperty< RealVectorValue > & _surface_term_gradient1
ADMaterialProperty< Real > & _surface_tension