Go to the documentation of this file.
78 const RealTensorValue & rot,
79 const Real & half_len,
81 const Real & rad)
const;
85 unsigned current_dirac_ptid,
87 Real & outflowp)
const override;
Approximates a line sink a sequence of Dirac Points.
const MaterialProperty< std::vector< RealTensorValue > > & _dperm_or_cond_dvar
d(Permeability)/d(PorousFlow variable)
const bool _has_thermal_conductivity
Whether there is a quadpoint thermal conductivity material (for error checking)
InputParameters validParams< PorousFlowPeacemanBorehole >()
PorousFlowPeacemanBorehole(const InputParameters ¶meters)
Creates a new PorousFlowPeacemanBorehole This reads the file containing the lines of the form radius ...
Approximates a borehole by a sequence of Dirac Points.
const bool _has_permeability
Whether there is a quadpoint permeability material (for error checking)
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.
const Real _re_constant
Borehole constant.
const MaterialProperty< RealTensorValue > & _perm_or_cond
Permeability or conductivity of porous material.
const Function & _character
If positive then the borehole acts as a sink (producion well) for porepressure > borehole pressure,...
Real wellConstant(const RealTensorValue &perm, const RealTensorValue &rot, const Real &half_len, const Elem *ele, const Real &rad) const
Calculates Peaceman's form of the borehole well constant Z Chen, Y Zhang, Well flow models for variou...
const Real _well_constant
Well constant.
const RealVectorValue _unit_weight
Unit weight of fluid in borehole (for calculating bottomhole pressure at each Dirac Point)
Real computeQpBaseOutflow(unsigned current_dirac_ptid) const override
Returns the flux from the line sink (before modification by mobility, etc). Derived classes should ov...
const Real _p_bot
Bottomhole pressure of borehole.
std::vector< RealTensorValue > _rot_matrix
Rotation matrix used in well_constant calculation.