https://mooseframework.inl.gov
FVGaussianEnergyFluxBC.C
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://mooseframework.inl.gov
3 //*
4 //* All rights reserved, see COPYRIGHT for full restrictions
5 //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6 //*
7 //* Licensed under LGPL 2.1, please see LICENSE for details
8 //* https://www.gnu.org/licenses/lgpl-2.1.html
9 
10 #include "FVGaussianEnergyFluxBC.h"
11 #include "GaussianEnergyFluxBC.h"
12 #include "Function.h"
13 
15 
18 {
21  params.addClassDescription("Describes an incoming heat flux beam with a Gaussian profile");
22  return params;
23 }
24 
26  : FVFluxBC(params),
27  _P0(getParam<Real>("P0")),
28  _R(getParam<Real>("R")),
29  _x_beam_coord(getFunction("x_beam_coord")),
30  _y_beam_coord(getFunction("y_beam_coord")),
31  _z_beam_coord(getFunction("z_beam_coord"))
32 {
33 }
34 
35 ADReal
37 {
39 }
const FaceInfo * _face_info
FVGaussianEnergyFluxBC(const InputParameters &params)
static InputParameters validParams()
static InputParameters validParams()
const Point & faceCentroid() const
virtual ADReal computeQpResidual() override
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("HeatTransferApp", FVGaussianEnergyFluxBC)
static InputParameters beamParams()
static ADReal beamFlux(const T &flux_obj, const PointType &flux_obj_location)
Computes the beam flux given data from a flux object and the current integration point in the domain...
Describes an incoming heat flux beam with a Gaussian profile.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)