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

#include <navier_stokes_assemblers.h>

Inheritance diagram for GLSNavierStokesAssemblerSDIRK< dim >:
[legend]

Public Member Functions

 GLSNavierStokesAssemblerSDIRK (const std::shared_ptr< SimulationControl > &simulation_control)
virtual void assemble_matrix (const NavierStokesScratchData< dim > &scratch_data, StabilizedMethodsTensorCopyData< dim > &copy_data) override
virtual void assemble_rhs (const NavierStokesScratchData< dim > &scratch_data, StabilizedMethodsTensorCopyData< dim > &copy_data) override
Public Member Functions inherited from PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >
virtual ~PhysicsAssemblerBase ()=default

Public Attributes

const std::shared_ptr< SimulationControl > simulation_control

Detailed Description

template<int dim>
class GLSNavierStokesAssemblerSDIRK< dim >

Class that assembles the transient term arising from SDIRK time integration for the Navier Stokes equations. For a given stage.

\[ i \]

, the following expression is assembled and treated implicitly:

\[ \frac{\mathbf{u}_i^* - \mathbf{u}_n}{h a_{ii}} - \sum_{j=0}^{i-1} \frac{a_{ij}}{a_{ii}} \mathbf{k}_j \]

where:

  • \[ \mathbf{u}_i^* \]

    is the current stage solution,
  • \[ \mathbf{u}_n \]

    is the solution at the previous time step,
  • \[ \mathbf{k}_j \]

    coefficients are the solution increments at the previous stages,
  • \[ h \]

    is the time step size,
  • \[ a_{ij} \), \( a_{ii} \]

    are coefficients from the SDIRK Butcher tableau. These coefficients are given data by the method and constant for the entire simulation.
Template Parameters
dimAn integer that denotes the number of spatial dimensions

Definition at line 335 of file navier_stokes_assemblers.h.

Constructor & Destructor Documentation

◆ GLSNavierStokesAssemblerSDIRK()

template<int dim>
GLSNavierStokesAssemblerSDIRK< dim >::GLSNavierStokesAssemblerSDIRK ( const std::shared_ptr< SimulationControl > & simulation_control)
inline

Definition at line 338 of file navier_stokes_assemblers.h.

References simulation_control.

Member Function Documentation

◆ assemble_matrix()

◆ assemble_rhs()

Member Data Documentation

◆ simulation_control

template<int dim>
const std::shared_ptr<SimulationControl> GLSNavierStokesAssemblerSDIRK< dim >::simulation_control

Definition at line 362 of file navier_stokes_assemblers.h.


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