https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
DualNumber< Real, DNDerivativeType, true > ADReal
registerMooseObject("HeatTransferApp", FVGaussianEnergyFluxBC)
const FaceInfo * _face_info
static InputParameters validParams()
Describes an incoming heat flux beam with a Gaussian profile.
virtual ADReal computeQpResidual() override
static InputParameters validParams()
FVGaussianEnergyFluxBC(const InputParameters &params)
const Point & faceCentroid() const
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,...
void addClassDescription(const std::string &doc_string)