https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ComplianceSensitivity.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 "StrainEnergyDensity.h"
13#include "MathUtils.h"
14
19{
20public:
22
23 ComplianceSensitivity(const InputParameters & parameters);
24
25 virtual void computeQpProperties() override;
26
27protected:
33 const MaterialPropertyName _design_density_name;
38};
Computes the elasticity compliance sensitivity with respect to a user-supplied variable.
const MaterialProperty< Real > & _youngs_modulus
Young's modulus of the material.
MaterialProperty< Real > & _sensitivity
Sensitivity material generated by this error.
virtual void computeQpProperties() override
static InputParameters validParams()
const VariableValue & _design_density
Pseudo-density variable.
const MaterialProperty< Real > & _dEdp
Derivative of elasticity modulus with respect to pseudo-density.
const MaterialPropertyName _design_density_name
Pseudo-density variable name.
StrainEnergyDensity calculates the strain energy density.
VariableValueTempl< false > VariableValue