Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
FluidDynamicsPressureFunctionDefined< dim > Class Template Reference

#include <fluid_dynamics_boundary_conditions.h>

Inheritance diagram for FluidDynamicsPressureFunctionDefined< dim >:
[legend]

Public Member Functions

 FluidDynamicsPressureFunctionDefined (Functions::ParsedFunction< dim > *p_p)
double value (const Point< dim > &point, unsigned int component) const override

Private Attributes

Functions::ParsedFunction< dim > * p

Detailed Description

template<int dim>
class FluidDynamicsPressureFunctionDefined< dim >

This class implements a pressure boundary condition for the Navier-Stokes equations.

Definition at line 238 of file fluid_dynamics_boundary_conditions.h.

Constructor & Destructor Documentation

◆ FluidDynamicsPressureFunctionDefined()

template<int dim>
FluidDynamicsPressureFunctionDefined< dim >::FluidDynamicsPressureFunctionDefined ( Functions::ParsedFunction< dim > * p_p)
inline

Initialize the fluid dynamics pressure boundary function.

Parameters
[in]p_pThe parsed function defining the pressure.

Definition at line 248 of file fluid_dynamics_boundary_conditions.h.

References p.

Member Function Documentation

◆ value()

template<int dim>
double FluidDynamicsPressureFunctionDefined< dim >::value ( const Point< dim > & point,
unsigned int component ) const
override

Calculates the value of a Function-type fluid dynamics equations.

Parameters
[in]pointA point (generally a gauss point)
[in]componentThe vector component of the boundary condition (0-x, 1-y and 2-z)

Definition at line 326 of file fluid_dynamics_boundary_conditions.cc.

References p.

Member Data Documentation

◆ p

template<int dim>
Functions::ParsedFunction<dim>* FluidDynamicsPressureFunctionDefined< dim >::p
private

Definition at line 240 of file fluid_dynamics_boundary_conditions.h.


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