https://mooseframework.inl.gov
ADPump1PhaseUserObject.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 
22 {
23 public:
25 
26 protected:
27  virtual void computeFluxesAndResiduals(const unsigned int & c) override;
28 
30  const Real & _head;
32  const Real & _g;
33 
34 public:
36 };
const Real & _head
Pump head, [m].
Computes and caches flux and residual vectors for a 1-phase volume junction.
Computes and caches flux and residual vectors for a 1-phase pump.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
ADPump1PhaseUserObject(const InputParameters &params)
const Real & _g
Gravity constant, i.e., 9.8 [m/s^2].
virtual void computeFluxesAndResiduals(const unsigned int &c) override
Computes and stores the fluxes, the scalar residuals, and their Jacobians.
static InputParameters validParams()