https://mooseframework.inl.gov
ADDynamicViscosityMaterial.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 "Material.h"
13 
15 
20 {
21 public:
23 
24 protected:
25  virtual void computeQpProperties() override;
26 
28  const MaterialPropertyName & _mu_name;
29 
30  // Dynamic viscosity
32 
35 
38 
41 
42 public:
44 };
ADMaterialProperty< Real > & _mu
const SinglePhaseFluidProperties & _fp_1phase
Single-phase fluid properties.
const MaterialPropertyName & _mu_name
Dynamic viscosity name.
virtual void computeQpProperties() override
Computes dynamic viscosity.
Common class for single phase fluid properties.
const ADMaterialProperty< Real > & _e
Specific internal energy.
ADDynamicViscosityMaterial(const InputParameters &parameters)
const InputParameters & parameters() const
const ADMaterialProperty< Real > & _v
Specific volume.
static InputParameters validParams()