10#ifdef MOOSE_MFEM_ENABLED
24 "Convective heat transfer boundary condition with temperature and heat "
25 "transfer coefficent given by material properties to add to MFEM problems.");
26 params.
addParam<MFEMScalarCoefficientName>(
27 "T_infinity",
"0.",
"Name of a coefficient specifying the far-field temperature");
28 params.
addParam<MFEMScalarCoefficientName>(
29 "heat_transfer_coefficient",
31 "Name of the coefficient specifying the heat transfer coefficient");
37 _heat_transfer_coef(getScalarCoefficient(
"heat_transfer_coefficient")),
38 _T_inf_coef(getScalarCoefficient(
"T_infinity")),
39 _external_heat_flux_coef(
40 getMFEMProblem().getCoefficients().declareScalar<
mfem::ProductCoefficient>(
41 "__ConvectiveHeatFluxBC_" + parameters.get<
std::string>(
MooseBase::unique_name_param),
49mfem::LinearFormIntegrator *
56mfem::BilinearFormIntegrator *
registerMooseObject("MooseApp", MFEMConvectiveHeatFluxBC)
virtual mfem::BilinearFormIntegrator * createBFIntegrator() override
Create MFEM integrator to apply to the LHS of the weak form. Ownership managed by the caller.
mfem::Coefficient & _heat_transfer_coef
static InputParameters validParams()
MFEMConvectiveHeatFluxBC(const InputParameters ¶meters)
virtual mfem::LinearFormIntegrator * createLFIntegrator() override
Create MFEM integrator to apply to the RHS of the weak form. Ownership managed by the caller.
mfem::ProductCoefficient & _external_heat_flux_coef
static InputParameters validParams()
Base class for everything in MOOSE with a name and a type.