https://mooseframework.inl.gov
Loading...
Searching...
No Matches
TrussMaterial.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 "Material.h"
13
14// Forward Declarations
15
16class TrussMaterial : public Material
17{
18public:
20
22
23protected:
24 virtual void initQpStatefulProperties();
25 virtual void computeProperties();
26
27 virtual void computeQpStrain() = 0;
28 virtual void computeQpStress() = 0;
29
30 std::vector<MooseVariable *> _disp_var;
31
33 const std::string _base_name;
34
36 unsigned int _ndisp;
38
43
46};
const InputParameters & parameters() const
virtual void computeQpStrain()=0
const std::string _base_name
Base name of the material system.
MaterialProperty< Real > & _axial_stress
const VariableValue & _youngs_modulus
virtual void computeQpStress()=0
virtual void initQpStatefulProperties()
MaterialProperty< Real > & _e_over_l
std::vector< MooseVariable * > _disp_var
MaterialProperty< Real > & _total_stretch
unsigned int _ndisp
Number of displacement variables.
MaterialProperty< Real > & _elastic_stretch
static InputParameters validParams()
virtual void computeProperties()
VariableValueTempl< false > VariableValue