https://mooseframework.inl.gov
NSFVMixtureFunctorMaterialTempl.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 
17 template <bool is_ad>
19 {
20 public:
22 
24 
25 protected:
27  std::vector<const Moose::Functor<GenericReal<is_ad>> *> _phase_1_properties;
28 
30  std::vector<const Moose::Functor<GenericReal<is_ad>> *> _phase_2_properties;
31 
33  const std::vector<MooseFunctorName> _phase_1_names;
34 
36  const std::vector<MooseFunctorName> _phase_2_names;
37 
39  const std::vector<MooseFunctorName> _mixture_names;
40 
43 
45  const bool _limit_pf;
46 };
47 
const bool _limit_pf
Whether to bound the phase fraction between 0 and 1 to avoid outlandish properties.
NSFVMixtureFunctorMaterialTempl(const InputParameters &parameters)
const Moose::Functor< GenericReal< is_ad > > & _phase_1_fraction
Phase 1 fraction.
std::vector< const Moose::Functor< GenericReal< is_ad > > * > _phase_2_properties
Vector of phase 2 properties.
std::vector< const Moose::Functor< GenericReal< is_ad > > * > _phase_1_properties
Vector of phase 1 properties.
This is the material class used to compute phase averaged properties of mixtures. ...
NSFVMixtureFunctorMaterialTempl< true > NSFVMixtureFunctorMaterial
const std::vector< MooseFunctorName > _phase_2_names
Vector of phase 2 properties names.
const std::vector< MooseFunctorName > _mixture_names
Vector of mixture properties names.
NSFVMixtureFunctorMaterialTempl< false > WCNSLinearFVMixtureFunctorMaterial
const std::vector< MooseFunctorName > _phase_1_names
Vector of phase 1 properties names.
const InputParameters & parameters() const