https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
27public:
29 virtual void initialSetup() override;
31
32protected:
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};
DualNumber< Real, DNDerivativeType, true > ADReal
void computeJacobian() override
void computeResidual() override
INSFVTurbulentDiffusion implements a standard diffusion term for a turbulent problem:
static InputParameters validParams()
const std::vector< BoundaryName > & _wall_boundary_names
Wall boundaries.
const bool _preserve_sparsity_pattern
Whether a Newton's method is being used (and we need to preserve the sparsity pattern in edge cases)
void computeResidual() override
void computeJacobian() override
std::unordered_set< const Elem * > _wall_bounded
List for wall treatment.
const Moose::Functor< ADReal > & _scaling_coef
virtual ADReal computeQpResidual() override final
virtual void initialSetup() override