include/meltpooldg/fluid_structure_interaction/stokes_law.hpp Source File

Developer Documentation: include/meltpooldg/fluid_structure_interaction/stokes_law.hpp Source File
Developer Documentation
stokes_law.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <deal.II/base/point.h>
4#include <deal.II/base/vectorization.h>
5
6#include <deal.II/lac/la_parallel_vector.h>
7
8#include <deal.II/matrix_free/matrix_free.h>
9
14
15namespace MeltPoolDG
16{
17 template <int dim, typename number, typename ObstacleType>
19 {
20 using VectorType = dealii::LinearAlgebra::distributed::Vector<number>;
21
31 const number dynamic_viscosity);
32
46 void
48
49 private:
52
55
57 const number dynamic_viscosity;
58 };
59
69 template <int dim, typename number, typename ObstacleType>
71 {
73 using VectorType = dealii::LinearAlgebra::distributed::Vector<number>;
74
75 public:
86 const number dynamic_viscosity);
87
102 value(number time_step_size,
103 unsigned int cell_batch_id,
104 const dealii::Point<dim, dealii::VectorizedArray<number>> &q_point,
105 const ConservedVariablesType &w_q) override;
106
107 private:
110
112 const number dynamic_viscosity;
113
117
120 };
121
122} // namespace MeltPoolDG
Definition obstacle_field.hpp:32
dealii::Tensor< 1, n_conserved_variables< dim, n_species >, VectorizedArrayType > ConservedVariablesType
Definition data_types.hpp:35
Interface for a general preconditioner.
Definition boundary_condition_functions.hpp:17
An abstract interface for defining external forces acting on the fluid that must be evaluated and inc...
Definition utils.hpp:117
Definition matrix_free_util.hpp:21
Definition stokes_law.hpp:71
ObstacleField< dim, number, ObstacleType > & obstacle_handler
Reference to the obstacle handler managing obstacles in the domain.
Definition stokes_law.hpp:119
dealii::LinearAlgebra::distributed::Vector< number > VectorType
Definition stokes_law.hpp:73
CompressibleFlow::ConservedVariablesType< dim, number > ConservedVariablesType
Definition stokes_law.hpp:72
const MatrixFreeContext< dim, number > matrix_free
Definition stokes_law.hpp:116
ConservedVariablesType value(number time_step_size, unsigned int cell_batch_id, const dealii::Point< dim, dealii::VectorizedArray< number > > &q_point, const ConservedVariablesType &w_q) override
Definition stokes_law.cpp:87
const number dynamic_viscosity
Dynamic viscosity of the fluid.
Definition stokes_law.hpp:112
const VectorType & solution
Solution of the flow field.
Definition stokes_law.hpp:109
const number dynamic_viscosity
Dynamic viscosity of the fluid.
Definition stokes_law.hpp:57
const VectorType & solution
Solution of the flow field.
Definition stokes_law.hpp:54
dealii::LinearAlgebra::distributed::Vector< number > VectorType
Definition stokes_law.hpp:20
const MatrixFreeContext< dim, number > matrix_free
Matrix free object and corresponding relevant indices used by the compressible flow solver.
Definition stokes_law.hpp:51
void add_load_to_obstacles(ObstacleField< dim, number, ObstacleType > &obstacle_field) const
Definition stokes_law.cpp:40