|
Reference documentation for deal.II version 9.2.0
|
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\)
\(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\)
\(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\)
\(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Go to the documentation of this file.
16 #ifndef dealii_flow_function_h
17 #define dealii_flow_function_h
76 std::vector<std::vector<double>> &values)
const override = 0;
85 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override = 0;
96 std::vector<std::vector<double>> &values)
const = 0;
103 const unsigned int component)
const override;
110 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override;
166 std::vector<std::vector<double>> &values)
const override;
170 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override;
173 std::vector<std::vector<double>> &values)
const override;
213 std::vector<std::vector<double>> &values)
const override;
217 std::vector<std::vector<
Tensor<1, dim>>> &gradients)
const override;
220 std::vector<std::vector<double>> &values)
const override;
255 std::vector<std::vector<double>> &values)
const override;
258 const std::vector<
Point<2>> & points,
259 std::vector<std::vector<
Tensor<1, 2>>> &gradients)
const override;
262 std::vector<std::vector<double>> &values)
const override;
267 Psi(
double phi)
const;
270 Psi_1(
double phi)
const;
273 Psi_2(
double phi)
const;
276 Psi_3(
double phi)
const;
279 Psi_4(
double phi)
const;
311 Kovasznay(
const double Re,
bool Stokes =
false);
317 std::vector<std::vector<double>> &values)
const override;
320 const std::vector<
Point<2>> & points,
321 std::vector<std::vector<
Tensor<1, 2>>> &gradients)
const override;
324 std::vector<std::vector<double>> &values)
const override;
virtual void vector_gradients(const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim >>> &gradients) const override=0
std::vector< std::vector< Tensor< 1, dim > > > aux_gradients
virtual void vector_value_list(const std::vector< Point< dim >> &points, std::vector< Vector< double >> &values) const override
virtual void vector_gradients(const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim >>> &gradients) const override
virtual ~Kovasznay() override=default
virtual void vector_values(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const override=0
virtual ~PoisseuilleFlow() override=default
virtual ~FlowFunction() override=default
double Psi_4(double phi) const
The 4th derivative of Psi()
std::size_t memory_consumption() const
static const double lambda
double Psi(double phi) const
The auxiliary function Psi.
double lambda() const
The value of lambda.
double Psi_3(double phi) const
The 3rd derivative of Psi()
virtual void vector_values(const std::vector< Point< 2 >> &points, std::vector< std::vector< double >> &values) const override
virtual ~StokesCosine() override=default
std::vector< std::vector< double > > aux_values
virtual void vector_values(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const override
void pressure_adjustment(double p)
virtual void vector_gradient_list(const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim >>> &gradients) const override
double Psi_1(double phi) const
The derivative of Psi()
virtual void vector_values(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const override
double viscosity
The viscosity.
virtual void vector_laplacians(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const =0
virtual void vector_gradients(const std::vector< Point< 2 >> &points, std::vector< std::vector< Tensor< 1, 2 >>> &gradients) const override
#define DEAL_II_NAMESPACE_OPEN
const double omega
The angle of the reentrant corner, set to 3*pi/2.
virtual void vector_laplacians(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const override
virtual void vector_laplacians(const std::vector< Point< 2 >> &points, std::vector< std::vector< double >> &values) const override
double reaction
The reaction parameter.
const double coslo
Cosine of lambda times omega.
virtual void vector_gradients(const std::vector< Point< dim >> &points, std::vector< std::vector< Tensor< 1, dim >>> &gradients) const override
const double lp
Auxiliary variable 1+lambda.
Kovasznay(const double Re, bool Stokes=false)
void set_parameters(const double viscosity, const double reaction)
StokesLSingularity()
Constructor setting up some data.
virtual double value(const Point< dim > &points, const unsigned int component) const override
StokesCosine(const double viscosity=1., const double reaction=0.)
virtual void vector_laplacians(const std::vector< Point< dim >> &points, std::vector< std::vector< double >> &values) const override
double Psi_2(double phi) const
The 2nd derivative of Psi()
#define DEAL_II_NAMESPACE_CLOSE
virtual void vector_laplacian_list(const std::vector< Point< dim >> &points, std::vector< Vector< double >> &values) const override
const double lm
Auxiliary variable 1-lambda.
virtual void vector_gradients(const std::vector< Point< 2 >> &points, std::vector< std::vector< Tensor< 1, 2 >>> &gradients) const override
virtual void vector_value(const Point< dim > &points, Vector< double > &value) const override
virtual void vector_values(const std::vector< Point< 2 >> &points, std::vector< std::vector< double >> &values) const override
virtual void vector_laplacians(const std::vector< Point< 2 >> &points, std::vector< std::vector< double >> &values) const override