www.mooseframework.org
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
OutOfPlanePressure Class Reference

OutOfPlanePressure is a kernel used to apply pressure in the out-of-plane direction in 2D plane stress or generalized plane strain models. More...

#include <OutOfPlanePressure.h>

Inheritance diagram for OutOfPlanePressure:
[legend]

Public Member Functions

 OutOfPlanePressure (const InputParameters &parameters)
 

Protected Member Functions

virtual Real computeQpResidual ()
 

Private Attributes

const PostprocessorValue *const _postprocessor
 
Function & _function
 
const Real _factor
 

Detailed Description

OutOfPlanePressure is a kernel used to apply pressure in the out-of-plane direction in 2D plane stress or generalized plane strain models.

Following the convention of the standard Pressure boundary condition, positive pressures are applied inward into the surface.

Definition at line 26 of file OutOfPlanePressure.h.

Constructor & Destructor Documentation

OutOfPlanePressure::OutOfPlanePressure ( const InputParameters &  parameters)

Definition at line 28 of file OutOfPlanePressure.C.

29  : Kernel(parameters),
31  parameters.isParamValid("postprocessor") ? &getPostprocessorValue("postprocessor") : NULL),
32  _function(getFunction("function")),
33  _factor(getParam<Real>("factor"))
34 {
35 }
const PostprocessorValue *const _postprocessor

Member Function Documentation

Real OutOfPlanePressure::computeQpResidual ( )
protectedvirtual

Definition at line 38 of file OutOfPlanePressure.C.

39 {
40  Real val = _factor;
41 
42  val *= _function.value(_t, _q_point[_qp]);
43 
44  if (_postprocessor)
45  val *= *_postprocessor;
46 
47  return val * _test[_i][_qp];
48 }
const PostprocessorValue *const _postprocessor

Member Data Documentation

const Real OutOfPlanePressure::_factor
private

Definition at line 37 of file OutOfPlanePressure.h.

Referenced by computeQpResidual().

Function& OutOfPlanePressure::_function
private

Definition at line 36 of file OutOfPlanePressure.h.

Referenced by computeQpResidual().

const PostprocessorValue* const OutOfPlanePressure::_postprocessor
private

Definition at line 35 of file OutOfPlanePressure.h.

Referenced by computeQpResidual().


The documentation for this class was generated from the following files: