https://mooseframework.inl.gov
Loading...
Searching...
No Matches
PorousFlowPolyLineSink.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 "PorousFlowLineSink.h"
13#include "LinearInterpolation.h"
14
19{
20public:
22
24
25protected:
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};
const InputParameters & parameters() const
Approximates a line sink a sequence of Dirac Points.
Approximates a line sink by a sequence of Dirac Points.
LinearInterpolation _sink_func
mass flux = _sink_func as a function of porepressure or temperature
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()
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.