Skip to content
Snippets Groups Projects
Commit cb4b857c authored by Hörl, Maximilian's avatar Hörl, Maximilian
Browse files

modify problem 1

parent 4e6b588b
No related branches found
No related tags found
No related merge requests found
...@@ -37,14 +37,52 @@ public: ...@@ -37,14 +37,52 @@ public:
//aperture d of the fracture at position pos //aperture d of the fracture at position pos
Scalar aperture (const Coordinate& pos) const Scalar aperture (const Coordinate& pos) const
{ {
return d_ * (pos[1] + 0.01);
return d_; return d_;
} }
//interface source term at position pos
Scalar qInterface (const Coordinate& pos) const
{
const Scalar de = aperture(pos);
const Scalar dPrime2 = gradAperture(pos) * gradAperture(pos);
const Scalar dPrimePrime = 0.0;
return (-de * dPrimePrime - dPrime2) * de;
return Scalar(0.0);
}
//tangential gradient of the aperture d of the fracture at position pos
Coordinate gradAperture (const Coordinate& pos) const
{
Coordinate gradD(0.0);
gradD[1] = d_;
return gradD;
return Coordinate(0.0);
}
//tangential permeability per aperture tensor of the interface at position pos
Matrix Kparallel (const Coordinate& pos) const
{
Matrix permeability(0.0);
for (int i = 0; i < dim; i++)
{
permeability[i][i] = 1.0 * aperture(pos);
}
//return identity matrix
return permeability;
}
//returns the recommended quadrature order to compute an integral //returns the recommended quadrature order to compute an integral
//over x * boundary(x) //over x * boundary(x)
int quadratureOrderBoundary () const int quadratureOrderBoundary () const
{ {
return 2; return 10;//2;
} }
private: private:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment