![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <navier_stokes_assemblers.h>
Public Member Functions | |
| GLSNavierStokesAssemblerSRF (Parameters::VelocitySource velocity_sources) | |
| virtual void | assemble_matrix (const NavierStokesScratchData< dim > &scratch_data, StabilizedMethodsTensorCopyData< dim > ©_data) override |
| virtual void | assemble_rhs (const NavierStokesScratchData< dim > &scratch_data, StabilizedMethodsTensorCopyData< dim > ©_data) override |
| Public Member Functions inherited from PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > > | |
| virtual | ~PhysicsAssemblerBase ()=default |
Public Attributes | |
| Parameters::VelocitySource | velocity_sources |
Class that assembles the coriolis and the centrifugal if a simulation is carried out in a rotating frame of reference according to the following term: \(2\mathbf{\omega} \times \mathbf{u} + \mathbf{\omega}\times (\mathbf{\omega} \times \mathbf{r})\) Where $\mathbf{\omega}$ is the rotation vector of the frame of reference and $\mathbf{r}$ is the position vector (e.g. a vector between a point on the rotation axis and the gauss point) By default, it is assumed that the rotation vector passes through the point (0,0) in 2D or (0,0,0) in 3D.
| dim | An integer that denotes the number of spatial dimensions |
Definition at line 147 of file navier_stokes_assemblers.h.
|
inline |
Definition at line 150 of file navier_stokes_assemblers.h.
References velocity_sources.
|
overridevirtual |
assemble_matrix Assembles the matrix
| scratch_data | (see base class) |
| copy_data | (see base class) |
Implements PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >.
Definition at line 971 of file navier_stokes_assemblers.cc.
References NavierStokesScratchData< dim >::JxW, StabilizedMethodsTensorCopyData< dim >::local_matrix, NavierStokesScratchData< dim >::n_dofs, NavierStokesScratchData< dim >::n_q_points, NavierStokesScratchData< dim >::phi_u, NavierStokesScratchData< dim >::quadrature_points, StabilizedMethodsTensorCopyData< dim >::strong_jacobian, StabilizedMethodsTensorCopyData< dim >::strong_residual, velocity, velocity_sources, and NavierStokesScratchData< dim >::velocity_values.
|
overridevirtual |
assemble_rhs Assembles the rhs
| scratch_data | (see base class) |
| copy_data | (see base class) |
Implements PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >.
Definition at line 1058 of file navier_stokes_assemblers.cc.
References NavierStokesScratchData< dim >::JxW, StabilizedMethodsTensorCopyData< dim >::local_rhs, NavierStokesScratchData< dim >::n_dofs, NavierStokesScratchData< dim >::n_q_points, NavierStokesScratchData< dim >::phi_u, NavierStokesScratchData< dim >::quadrature_points, StabilizedMethodsTensorCopyData< dim >::strong_residual, velocity, velocity_sources, and NavierStokesScratchData< dim >::velocity_values.
| Parameters::VelocitySource GLSNavierStokesAssemblerSRF< dim >::velocity_sources |
Definition at line 172 of file navier_stokes_assemblers.h.