https://mooseframework.inl.gov
INSFVTurbulentAdvection.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 "INSFVAdvectionKernel.h"
13 
19 {
20 public:
22  virtual void initialSetup() override;
24 
25  bool hasMaterialTimeDerivative() const override { return false; }
26 
27 protected:
28  ADReal computeQpResidual() override;
30  void computeResidual(const FaceInfo & fi) override;
32  void computeJacobian(const FaceInfo & fi) override;
33 
34  // Density
36 
38  const std::vector<BoundaryName> & _wall_boundary_names;
39 
41  std::unordered_set<const Elem *> _wall_bounded;
42 
45 };
Computes the advection term with the assumption that the advected quantity will have special wall tre...
virtual void initialSetup() override
const bool _neglect_advection_derivatives
Whether to remove the derivative of this term wrt to velocity.
DualNumber< Real, DNDerivativeType, true > ADReal
void computeJacobian() override
std::unordered_set< const Elem * > _wall_bounded
List for wall treatment.
ADReal computeQpResidual() override
static InputParameters validParams()
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
bool hasMaterialTimeDerivative() const override
An advection kernel that implements interpolation schemes specific to Navier-Stokes flow physics...
INSFVTurbulentAdvection(const InputParameters &params)
const Moose::Functor< ADReal > & _rho
void computeResidual() override