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

#include <PrecursorAction.h>

Inheritance diagram for PrecursorAction:
[legend]

Public Member Functions

 PrecursorAction (const InputParameters &params)
 
virtual void act () override
 
- Public Member Functions inherited from VariableNotAMooseObjectAction
 VariableNotAMooseObjectAction (const InputParameters &params)
 

Static Public Member Functions

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

Protected Member Functions

void addRelationshipManagers (Moose::RelationshipManagerType when_type) override
 
void addPrecursorSource (const unsigned &op, const std::string &var_name)
 
void addPrecursorDecay (const unsigned &op, const std::string &var_name)
 
void addTimeDerivative (const std::string &var_name)
 
void addDGAdvection (const std::string &var_name)
 
void addOutflowBC (const std::string &var_name)
 
void addInflowBC (const std::string &var_name)
 
void addInitialConditions (const std::string &var_name)
 
void addOutletPostprocessor (const std::string &var_name)
 
void addInletPostprocessor (const std::string &var_name)
 
void addMultiAppTransfer (const std::string &var_name)
 
void addCoolantOutflowPostprocessor ()
 
void setVarNameAndBlock (InputParameters &params, const std::string &var_name)
 
- Protected Member Functions inherited from VariableNotAMooseObjectAction
std::set< SubdomainID > getSubdomainIDs ()
 
void addVariable (const std::string &var_name)
 

Protected Attributes

unsigned int _num_precursor_groups
 number of precursor groups
 
std::string _var_name_base
 base name for neutron variables
 
unsigned int _num_groups
 number of energy groups
 
std::string _object_suffix
 optional object name suffix
 
bool _is_loopapp
 

Detailed Description

This Action adds all required delayed neutron precursor variables and kernels to the problem. Since the delayed neutron precursors transport problem is pure advection, the problem is solved using discontinous Galerkin as documented in: Discontinuous Galerkin Methods for Solving Elliptic and Parabolic Equations: Theory and Implementation Note that the flow velocity must be constant when using the DGAdvection or DGTemperatureAdvection. In order to vary to flow through a user-defined function, use DGFunctionAdvection or DGFunctionTemperatureAdvection.

Constructor & Destructor Documentation

◆ PrecursorAction()

PrecursorAction::PrecursorAction ( const InputParameters &  params)

Member Function Documentation

◆ act()

void PrecursorAction::act ( )
overridevirtual

◆ addCoolantOutflowPostprocessor()

void PrecursorAction::addCoolantOutflowPostprocessor ( )
protected

Adds postprocessor to calculate coolant outflow rate required by addOutletPostprocessor

Parameters
var_nameThe name of the variable the postprocessor acts on

◆ addDGAdvection()

void PrecursorAction::addDGAdvection ( const std::string &  var_name)
protected

Adds DGAdvection kernel

Parameters
var_nameThe name of the variable the kernel acts on

◆ addInflowBC()

void PrecursorAction::addInflowBC ( const std::string &  var_name)
protected

Adds appropriate inflow BC depending on velocity type

Parameters
var_nameThe name of the variable the BC acts on

◆ addInitialConditions()

void PrecursorAction::addInitialConditions ( const std::string &  var_name)
protected

Adds random initial conditions for Jacobian testing

Parameters
var_nameThe name of the variable the IC acts on

◆ addInletPostprocessor()

void PrecursorAction::addInletPostprocessor ( const std::string &  var_name)
protected

Adds Receiver postprocessor required for precursor conc at inlet

Parameters
var_nameThe name of the variable the postprocessor acts on

◆ addMultiAppTransfer()

void PrecursorAction::addMultiAppTransfer ( const std::string &  var_name)
protected

Adds MultiAppTransfers to simulate precursor looped flow by exchanging inlet/outlet data

Parameters
var_nameThe name of the variable the MultiAppTransfers acts on

◆ addOutflowBC()

void PrecursorAction::addOutflowBC ( const std::string &  var_name)
protected

Adds appropriate outflow BC depending on velocity type

Parameters
var_nameThe name of the variable the BC acts on

◆ addOutletPostprocessor()

void PrecursorAction::addOutletPostprocessor ( const std::string &  var_name)
protected

Adds postprocessors to calculate flow-weighted precursor conc at outlet

Parameters
var_nameThe name of the variable the postprocessor acts on

◆ addPrecursorDecay()

void PrecursorAction::addPrecursorDecay ( const unsigned &  op,
const std::string &  var_name 
)
protected

Adds PrecursorDecay kernel

Parameters
opThe zero-based index for the precursor group the kernel acts on
var_nameThe name of the variable the kernel acts on

◆ addPrecursorSource()

void PrecursorAction::addPrecursorSource ( const unsigned &  op,
const std::string &  var_name 
)
protected

Adds PrecursorSource kernel

Parameters
opThe zero-based index for the precursor group the kernel acts on
var_nameThe name of the variable the kernel acts on

◆ addRelationshipManagers()

void PrecursorAction::addRelationshipManagers ( Moose::RelationshipManagerType  when_type)
overrideprotected

◆ addTimeDerivative()

void PrecursorAction::addTimeDerivative ( const std::string &  var_name)
protected

Adds ScalarTransportTimeDerivative kernel

Parameters
var_nameThe name of the variable the kernel acts on

◆ setVarNameAndBlock()

void PrecursorAction::setVarNameAndBlock ( InputParameters &  params,
const std::string &  var_name 
)
protected

Sets variable and block params. Used to reduce repeating code

Parameters
paramsThe InputParameters in which to set variable and block params
var_nameThe name of the variable the postprocessor acts on

◆ validParams()

InputParameters PrecursorAction::validParams ( )
static

Member Data Documentation

◆ _is_loopapp

bool PrecursorAction::_is_loopapp
protected

◆ _num_groups

unsigned int PrecursorAction::_num_groups
protected

number of energy groups

◆ _num_precursor_groups

unsigned int PrecursorAction::_num_precursor_groups
protected

number of precursor groups

◆ _object_suffix

std::string PrecursorAction::_object_suffix
protected

optional object name suffix

◆ _var_name_base

std::string PrecursorAction::_var_name_base
protected

base name for neutron variables


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