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