https://mooseframework.inl.gov
Loading...
Searching...
No Matches
FunctorEffectiveDynamicViscosity.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 "FunctorMaterial.h"
13
17template <bool is_ad>
34
FunctorEffectiveDynamicViscosityTempl< false > FunctorEffectiveDynamicViscosity
FunctorEffectiveDynamicViscosityTempl< true > ADFunctorEffectiveDynamicViscosity
Class used to compute the effective dynamic viscosity, notably in the presence of turbulence.
const Moose::Functor< GenericReal< is_ad > > & _scale_factor
Functor for dividing the turbulent dynamic viscosity.
const Moose::Functor< GenericReal< is_ad > > & _mu
Functor for the dynamic viscosity.
const Moose::Functor< GenericReal< is_ad > > & _mu_t
Functor for the turbulent dynamic viscosity.
Real _scale_factor_real
Factor for dividing the turbulent dynamic viscosity.
const InputParameters & parameters() const