https://mooseframework.inl.gov
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 {
23 public:
25 
27 
28 private:
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 
39  void addPhaseInterfaceTerm();
41  void addPhaseDriftFluxTerm();
42  void addAdvectionSlipTerm();
43 
46 
48  const bool _add_phase_equation;
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;
81  const bool _use_advection_slip;
82 };
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_specific_heat
Name of the specific heat of the first phase.
const bool _add_phase_equation
Convenience boolean to keep track of whether the phase transport equation is requested.
Creates all the objects needed to solve the Navier Stokes scalar transport equations using the linear...
const MooseFunctorName _phase_2_thermal_conductivity
Name of the thermal conductivity of the other phase.
const MooseFunctorName _phase_1_fraction_name
Name of the first phase fraction (usually, liquid)
bool _has_energy_equation
Convenience boolean to keep track of whether the fluid energy equation is present.
const MooseFunctorName _phase_1_density
Name of the density of the first phase.
WCNSLinearFVTwoPhaseMixturePhysics(const InputParameters &parameters)
const MooseFunctorName _phase_2_fraction_name
Name of the second phase fraction (usually, dispersed or advected by the liquid)
void addPhaseInterfaceTerm()
Functions adding kernels for the other physics.
const bool _use_drift_flux
Whether to add the drift flux momentum terms to each component momentum equation. ...
const MooseFunctorName _phase_2_viscosity
Name of the dynamic viscosity of the other phase.
const MooseFunctorName _phase_1_viscosity
Name of the dynamic viscosity of the first phase.
const WCNSLinearFVFluidHeatTransferPhysics * _fluid_energy_physics
Fluid heat transfer physics.
Creates all the objects needed to solve the Navier Stokes energy equation using a linear finite volum...
const bool _use_external_mixture_properties
Whether to define the mixture model internally or use fluid properties instead.
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.
virtual void setSlipVelocityParams(InputParameters &params) const override
Adds the slip velocity parameters.
const InputParameters & parameters() const
const MooseFunctorName _phase_2_density
Name of the density of the other phase.