![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <navier_stokes_cls_assemblers.h>
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 > ©_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 | |
| const std::shared_ptr< SimulationControl > | simulation_control |
| const Parameters::CLS_SurfaceTensionForce | STF_parameters |
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} \)
| dim | An integer that denotes the number of spatial dimensions |
Definition at line 354 of file navier_stokes_cls_assemblers.h.
|
inline |
Definition at line 357 of file navier_stokes_cls_assemblers.h.
References simulation_control, and STF_parameters.
|
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.
| 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.
|
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 842 of file navier_stokes_cls_assemblers.cc.
References NavierStokesScratchData< dim >::curvature_values, NavierStokesScratchData< dim >::filtered_phase_gradient_values, NavierStokesScratchData< dim >::JxW, StabilizedMethodsTensorCopyData< dim >::local_rhs, NavierStokesScratchData< dim >::n_dofs, NavierStokesScratchData< dim >::n_q_points, NavierStokesScratchData< dim >::phase_gradient_values, NavierStokesScratchData< dim >::phi_u, StabilizedMethodsTensorCopyData< dim >::strong_residual, and NavierStokesScratchData< dim >::surface_tension.
| const std::shared_ptr<SimulationControl> GLSNavierStokesCLSAssemblerSTF< dim >::simulation_control |
Definition at line 385 of file navier_stokes_cls_assemblers.h.
| const Parameters::CLS_SurfaceTensionForce GLSNavierStokesCLSAssemblerSTF< dim >::STF_parameters |
Definition at line 388 of file navier_stokes_cls_assemblers.h.