https://mooseframework.inl.gov
BoundaryFlux3EqnFunction.h
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 
10 #pragma once
11 
12 #include "ADBoundaryFluxBase.h"
14 
19 {
20 public:
22 
23  virtual void calcFlux(unsigned int iside,
24  dof_id_type ielem,
25  const std::vector<ADReal> & U1,
26  const RealVectorValue & normal,
27  std::vector<ADReal> & flux) const override;
28 
29 protected:
30  const Function & _rho_fn;
31  const Function & _vel_fn;
32  const Function & _p_fn;
33 
35 
36 public:
38 };
const SinglePhaseFluidProperties & _fp
virtual void calcFlux(unsigned int iside, dof_id_type ielem, const std::vector< ADReal > &U1, const RealVectorValue &normal, std::vector< ADReal > &flux) const override
Solve the Riemann problem on the boundary face.
BoundaryFlux3EqnFunction(const InputParameters &parameters)
Common class for single phase fluid properties.
A base class for computing/caching fluxes at boundaries.
const InputParameters & parameters() const
Computes the 1-phase boundary flux directly from specified functions.
static InputParameters validParams()
uint8_t dof_id_type