www.mooseframework.org
SodiumProperties.C
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 #include "SodiumProperties.h"
11 
12 registerMooseObject("FluidPropertiesApp", SodiumProperties);
13 
16 {
18  params.addClassDescription("Fluid properties for sodium");
19  params.addParam<Real>(
20  "thermal_conductivity",
21  "Optional value for thermal conductivity that overrides interal calculations");
22  params.addParam<Real>("specific_heat",
23  "Optional value for specific heat that overrides interal calculations");
24  return params;
25 }
26 
28  : FluidProperties(parameters),
29  _k(isParamValid("thermal_conductivity") ? getParam<Real>("thermal_conductivity") : 0.0),
30  _cp(isParamValid("specific_heat") ? getParam<Real>("specific_heat") : 0.0)
31 {
32 }
static InputParameters validParams()
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
SodiumProperties(const InputParameters &parameters)
registerMooseObject("FluidPropertiesApp", SodiumProperties)
Properties of liquid sodium from ANL/RE-95/2 report "Thermodynamic and Transport Properties of Sodium...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
static InputParameters validParams()