NeoPZ
pzspacetimerichardseq.h
Go to the documentation of this file.
1 
6 #ifndef PZSPACETIMERICHARDSEQ_H
7 #define PZSPACETIMERICHARDSEQ_H
8 
9 #include "TPZMaterial.h"
10 
11 class TPZCompMesh;
12 
19 {
20  static STATE TCoeff, LCoeff, deltaDerivada;
21 protected:
22 
25 
27  STATE Se(STATE sol);
28 
30  STATE Theta(STATE Se);
31 
32  STATE DKDsol(STATE sol);
33 
34  STATE DCDsol(STATE sol);
35 
36 public:
37 
39 
40  TPZSpaceTimeRichardsEq(int id);
41 
42  TPZSpaceTimeRichardsEq(int matid, STATE Alpha, STATE N, STATE ThetaS, STATE ThetaR, STATE Ks);
43 
45 
46  void Set(STATE Alpha, STATE N, STATE ThetaS, STATE ThetaR, STATE Ks);
47 
49  virtual int Dimension() const override;
50 
52  virtual int NStateVariables() const override;
53 
62  virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix<STATE> &ek, TPZFMatrix<STATE> &ef) override;
63 
73  virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix<STATE> &ek, TPZFMatrix<STATE> &ef, TPZBndCond &bc) override;
74 
76  STATE C_Coef(STATE sol);
77 
79  STATE K_Coef(STATE sol);
80 
81  void AnalysisOfParameters(STATE sol0, STATE solL, char* filename);
82 
83  static int main();
84 
85  static TPZCompMesh * CreateMesh(REAL L, REAL Time, int p, int ndiv);
86 
87  static void DirichletT0(TPZVec<REAL> &x, TPZVec<STATE> &f);
88  public:
89 virtual int ClassId() const override;
90 
91 
92 };
93 
94 #endif
static void DirichletT0(TPZVec< REAL > &x, TPZVec< STATE > &f)
filename
Definition: stats.py:82
static STATE TCoeff
Inicializing local variable TCoeff.
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
void AnalysisOfParameters(STATE sol0, STATE solL, char *filename)
clarg::argBool bc("-bc", "binary checkpoints", false)
static STATE deltaDerivada
Inicializing loval variable deltaDerivada.
STATE K_Coef(STATE sol)
Computes coeficient K(sol) based on current solution sol.
This abstract class defines the behaviour which each derived class needs to implement.
Definition: TPZMaterial.h:39
STATE Theta(STATE Se)
Computes Theta coefficient from Se coefficient.
virtual int NStateVariables() const override
It returns the number of state variables associated with the material.
virtual int ClassId() const override
Define the class id associated with the class.
f
Definition: test.py:287
This class defines the boundary condition for TPZMaterial objects.
Definition: pzbndcond.h:29
static STATE LCoeff
Inicializing local variable LCoeff.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
It computes a contribution to the stiffness matrix and load vector at one integration point...
virtual int Dimension() const override
It returns the integrable dimension of the material.
void Set(STATE Alpha, STATE N, STATE ThetaS, STATE ThetaR, STATE Ks)
Implemenents a 1D space-time Richards&#39; equation.
STATE Se(STATE sol)
Computes Se coeficient which allows the computation of K and Theta coefficients.
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
static TPZCompMesh * CreateMesh(REAL L, REAL Time, int p, int ndiv)
STATE C_Coef(STATE sol)
Computes coeficient C(sol) based on current solution sol.
STATE fAlpha
Soil parameters.