https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ContactPressureAux.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 "AuxKernel.h"
13
14class NodalArea;
16
21{
22public:
24
26
27 virtual ~ContactPressureAux();
28
29protected:
30 virtual Real computeValue() override;
31
34
36 const size_t _number_pairs;
37
39 std::vector<const PenetrationLocator *> _penetration_locators;
40};
Computes the contact pressure from the contact force and nodal area.
const VariableValue & _nodal_area
AuxVariable containing the nodal area.
static InputParameters validParams()
const size_t _number_pairs
Number of contact pairs in the entire model.
virtual Real computeValue() override
std::vector< const PenetrationLocator * > _penetration_locators
References to the PenetrationLocator objects for the individual interactions.
const InputParameters & parameters() const
VariableValueTempl< false > VariableValue