https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
17template <bool is_ad>
19{
20public:
22
24
25protected:
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
NSFVMixtureFunctorMaterialTempl< false > WCNSLinearFVMixtureFunctorMaterial
NSFVMixtureFunctorMaterialTempl< true > NSFVMixtureFunctorMaterial
const InputParameters & parameters() const
This is the material class used to compute phase averaged properties of mixtures.
const std::vector< MooseFunctorName > _phase_1_names
Vector of phase 1 properties names.
const std::vector< MooseFunctorName > _phase_2_names
Vector of phase 2 properties names.
std::vector< const Moose::Functor< GenericReal< is_ad > > * > _phase_1_properties
Vector of phase 1 properties.
const std::vector< MooseFunctorName > _mixture_names
Vector of mixture properties names.
const Moose::Functor< GenericReal< is_ad > > & _phase_1_fraction
Phase 1 fraction.
const bool _limit_pf
Whether to bound the phase fraction between 0 and 1 to avoid outlandish properties.
std::vector< const Moose::Functor< GenericReal< is_ad > > * > _phase_2_properties
Vector of phase 2 properties.