![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <navier_stokes_assemblers.h>
Public Member Functions | |
| PhaseChangeDarcyAssembly (const Parameters::PhaseChange phase_change_parameters) | |
| 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 |
Private Attributes | |
| const Parameters::PhaseChange | phase_change_parameters |
Class that assembles a phase change Darcy forcing term. This term adds \(-\beta_D \mathbf{u} \) to the right hand-side of the Navier-Stokes equations to prohibit the motion of a material. In the phase change model, the value of the \( \beta_D \) coefficient depends on the temperature field. Generally, this is used to prohibit fluid motion in the solid phase within phase change problem. This generally leads to a better conditioning of the linear system than increasing the viscosity of the solid phase.
| dim | An integer that denotes the number of spatial dimensions |
Definition at line 773 of file navier_stokes_assemblers.h.
|
inline |
Definition at line 776 of file navier_stokes_assemblers.h.
References phase_change_parameters.
|
overridevirtual |
assemble_matrix Assembles the matrix of: \(-\beta_D \mathbf{u} \)
| scratch_data | (see base class) |
| copy_data | (see base class) |
Implements PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >.
Definition at line 1869 of file navier_stokes_assemblers.cc.
References NavierStokesScratchData< dim >::JxW, StabilizedMethodsTensorCopyData< dim >::local_matrix, NavierStokesScratchData< dim >::n_dofs, NavierStokesScratchData< dim >::n_q_points, phase_change_parameters, NavierStokesScratchData< dim >::phi_u, StabilizedMethodsTensorCopyData< dim >::strong_jacobian, StabilizedMethodsTensorCopyData< dim >::strong_residual, NavierStokesScratchData< dim >::temperature_values, and NavierStokesScratchData< dim >::velocity_values.
|
overridevirtual |
assemble_rhs Assembles the weak form of: \(-\beta_D \mathbf{u} \)
| scratch_data | (see base class) |
| copy_data | (see base class) |
Implements PhysicsAssemblerBase< NavierStokesScratchData< dim >, StabilizedMethodsTensorCopyData< dim > >.
Definition at line 1927 of file navier_stokes_assemblers.cc.
References NavierStokesScratchData< dim >::JxW, StabilizedMethodsTensorCopyData< dim >::local_rhs, NavierStokesScratchData< dim >::n_dofs, NavierStokesScratchData< dim >::n_q_points, phase_change_parameters, NavierStokesScratchData< dim >::phi_u, StabilizedMethodsTensorCopyData< dim >::strong_residual, NavierStokesScratchData< dim >::temperature_values, and NavierStokesScratchData< dim >::velocity_values.
|
private |
Definition at line 806 of file navier_stokes_assemblers.h.