https://mooseframework.inl.gov
PINSFEMaterial.C
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 #include "PINSFEMaterial.h"
11 
12 registerMooseObject("NavierStokesApp", PINSFEMaterial);
13 registerMooseObjectRenamed("NavierStokesApp",
14  GenericPorousMediumMaterial,
15  "02/01/2024 00:00",
17 
20 {
22 
23  params.addClassDescription("Computes generic material properties related to simulation of fluid "
24  "flow in a porous medium");
25  params.addRequiredParam<Real>("alpha", "Inertia drag coefficient");
26  params.addRequiredParam<Real>("beta", "Viscous drag coefficient");
27  params.addParam<Real>("pm_htc", 0, "Fluid-to-solid heat transfer coefficient in porous medium");
28  params.addParam<Real>("pm_aw", 0, "Fluid-to-solid heat transfer area density in porous medium");
29 
30  return params;
31 }
32 
34  : INSFEMaterial(parameters),
35  _alpha(getParam<Real>("alpha")),
36  _beta(getParam<Real>("beta")),
37  _pm_htc_const(getParam<Real>("pm_htc")),
38  _pm_aw_const(getParam<Real>("pm_aw")),
39  _pm_htc(declareProperty<Real>("pm_heat_transfer_coefficient")),
40  _pm_aw(declareProperty<Real>("pm_heat_transfer_area_density"))
41 {
42 }
43 
44 void
46 {
48 
52 
56 
59 }
Computes material properties relevant to simulation of fluid flow in a porous medium.
void addParam(const std::string &name, const std::initializer_list< typename T::value_type > &value, const std::string &doc_string)
virtual void computeQpProperties() override
virtual void computeQpProperties() override
static InputParameters validParams()
Definition: INSFEMaterial.C:19
void addRequiredParam(const std::string &name, const std::string &doc_string)
unsigned int _qp
registerMooseObject("NavierStokesApp", PINSFEMaterial)
MaterialProperty< Real > & _pm_htc
static InputParameters validParams()
MaterialProperty< RealTensorValue > & _inertia_resistance_coeff
Definition: INSFEMaterial.h:46
MaterialProperty< Real > & _pm_aw
registerMooseObjectRenamed("NavierStokesApp", GenericPorousMediumMaterial, "02/01/2024 00:00", PINSFEMaterial)
Fluid materials for 3D fluid model.
Definition: INSFEMaterial.h:19
PINSFEMaterial(const InputParameters &parameters)
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
void addClassDescription(const std::string &doc_string)
MaterialProperty< RealTensorValue > & _viscous_resistance_coeff
Definition: INSFEMaterial.h:47