https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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{
24public:
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
39protected:
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 to hold common parameters and utilities between all the weakly compressible Navier Stokes-...
Helper class to interact with a flow and turbulence physics for a Physics that solves an advection pr...
const WCNSFVFlowPhysicsBase * _flow_equations_physics
Flow physics.
const WCNSFVFlowPhysicsBase * getCoupledFlowPhysics() const
const WCNSFVTurbulencePhysicsBase * _turbulence_physics
Turbulence.
const NonlinearVariableName _pressure_name
Pressure name.
const WCNSFVTurbulencePhysicsBase * getCoupledTurbulencePhysics() const
bool _has_turbulence_model
Because of the Modules/navierStokesFV syntax, a turbulence physics often exists without a model we sa...
const MooseFunctorName _dynamic_viscosity_name
Name of the dynamic viscosity material property.
MooseFunctorName getPorosityFunctorName(bool smoothed) const
Return the porosity functor name.
const NavierStokesPhysicsBase * _advection_physics
The Physics class using this helper.
const std::vector< std::string > _velocity_names
Velocity names.
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.
const MooseEnum _velocity_interpolation
The velocity / momentum face interpolation method for advecting other quantities.
const MooseFunctorName _density_name
Name of the density material property.
Base class for Physics which create the Navier Stokes flow equations.
Base class for a Physics that creates all the objects needed to add a turbulence model to an incompre...