moltres
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Protected Types | 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 Types

enum  BC_TYPE { MARSHAK , MARK , MILNE }
 

Protected Member Functions

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

Protected Attributes

Real _alpha
 
Real _milne_extrapolation_coefficient = 3 * 0.710446
 

Detailed Description

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

The three types of vacuum BCs available are Marshak ($\alpha=2$), Mark ($\alpha=\sqrt{3}$), and Milne ($\alpha=3\times 0.710446$). VacuumConcBC defaults to Marshak if bc_type is not set.

Member Enumeration Documentation

◆ BC_TYPE

enum VacuumConcBC::BC_TYPE
protected
Enumerator
MARSHAK 
MARK 
MILNE 

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

◆ _milne_extrapolation_coefficient

Real VacuumConcBC::_milne_extrapolation_coefficient = 3 * 0.710446
protected

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