moltres
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
VacuumConcBC Class Reference

#include <VacuumConcBC.h>

Inheritance diagram for VacuumConcBC:
[legend]

Public Member Functions

 VacuumConcBC (const InputParameters &parameters)
 
- Public Member Functions inherited from ScalarTransportBase
 ScalarTransportBase (const InputParameters &parameters)
 
virtual Real computeConcentration (const VariableValue &u, unsigned int qp)
 Computes \(c\).
 
virtual RealVectorValue computeConcentrationGradient (const VariableValue &u, const VariableGradient &grad_u, unsigned int qp)
 Computes \(\nabla c\).
 
virtual Real computeConcentrationDerivative (const VariableValue &u, const VariablePhiValue &phi, unsigned int j, unsigned int qp)
 Computes \(\frac{\partial c}{\partial u_j}\).
 
virtual RealVectorValue computeConcentrationGradientDerivative (const VariableValue &u, const VariableGradient &grad_u, const VariablePhiValue &phi, const VariablePhiGradient &grad_phi, unsigned int j, unsigned int qp)
 Computes \(\nabla \frac{\partial c}{\partial u_j}\).
 
virtual Real computeConcentrationDot (const VariableValue &u, const VariableValue &u_dot, unsigned int qp)
 Computes \(\frac{\partial c}{\partial t}\).
 
virtual Real computeConcentrationDotDerivative (const VariableValue &u, const VariableValue &u_dot, const VariableValue &du_dot_du, const VariablePhiValue &phi, unsigned int j, unsigned int qp)
 Computes \(\frac{\partial}{\partial t} \frac{\partial c}{\partial u_j}\).
 

Static Public Member Functions

static InputParameters validParams ()
 
- Static Public Member Functions inherited from ScalarTransportBase
static InputParameters validParams ()
 

Protected Member Functions

virtual Real computeQpResidual () override
 
virtual Real computeQpJacobian () override
 

Protected Attributes

Real _alpha
 Ratio of u to du/dn.
 

Detailed Description

Implements a simple VacuumConc BC for neutron diffusion on the boundary. VacuumConc BC is defined as \( D\frac{du}{dn}+\frac{u}{2} = 0\), where u is neutron flux. Hence, \( D\frac{du}{dn}=-\frac{u}{2} \) and \( -\frac{u}{2} \) is substituted into the Neumann BC term produced from integrating the diffusion operator by parts.

Constructor & Destructor Documentation

◆ VacuumConcBC()

VacuumConcBC::VacuumConcBC ( const InputParameters &  parameters)

Factory constructor, takes parameters so that all derived classes can be built using the same constructor.

Member Function Documentation

◆ computeQpJacobian()

Real VacuumConcBC::computeQpJacobian ( )
overrideprotectedvirtual

◆ computeQpResidual()

Real VacuumConcBC::computeQpResidual ( )
overrideprotectedvirtual

◆ validParams()

InputParameters VacuumConcBC::validParams ( )
static

Member Data Documentation

◆ _alpha

Real VacuumConcBC::_alpha
protected

Ratio of u to du/dn.


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