https://mooseframework.inl.gov
INSFVTurbulentDiffusion.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 "FVDiffusion.h"
13 
26 {
27 public:
29  virtual void initialSetup() override;
31 
32 protected:
33  virtual ADReal computeQpResidual() override final;
35  void computeResidual(const FaceInfo & fi) override;
37  void computeJacobian(const FaceInfo & fi) override;
38 
40 
42  const std::vector<BoundaryName> & _wall_boundary_names;
43 
45  std::unordered_set<const Elem *> _wall_bounded;
46 
49 };
INSFVTurbulentDiffusion implements a standard diffusion term for a turbulent problem: ...
DualNumber< Real, DNDerivativeType, true > ADReal
const bool _preserve_sparsity_pattern
Whether a Newton&#39;s method is being used (and we need to preserve the sparsity pattern in edge cases) ...
void computeJacobian() override
virtual ADReal computeQpResidual() override final
const Moose::Functor< ADReal > & _scaling_coef
INSFVTurbulentDiffusion(const InputParameters &params)
static InputParameters validParams()
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
virtual void initialSetup() override
void computeResidual() override
std::unordered_set< const Elem * > _wall_bounded
List for wall treatment.