www.mooseframework.org
ThermalConductivity.h
Go to the documentation of this file.
1 //* This file is part of the MOOSE framework
2 //* https://www.mooseframework.org
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 #pragma once
11 
12 #include "SideAverageValue.h"
13 
14 // Forward Declarations
16 
17 template <>
18 InputParameters validParams<ThermalConductivity>();
19 
23 class ThermalConductivity : public SideAverageValue
24 {
25 public:
26  static InputParameters validParams();
27 
28  ThermalConductivity(const InputParameters & parameters);
29 
30  virtual Real getValue();
31 
32 protected:
33  const Real _dx;
34  const PostprocessorValue & _flux;
35  const PostprocessorValue & _T_hot;
36  const Real _length_scale;
37  const Real _k0;
38 
39 private:
44  bool & _step_zero;
45 };
46 
ThermalConductivity::_T_hot
const PostprocessorValue & _T_hot
Definition: ThermalConductivity.h:35
ThermalConductivity::_dx
const Real _dx
Definition: ThermalConductivity.h:33
ThermalConductivity::ThermalConductivity
ThermalConductivity(const InputParameters &parameters)
Definition: ThermalConductivity.C:29
ThermalConductivity::_step_zero
bool & _step_zero
True if this is the zeroth timestep (timestep < 1).
Definition: ThermalConductivity.h:44
ThermalConductivity::_k0
const Real _k0
Definition: ThermalConductivity.h:37
ThermalConductivity::validParams
static InputParameters validParams()
Definition: ThermalConductivity.C:17
ThermalConductivity::_flux
const PostprocessorValue & _flux
Definition: ThermalConductivity.h:34
ThermalConductivity
This postprocessor computes the thermal conductivity of the bulk.
Definition: ThermalConductivity.h:23
ThermalConductivity::_length_scale
const Real _length_scale
Definition: ThermalConductivity.h:36
validParams< ThermalConductivity >
InputParameters validParams< ThermalConductivity >()
ThermalConductivity::getValue
virtual Real getValue()
Definition: ThermalConductivity.C:41