https://mooseframework.inl.gov
Loading...
Searching...
No Matches
ADBoundaryFlux3EqnGhostWall.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 "THMIndicesVACE.h"
12
14
17{
19
21 "Wall boundary conditions for the 1-D, 1-phase, variable-area Euler equations");
22
23 return params;
24}
25
30
31std::vector<ADReal>
33 const Point & /*point*/) const
34{
35 std::vector<ADReal> U_ghost = U1;
36 U_ghost[THMVACE1D::RHOUA] = -U1[THMVACE1D::RHOUA];
37
38 return U_ghost;
39}
registerMooseObject("ThermalHydraulicsApp", ADBoundaryFlux3EqnGhostWall)
Computes boundary fluxes for the 1-D, variable-area Euler equations using a numerical flux user objec...
Computes flux for wall boundary conditions for the 1-D, 1-phase, variable-area Euler equations.
ADBoundaryFlux3EqnGhostWall(const InputParameters &parameters)
virtual std::vector< ADReal > getGhostCellSolution(const std::vector< ADReal > &U1, const Point &point) const override
Gets the solution vector in the ghost cell.
void addClassDescription(const std::string &doc_string)