https://mooseframework.inl.gov
Loading...
Searching...
No Matches
WCNSLinearFVTwoPhaseMixturePhysics.h
Go to the documentation of this file.
1//* This file is part of the MOOSE framework
2//* https://www.mooseframework.org
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
13
15
22{
23public:
25
27
28private:
29 virtual void addFVKernels() override;
30 virtual void addMaterials() override;
31 virtual void checkIntegrity() const override;
32
34 virtual void setSlipVelocityParams(InputParameters & params) const override;
35
43
46
51
53 const MooseFunctorName _phase_1_fraction_name;
55 const MooseFunctorName _phase_2_fraction_name;
56
58 const MooseFunctorName _phase_1_density;
60 const MooseFunctorName _phase_1_viscosity;
62 const MooseFunctorName _phase_1_specific_heat;
64 const MooseFunctorName _phase_1_thermal_conductivity;
65
67 const MooseFunctorName _phase_2_density;
69 const MooseFunctorName _phase_2_viscosity;
71 const MooseFunctorName _phase_2_specific_heat;
73 const MooseFunctorName _phase_2_thermal_conductivity;
74
77
79 const bool _use_drift_flux;
82};
const InputParameters & parameters() const
Creates all the objects needed to solve the Navier Stokes energy equation using a linear finite volum...
Creates all the objects needed to solve the Navier Stokes scalar transport equations using the linear...
Creates all the objects needed to solve the mixture model for the weakly-compressible and incompressi...
const MooseFunctorName _phase_2_specific_heat
Name of the specific heat of the other phase.
const MooseFunctorName _phase_2_viscosity
Name of the dynamic viscosity of the other phase.
const MooseFunctorName _phase_2_fraction_name
Name of the second phase fraction (usually, dispersed or advected by the liquid)
const bool _use_advection_slip
Whether to add the advection slip term to each component of the momentum equation.
const MooseFunctorName _phase_1_thermal_conductivity
Name of the thermal conductivity of the first phase.
const MooseFunctorName _phase_1_fraction_name
Name of the first phase fraction (usually, liquid)
const MooseFunctorName _phase_2_density
Name of the density of the other phase.
const MooseFunctorName _phase_1_density
Name of the density of the first phase.
const bool _use_external_mixture_properties
Whether to define the mixture model internally or use fluid properties instead.
const bool _add_phase_equation
Convenience boolean to keep track of whether the phase transport equation is requested.
bool _has_energy_equation
Convenience boolean to keep track of whether the fluid energy equation is present.
void addPhaseInterfaceTerm()
Functions adding kernels for the other physics.
const MooseFunctorName _phase_1_specific_heat
Name of the specific heat of the first phase.
const MooseFunctorName _phase_2_thermal_conductivity
Name of the thermal conductivity of the other phase.
const MooseFunctorName _phase_1_viscosity
Name of the dynamic viscosity of the first phase.
const bool _use_drift_flux
Whether to add the drift flux momentum terms to each component momentum equation.
virtual void setSlipVelocityParams(InputParameters &params) const override
Adds the slip velocity parameters.
const WCNSLinearFVFluidHeatTransferPhysics * _fluid_energy_physics
Fluid heat transfer physics.