https://mooseframework.inl.gov
Loading...
Searching...
No Matches
CoupledConvectiveFlux.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
11
12#include "Function.h"
13
15
18{
20 params.addRequiredCoupledVar("T_infinity", "Field holding far-field temperature");
21 params.addRequiredParam<Real>("coefficient", "Heat transfer coefficient");
22 params.addClassDescription("Integrated boundary condition for modeling a convective heat flux.");
23
24 return params;
25}
26
28 : IntegratedBC(parameters),
29 _T_infinity(coupledValue("T_infinity")),
30 _coefficient(getParam<Real>("coefficient"))
31{
33 "CoupledConvectiveFlux boundary condition is deprecated, use CoupledConvectiveHeatFluxBC "
34 "instead. To update your input file:\n 1. change type from `CoupledConvectiveFlux` to "
35 "`CoupledConvectiveHeatFluxBC`\n 2. change `coefficient` parameter to `htc`.");
36}
37
38Real
43
44Real
registerMooseObject("HeatTransferApp", CoupledConvectiveFlux)
static InputParameters validParams()
const VariableValue & _T_infinity
CoupledConvectiveFlux(const InputParameters &parameters)
void addRequiredCoupledVar(const std::string &name, const std::string &doc_string)
void addRequiredParam(const std::string &name, const std::string &doc_string)
void addClassDescription(const std::string &doc_string)
unsigned int _qp
unsigned int _i
unsigned int _j
const VariableValue & _u
static InputParameters validParams()
const VariablePhiValue & _phi
const VariableTestValue & _test
void mooseDeprecated(Args &&... args) const