Functions::Kovasznay Class Reference
[Functions]

Inheritance diagram for Functions::Kovasznay:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Kovasznay (const double Re, bool Stokes=false)
virtual ~Kovasznay ()
virtual void vector_values (const std::vector< Point< 2 > > &points, std::vector< std::vector< double > > &values) const
virtual void vector_gradients (const std::vector< Point< 2 > > &points, std::vector< std::vector< Tensor< 1, 2 > > > &gradients) const
virtual void vector_laplacians (const std::vector< Point< 2 > > &points, std::vector< std::vector< double > > &values) const
double lambda () const
 The value of lambda.

Private Attributes

const double Reynolds
double lbda
double p_average
const bool stokes

Detailed Description

Flow solution in 2D by Kovasznay (1947).

This function is valid on the half plane right of the line x=1/2.

Author:
Guido Kanschat, 2007

Constructor & Destructor Documentation

Functions::Kovasznay::Kovasznay ( const double  Re,
bool  Stokes = false 
)

Construct an object for the give Reynolds number Re. If the parameter Stokes is true, the right hand side of the momentum equation returned by vector_laplacians() contains the nonlinearity, such that the Kovasznay solution can be obtained as the solution to a Stokes problem.

virtual Functions::Kovasznay::~Kovasznay (  )  [virtual]

Member Function Documentation

virtual void Functions::Kovasznay::vector_values ( const std::vector< Point< 2 > > &  points,
std::vector< std::vector< double > > &  values 
) const [virtual]
virtual void Functions::Kovasznay::vector_gradients ( const std::vector< Point< 2 > > &  points,
std::vector< std::vector< Tensor< 1, 2 > > > &  gradients 
) const [virtual]
virtual void Functions::Kovasznay::vector_laplacians ( const std::vector< Point< 2 > > &  points,
std::vector< std::vector< double > > &  values 
) const [virtual]
double Functions::Kovasznay::lambda (  )  const

The value of lambda.


Member Data Documentation


The documentation for this class was generated from the following file:

deal.II documentation generated on Mon Nov 23 22:58:18 2009 by doxygen 1.6.1