https://mooseframework.inl.gov
DensityScaling.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 #include "RankTwoTensor.h"
14 
22 class DensityScaling : public Material
23 {
24 public:
26 
28 
29 protected:
30  virtual void computeQpProperties();
31 
32 private:
35 
38 
41 
44 
46  const Real & _factor;
47 };
DensityScaling(const InputParameters &parameters)
const Real _desired_time_step
User-prescribed desired time step. Mass will be added until fulfilled.
const MaterialProperty< Real > & _material_density
Density of the material.
const Real & _factor
User defined factor to be multiplied to the critical time step.
virtual void computeQpProperties()
static InputParameters validParams()
This material computes the mass required to fulfill a prescribed critical time step.
const MaterialProperty< Real > & _effective_stiffness
Effective stiffness of element: function of material properties and element size. ...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
MaterialProperty< Real > & _density_scaling
The stress tensor.