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

#include <navier_stokes_cls_assemblers.h>

Inheritance diagram for GLSNavierStokesCLSAssemblerSTF< dim >:
[legend]

Public Member Functions

 GLSNavierStokesCLSAssemblerSTF (const std::shared_ptr< SimulationControl > &p_simulation_control, const SimulationParameters< dim > &nsparam)
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
const Parameters::CLS_SurfaceTensionForce STF_parameters

Detailed Description

template<int dim>
class GLSNavierStokesCLSAssemblerSTF< dim >

Assembles the Surface Tension Force (STF) for the Navier-Stokes equations according to the following equation:

\(\mathbf{F_{CSV}}=\sigma k \nabla \phi \frac{2 \rho}{\rho_0 + \rho_1} \)

Template Parameters
dimAn integer that denotes the number of spatial dimensions

Definition at line 354 of file navier_stokes_cls_assemblers.h.

Constructor & Destructor Documentation

◆ GLSNavierStokesCLSAssemblerSTF()

template<int dim>
GLSNavierStokesCLSAssemblerSTF< dim >::GLSNavierStokesCLSAssemblerSTF ( const std::shared_ptr< SimulationControl > & p_simulation_control,
const SimulationParameters< dim > & nsparam )
inline

Definition at line 357 of file navier_stokes_cls_assemblers.h.

References simulation_control, and STF_parameters.

Member Function Documentation

◆ assemble_matrix()

template<int dim>
void GLSNavierStokesCLSAssemblerSTF< dim >::assemble_matrix ( const NavierStokesScratchData< dim > & scratch_data,
StabilizedMethodsTensorCopyData< dim > & copy_data )
overridevirtual

assemble_matrix Adds the surface tension force to the strong residual used by the stabilization terms of the Jacobian. The force does not depend on the velocity or the pressure, so nothing is added to the local matrix.

Parameters
scratch_data(see base class)
copy_data(see base class)

Implements PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >.

Definition at line 812 of file navier_stokes_cls_assemblers.cc.

References NavierStokesScratchData< dim >::curvature_values, NavierStokesScratchData< dim >::filtered_phase_gradient_values, NavierStokesScratchData< dim >::n_q_points, NavierStokesScratchData< dim >::phase_gradient_values, StabilizedMethodsTensorCopyData< dim >::strong_residual, and NavierStokesScratchData< dim >::surface_tension.

◆ assemble_rhs()

Member Data Documentation

◆ simulation_control

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

Definition at line 385 of file navier_stokes_cls_assemblers.h.

◆ STF_parameters

template<int dim>
const Parameters::CLS_SurfaceTensionForce GLSNavierStokesCLSAssemblerSTF< dim >::STF_parameters

Definition at line 388 of file navier_stokes_cls_assemblers.h.


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