www.mooseframework.org
PorousFlowPolyLineSink.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 
12 #include "PorousFlowLineSink.h"
13 #include "LinearInterpolation.h"
14 
19 {
20 public:
22 
24 
25 protected:
28 
29  virtual Real computeQpBaseOutflow(unsigned current_dirac_ptid) const override;
30  virtual void computeQpBaseOutflowJacobian(unsigned jvar,
31  unsigned current_dirac_ptid,
32  Real & outflow,
33  Real & outflowp) const override;
34 };
PorousFlowPolyLineSink(const InputParameters &parameters)
virtual Real computeQpBaseOutflow(unsigned current_dirac_ptid) const override
Returns the flux from the line sink (before modification by mobility, etc). Derived classes should ov...
static InputParameters validParams()
Approximates a line sink by a sequence of Dirac Points.
virtual void computeQpBaseOutflowJacobian(unsigned jvar, unsigned current_dirac_ptid, Real &outflow, Real &outflowp) const override
Calculates the BaseOutflow as well as its derivative wrt jvar. Derived classes should override this...
LinearInterpolation _sink_func
mass flux = _sink_func as a function of porepressure or temperature
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
const InputParameters & parameters() const
Approximates a line sink a sequence of Dirac Points.