30 #include <lifev/core/LifeV.hpp> 32 #include <lifev/navier_stokes/function/KimMoin.hpp> 36 const Real Pi = 3.14159265358979323846264338328;
44 return -std::cos (2 *
Pi *
a * x) * std::sin (2 *
Pi *
a * y) * e;
46 return std::sin (2 *
Pi *
a * x) * std::cos (2 *
Pi *
a * y) * e;
57 return - (std::cos (4 *
Pi *
a * x) + std::cos (4 *
Pi *
a * y) ) * e2 / 4;
74 return 2 *
Pi * e *
a * std::sin (2 *
Pi *
a * x) * std::sin (2 *
Pi *
a * y);
76 return 2 *
Pi * e *
a * std::cos (2 *
Pi *
a * x) * std::cos (2 *
Pi *
a * y);
84 return -2 *
Pi * e *
a * std::cos (2 *
Pi *
a * x) * std::cos (2 *
Pi *
a * y);
86 return -2 *
Pi * e *
a * std::sin (2 *
Pi *
a * x) * std::sin (2 *
Pi *
a * y);
169 std::cout <<
"strange point: x=" << x <<
" y=" << y <<
" z=" << z
173 for (
UInt k = 0; k < 2; k++)
179 for (
UInt k = 0; k < 2; k++)
257 mu = dataFile
( "fluid/physics/viscosity", 1.
);
258 rho = dataFile
( "fluid/physics/density", 1.
);
259 flag_strain = dataFile
( "fluid/space_discretization/stiff_strain", false );
261 a = dataFile
( "fluid/problem/a", 1.
);
static Real grad_u(const UInt &icoor, const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
double operator()(const char *VarName, const double &Default) const
static Real x0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real fNeumann(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real fShearStress(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real xexact(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real p0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real normalVector(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real f(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
void updateInverseJacobian(const UInt &iQuadPt)
static Real uderexact(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real u0(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real pexact(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
static Real fWallShearStress(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
double Real
Generic real data.
static void setParamsFromGetPot(const GetPot &dataFile)
const UInt nDimensions(NDIM)
bool operator()(const char *VarName, bool Default) const
static Real uexact(const Real &t, const Real &x, const Real &y, const Real &z, const ID &i)
uint32_type UInt
generic unsigned integer (used mainly for addressing)