https://mooseframework.inl.gov
WCNSFVCoupledAdvectionPhysicsHelper.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 "PhysicsBase.h"
13 
17 
23 {
24 public:
26 
28 
31 
34  MooseFunctorName getPorosityFunctorName(bool smoothed) const;
35 
36  const MooseFunctorName & densityName() const { return _density_name; }
37  const MooseFunctorName & dynamicViscosityName() const { return _dynamic_viscosity_name; }
38 
39 protected:
49 
52 
55 
57  const std::vector<std::string> _velocity_names;
59  const NonlinearVariableName _pressure_name;
60 
62  const MooseFunctorName _density_name;
64  const MooseFunctorName _dynamic_viscosity_name;
65 
68 };
Base class for a Physics that creates all the objects needed to add a turbulence model to an incompre...
const MooseFunctorName _density_name
Name of the density material property.
MooseFunctorName getPorosityFunctorName(bool smoothed) const
Return the porosity functor name.
const WCNSFVFlowPhysicsBase * getCoupledFlowPhysics() const
bool _has_turbulence_model
Because of the Modules/navierStokesFV syntax, a turbulence physics often exists without a model we sa...
WCNSFVCoupledAdvectionPhysicsHelper(const NavierStokesPhysicsBase *derived_physics)
const MooseFunctorName _dynamic_viscosity_name
Name of the dynamic viscosity material property.
const MooseFunctorName & dynamicViscosityName() const
const MooseEnum _compressibility
Compressibility type, can be compressible, incompressible or weakly-compressible. ...
const bool _porous_medium_treatment
Switch to show if porous medium treatment is requested or not.
Base class for Physics which create the Navier Stokes flow equations.
const WCNSFVTurbulencePhysicsBase * _turbulence_physics
Turbulence.
Helper class to interact with a flow and turbulence physics for a Physics that solves an advection pr...
const WCNSFVTurbulencePhysicsBase * getCoupledTurbulencePhysics() const
const std::vector< std::string > _velocity_names
Velocity names.
Base class to hold common parameters and utilities between all the weakly compressible Navier Stokes-...
const NavierStokesPhysicsBase * _advection_physics
The Physics class using this helper.
const WCNSFVFlowPhysicsBase * _flow_equations_physics
Flow physics.
const MooseEnum _velocity_interpolation
The velocity / momentum face interpolation method for advecting other quantities. ...
const NonlinearVariableName _pressure_name
Pressure name.