https://mooseframework.inl.gov
Loading...
Searching...
No Matches
BoundaryFluxGasMixGhostWall.C
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
11#include "THMIndicesGasMix.h"
12
14
17{
19
20 params.addClassDescription("Wall boundary flux for FlowModelGasMix.");
21
22 return params;
23}
24
29
30std::vector<ADReal>
31BoundaryFluxGasMixGhostWall::getGhostCellSolution(const std::vector<ADReal> & U1) const
32{
33 std::vector<ADReal> U_ghost(THMGasMix1D::N_FLUX_INPUTS);
39
40 return U_ghost;
41}
registerMooseObject("ThermalHydraulicsApp", BoundaryFluxGasMixGhostWall)
Base class for boundary fluxes for FlowModelGasMix using ghost cells.
Wall boundary flux for FlowModelGasMix.
BoundaryFluxGasMixGhostWall(const InputParameters &parameters)
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1) const override
Gets the solution vector in the ghost cell.
void addClassDescription(const std::string &doc_string)
static const unsigned int N_FLUX_INPUTS
Number of numerical flux function inputs.