https://mooseframework.inl.gov
SolidMaterialProperties.h
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 
10 #pragma once
11 
12 #include "GeneralUserObject.h"
13 #include "Function.h"
14 
19 {
20 public:
22 
23  virtual void initialize();
24  virtual void finalize();
25  virtual void execute();
26 
27  ADReal k(const ADReal & temp) const;
28  ADReal cp(const ADReal & temp) const;
29  ADReal rho(const ADReal & temp) const;
30 
31  const Function & getKFunction() const { return _k; }
32  const Function & getCpFunction() const { return _cp; }
33  const Function & getRhoFunction() const { return _rho; }
34 
35 protected:
36  const Function & _k;
37  const Function & _cp;
38  const Function & _rho;
39 
40 public:
42 };
ADReal rho(const ADReal &temp) const
const Function & getRhoFunction() const
SolidMaterialProperties(const InputParameters &parameters)
static InputParameters validParams()
ADReal cp(const ADReal &temp) const
const Function & getKFunction() const
ADReal k(const ADReal &temp) const
const Function & getCpFunction() const
const InputParameters & parameters() const