https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowPorosityVinsomeWesterveld.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
13#include "libmesh/dense_matrix.h"
14#include "libmesh/dense_vector.h"
15
16#include <array>
17
51{
52public:
54
56
57 virtual void initialSetup() override;
58
59protected:
60 virtual void initQpStatefulProperties() override;
61 virtual void computeUnboundedPorosityQp() override;
62
65
68 const Real _kappa;
69
72
74 const Real _start_time;
75
78
81
84
87
90
93
95 std::array<Real, 3> _mu;
96
100 DenseMatrix<Real> _profile_matrix;
101 DenseVector<Real> _profile_rhs;
102 DenseVector<Real> _profile_drhs;
103 DenseVector<Real> _profile_sol;
104 DenseVector<Real> _profile_dsol;
105};
Material designed to provide the porosity in PorousFlow simulations porosity_ref + P_coeff * (P - P_r...
Porosity (typically the aperture of a lower-dimensional fracture) given by the PorousFlowPorosityLine...
virtual void computeUnboundedPorosityQp() override
Computes porosity and its derivatives at the current node or quadrature point, without applying the p...
const VariableValue & _T_matrix_ref
Undisturbed (reference) matrix temperature.
const Real _kappa
Thermal diffusivity of the matrix in the direction normal to the fracture (m^2/s),...
const Real _matrix_thickness
Thickness of the matrix layer that contributes to the opening (used if _finite_thickness)
const Real _thermal_opening_coeff
Change of porosity per unit matrix heat content (units 1/K when porosity is an aperture)
const MaterialProperty< Real > & _heat_content_old
Old value of the heat content.
const MaterialProperty< Real > & _theta_old
Old value of theta.
const Real _start_time
Time at which the matrix temperature profile is undisturbed.
DenseMatrix< Real > _profile_matrix
For a matrix layer of finite thickness: the linear system for the profile coefficients,...
const bool _finite_thickness
Whether only a layer of finite thickness next to the fracture contributes to the opening.
std::array< Real, 3 > _mu
For a matrix layer of finite thickness: the moments mu_k = int_0^s x^k exp(-x) dx (k = 0,...
MaterialProperty< Real > & _theta
Temperature change at the fracture face, theta = T - T_matrix_ref.
MaterialProperty< Real > & _heat_content
Heat content of the adjacent matrix, I = int (T - T_matrix_ref) dz.
VariableValueTempl< false > VariableValue