https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ThermalCompositeSiCPropertiesTest.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 "MooseObjectUnitTest.h"
14
16{
17public:
19 {
21 }
22
23protected:
25 {
26 InputParameters uo_pars1 = _factory.getValidParams("ThermalCompositeSiCProperties");
27 _fe_problem->addUserObject("ThermalCompositeSiCProperties", "sp1", uo_pars1);
29
30 InputParameters uo_pars2 = _factory.getValidParams("ThermalCompositeSiCProperties");
31 uo_pars2.set<Real>("density") = 3000.0;
32 _fe_problem->addUserObject("ThermalCompositeSiCProperties", "sp2", uo_pars2);
34 }
35
37
38 // model using a non-default density
40};
InputParameters getValidParams(const std::string &name) const
T & set(const std::string &name, bool quiet_mode=false)
std::shared_ptr< FEProblem > _fe_problem
const ThermalCompositeSiCProperties * _sp1
const ThermalCompositeSiCProperties * _sp2
Composite silicon carbide properties as a function of temperature.
const T & getUserObject(const std::string &param_name, bool is_dependency=true) const