https://mooseframework.inl.gov
PCNSFVStrongBC.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 "FVFluxBC.h"
13 
15 class MfrPostprocessor;
16 
17 class PCNSFVStrongBC : public FVFluxBC
18 {
19 public:
21  PCNSFVStrongBC(const InputParameters & params);
22 
23 protected:
24  virtual ADReal computeQpResidual() override;
25 
27  const unsigned int _dim;
50  const MooseEnum _eqn;
51  const unsigned int _index;
52 
53  const bool _sup_vel_provided;
54  const bool _pressure_provided;
55  const bool _T_fluid_provided;
56  const Function * const _sup_vel_function;
58  const Function * const _T_fluid_function;
64  const Function * const _scalar_function;
66 
68 };
const ADMaterialProperty< RealVectorValue > & _grad_T_fluid_elem
const MaterialProperty< Real > & _eps_elem
const unsigned int _dim
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_x_elem
const ADMaterialProperty< Real > & _sup_vel_z_neighbor
This postprocessor computes the volumetric flow rate through a boundary.
const ADMaterialProperty< Real > & _T_fluid_neighbor
const MooseEnum _eqn
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_y_elem
const Function *const _pressure_function
const ADMaterialProperty< Real > & _sup_vel_y_elem
const ADMaterialProperty< Real > & _sup_vel_x_elem
const SinglePhaseFluidProperties & _fluid
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_z_elem
DualNumber< Real, DNDerivativeType, true > ADReal
const ADMaterialProperty< Real > & _pressure_elem
const Function *const _sup_vel_function
const ADMaterialProperty< RealVectorValue > & _grad_T_fluid_neighbor
const Function *const _scalar_function
const ADMaterialProperty< Real > & _sup_vel_x_neighbor
virtual ADReal computeQpResidual() override
const bool _pressure_provided
const ADMaterialProperty< RealVectorValue > & _grad_pressure_elem
const bool _sup_vel_provided
static InputParameters validParams()
const ADMaterialProperty< Real > & _sup_vel_z_elem
const ADVariableGradient *const _grad_scalar_elem
const MaterialProperty< Real > & _eps_neighbor
Common class for single phase fluid properties.
const ADMaterialProperty< Real > & _pressure_neighbor
const Function *const _T_fluid_function
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_z_neighbor
PCNSFVStrongBC(const InputParameters &params)
const ADVariableGradient *const _grad_scalar_neighbor
MfrPostprocessor *const _mfr_pp
const ADMaterialProperty< RealVectorValue > & _grad_pressure_neighbor
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_y_neighbor
const bool _velocity_function_includes_rho
const ADVariableValue & _scalar_elem
const ADVariableValue & _scalar_neighbor
const unsigned int _index
const bool _scalar_function_provided
const ADMaterialProperty< Real > & _T_fluid_elem
const bool _T_fluid_provided
const ADMaterialProperty< Real > & _sup_vel_y_neighbor
const ADMaterialProperty< RealVectorValue > & _grad_sup_vel_x_neighbor