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 
23 class DensityScaling : public Material
24 {
25 public:
27 
29 
30 protected:
31  virtual void computeQpProperties();
32 
33 private:
36 
39 
42 
45 
48 
51 };
DensityScaling(const InputParameters &parameters)
const Real _desired_time_step
User-prescribed desired time step.
const MaterialProperty< Real > & _material_density
The true inertial density of the material.
const InputParameters & parameters() const
const MaterialProperty< Real > & _sqrt_effective_stiffness
Square root of effective stiffness of element.
virtual void computeQpProperties()
static InputParameters validParams()
This material computes a density that is scaled to enable stable explicit time stepping with steps la...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
MaterialProperty< Real > & _additional_density
Scaled density minus true density.
MaterialProperty< Real > & _density_scaled
The scaled density.
const Real & _safety_factor
User-defined safety factor that the minimum density required for stability is divided by...