Lethe Open-Source Library version 1.2.0
Developer Guide
Loading...
Searching...
No Matches
NavierStokesBase< dim, VectorType, DofsType > Class Template Referenceabstract

#include <navier_stokes_base.h>

Inheritance diagram for NavierStokesBase< dim, VectorType, DofsType >:
[legend]

Classes

struct  SDIRKVectors

Protected Member Functions

 NavierStokesBase (SimulationParameters< dim > &nsparam, const FluidDynamicsFormulation fluid_dynamics_formulation=FluidDynamicsFormulation::standard)
virtual ~NavierStokesBase ()=default
virtual VectorType & get_evaluation_point () override
virtual VectorType & get_local_evaluation_point () override
virtual VectorType & get_newton_update () override
virtual VectorType & get_present_solution () override
virtual VectorType & get_system_rhs () override
virtual AffineConstraints< double > & get_nonzero_constraints () override
virtual void output_newton_update_norms () override
double get_residual_rescale_metric () const override
void finish_simulation ()
virtual void postprocess (bool first_iteration)
virtual void setup_dofs ()
virtual void set_initial_condition (const Parameters::FluidDynamicsInitialConditionType initial_condition_type, const bool restart=false)
virtual void finish_time_step ()
virtual void percolate_time_vectors_fd ()
void finish_simulation_fd ()
virtual void postprocess_fd (bool first_iteration)
virtual void setup_dofs_fd ()=0
virtual void update_mortar_configuration ()
virtual void update_multiphysics_time_average_solution ()=0
virtual void update_solutions_for_multiphysics ()
virtual void update_solutions_for_fluid_dynamics ()
virtual void set_initial_condition_fd (Parameters::FluidDynamicsInitialConditionType initial_condition_type, bool restart=false)=0
void postprocessing_forces (const VectorType &evaluation_point)
void postprocessing_torques (const VectorType &evaluation_point)
virtual void dynamic_flow_control ()
virtual void multi_stage_preresolution (unsigned int stage, Parameters::SimulationControl::TimeSteppingMethod method)
virtual void multi_stage_postresolution (unsigned int stage, Parameters::SimulationControl::TimeSteppingMethod method, double time_step)
virtual void update_multi_stage_solution (double time_step)
virtual void set_specified_fluid_dynamics_solution ()
virtual void iterate ()
virtual void enable_dynamic_zero_constraints_fd ()
void box_refine_mesh (const bool restart)
virtual void refine_mesh ()
void refine_mesh_adaptive ()
void refine_mesh_uniform ()
void transfer_solution (SolutionTransfer< dim, VectorType > &solution_transfer, std::vector< SolutionTransfer< dim, VectorType > > &previous_solutions_transfer)
virtual void read_checkpoint ()
bool average_velocities_are_enabled () const
void restore_average_velocities_after_checkpoint ()
virtual void set_solution_from_checkpoint (const std::string &checkpoint_file_prefix)
void set_nodal_values ()
void define_non_zero_constraints ()
void define_zero_constraints ()
void reinit_mortar_operators ()
std::shared_ptr< Mapping< dim > > get_mapping ()
void rotate_rotor_mapping (const bool is_first)
void connect_mortar_weight_signals ()
void update_boundary_conditions ()
virtual void update_forcing_and_boundary_conditions ()
bool check_existance_of_bc (BoundaryConditions::FluidDynamicsBoundaryType bc)
void make_solid_domain (const DoFHandler< dim > &dof_handler, const bool non_zero_constraints, AffineConstraints< double > &constraints)
bool cell_in_constraining_domain (const typename DoFHandler< dim >::active_cell_iterator &cell, const Point< dim > &plane_point, const Tensor< 1, dim > &plane_normal_vector)
void get_cell_temperature_values (const typename DoFHandler< dim >::active_cell_iterator &cell, const DoFHandler< dim > *dof_handler_ht, const GlobalVectorType &temperature_solution, std::vector< double > &local_temperature_values)
void get_cell_filtered_phase_indicator_values (const typename DoFHandler< dim >::active_cell_iterator &cell, const DoFHandler< dim > *dof_handler_cls, const GlobalVectorType &filtered_phase_indicator_solution, std::vector< double > &local_filtered_phase_indicator_values)
void identify_cell_and_constrain_velocity (const std::vector< types::global_dof_index > &local_dof_indices, const std::vector< double > &local_temperature_values, StasisConstraintWithTemperature &stasis_constraint_struct)
void constrain_stasis_with_temperature (const DoFHandler< dim > *dof_handler_ht)
void constrain_stasis_with_temperature_cls (const DoFHandler< dim > *dof_handler_cls, const DoFHandler< dim > *dof_handler_ht)
virtual std::vector< OutputStructTableHandler > gather_tables ()
virtual void write_checkpoint ()
virtual std::vector< OutputStruct< dim, VectorType > > gather_output_hook ()
void gather_output_results (const VectorType &solution, std::vector< OutputStruct< dim, VectorType > > &solution_output_structs)
void write_output_results (const VectorType &solution)
void write_output_forces ()
void write_output_torques ()
void rescale_pressure_dofs_in_newton_update ()
VectorType init_temporary_vector ()
void verify_consistency_of_boundary_conditions ()

Protected Attributes

DofsType locally_owned_dofs
DofsType locally_relevant_dofs
MPI_Comm mpi_communicator
const unsigned int n_mpi_processes
const unsigned int this_mpi_process
std::shared_ptr< parallel::DistributedTriangulationBase< dim > > triangulation
std::shared_ptr< DoFHandler< dim > > dof_handler
std::shared_ptr< FESystem< dim > > fe
TimerOutput computing_timer
SimulationParameters< dim > simulation_parameters
PVDHandler pvdhandler
PVDHandler pvdhandler_boundary
Function< dim > * exact_solution
std::shared_ptr< Function< dim > > forcing_function
FlowControl< dim > flow_control
AffineConstraints< double > zero_constraints
AffineConstraints< double > nonzero_constraints
bool use_manifold_for_normal
VectorType evaluation_point
VectorType local_evaluation_point
VectorType newton_update
std::shared_ptr< VectorType > present_solution
VectorType system_rhs
std::shared_ptr< std::vector< VectorType > > previous_solutions
SDIRKVectors sdirk_vectors
const unsigned int velocity_fem_degree
const unsigned int pressure_fem_degree
unsigned int number_quadrature_points
std::shared_ptr< Mapping< dim > > mapping
std::shared_ptr< Quadrature< dim > > cell_quadrature
std::shared_ptr< Quadrature< dim - 1 > > face_quadrature
std::shared_ptr< MortarManagerBase< dim > > mortar_manager
std::shared_ptr< CouplingOperator< dim, double > > mortar_coupling_operator
std::shared_ptr< NavierStokesCouplingEvaluationSIPG< dim, double > > mortar_coupling_evaluator
std::shared_ptr< MappingQCache< dim > > mapping_cache
std::vector< std::shared_ptr< NavierStokesAssemblerBase< dim > > > assemblers
std::shared_ptr< MultiphysicsInterface< dim > > multiphysics
std::shared_ptr< SimulationControl > simulation_control
TableHandler enstrophy_table
TableHandler pressure_power_table
TableHandler viscous_dissipation_table
TableHandler kinetic_energy_table
TableHandler apparent_viscosity_table
TableHandler pressure_drop_table
TableHandler flow_rate_table
std::shared_ptr< AverageVelocities< dim, VectorType, DofsType > > average_velocities
VectorType average_solution
MeshController mesh_controller
ConvergenceTable error_table
std::vector< std::map< types::boundary_id, Tensor< 1, dim > > > forces_on_boundaries
std::map< types::boundary_id, TableHandler > forces_tables
std::map< types::boundary_id, TableHandler > torques_tables
std::shared_ptr< FEValues< dim > > fe_values_temperature
std::shared_ptr< FEValues< dim > > fe_values_cls
std::vector< StasisConstraintWithTemperature > stasis_constraint_structs
AffineConstraints< double > dynamic_zero_constraints

Additional Inherited Members

Public Member Functions inherited from PhysicsSolver< VectorType >
 PhysicsSolver (const Parameters::NonLinearSolver non_linear_solver_parameters)
 PhysicsSolver ()
virtual ~PhysicsSolver ()
virtual void assemble_system_matrix ()=0
virtual void assemble_system_rhs ()=0
virtual void setup_preconditioner ()=0
virtual void solve_linear_system ()=0
void solve_governing_system ()
virtual void apply_constraints ()
virtual double get_current_residual ()
virtual bool allow_skip_linear_solve_when_residual_is_below_tolerance () const
unsigned int get_current_newton_iteration () const
Public Attributes inherited from PhysicsSolver< VectorType >
ConditionalOStream pcout
Parameters::SimulationControl::TimeSteppingMethod time_stepping_method

Detailed Description

template<int dim, typename VectorType, typename DofsType>
class NavierStokesBase< dim, VectorType, DofsType >

A base class for all the Navier-Stokes equation This class regroups common facilities that are shared by all the Navier-Stokes implementations to reduce code multiplicity

Template Parameters
dimAn integer that denotes the dimension of the space in which the flow is solved
VectorTypeThe Vector type used for the solvers
DofsTypethe type of dof storage indices
Author
Bruno Blais, 2019

Definition at line 120 of file navier_stokes_base.h.

Constructor & Destructor Documentation

◆ NavierStokesBase()

template<int dim, typename VectorType, typename DofsType>
NavierStokesBase< dim, VectorType, DofsType >::NavierStokesBase ( SimulationParameters< dim > & nsparam,
const FluidDynamicsFormulation fluid_dynamics_formulation = FluidDynamicsFormulation::standard )
protected

Construct the Navier-Stokes base and the multiphysics interface.

Parameters
[in]nsparamRelevant parameters for the solver.
[in]fluid_dynamics_formulationThe formulation of the fluid dynamics equations. Whether the solver solves the volume-averaged Navier-Stokes (VANS) equations or the standard Navier-Stokes equations.

Definition at line 49 of file navier_stokes_base.cc.

References computing_timer, dof_handler, flow_control, fluid_dynamics, mesh_controller, mpi_communicator, n_mpi_processes, number_quadrature_points, PhysicsSolver< VectorType >::pcout, PhysicsSolver< VectorType >::physics_solving_strategy, PhysicsSolver< VectorType >::PhysicsSolver(), pressure_fem_degree, simulation_parameters, this_mpi_process, and velocity_fem_degree.

◆ ~NavierStokesBase()

template<int dim, typename VectorType, typename DofsType>
virtual NavierStokesBase< dim, VectorType, DofsType >::~NavierStokesBase ( )
protectedvirtualdefault

Member Function Documentation

◆ average_velocities_are_enabled()

template<int dim, typename VectorType, typename DofsType>
bool NavierStokesBase< dim, VectorType, DofsType >::average_velocities_are_enabled ( ) const
inlineprotected

Indicate whether the time-averaged velocity object holds vectors that must be preserved. The averaging is used either when it is explicitly requested through the post-processing parameters or when the initial condition is an average velocity profile, which is read back from a checkpoint. This condition must be identical everywhere the average velocity vectors are serialized, deserialized or transferred to a new mesh partition, otherwise the accumulated sums are silently lost.

Returns
Whether the average velocity vectors must be preserved.

Definition at line 497 of file navier_stokes_base.h.

References simulation_parameters.

◆ box_refine_mesh()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::box_refine_mesh ( const bool restart)
protected

Allow the initial refinement of all cells of the principal mesh that are partially contained in one of the cells of the box refinement mesh given in the parameter.

Parameters
restartIndicator if the simulation is being restarted or not.

Definition at line 828 of file navier_stokes_base.cc.

◆ cell_in_constraining_domain()

template<int dim, typename VectorType, typename DofsType>
bool NavierStokesBase< dim, VectorType, DofsType >::cell_in_constraining_domain ( const typename DoFHandler< dim >::active_cell_iterator & cell,
const Point< dim > & plane_point,
const Tensor< 1, dim > & plane_normal_vector )
inlineprotected

Checks and identifies if the cell is located in the constraining domain defined by a plane with its outward-pointing normal vector. The check is done through a scalar product between a vector formed by a vertex of the cell to @plane_point and @plane_normal_vector. If one of the vertices of the cell results in a negative scalar product result, the cell is excluded from the constrained domain.

Parameters
[in]cellPointer to an active cell of the fluid dynamics DoFHandler.
[in]plane_pointCoordinates of a point on the restriction plane for the stasis constraint application domain.
[in]plane_normal_vectorOutward-pointing normal vector to define the restriction plane for the stasis constraint application domain.
Returns
Boolean indicating if the cell is in the domain of interest (true) or not (false).

Definition at line 668 of file navier_stokes_base.h.

◆ check_existance_of_bc()

template<int dim, typename VectorType, typename DofsType>
bool NavierStokesBase< dim, VectorType, DofsType >::check_existance_of_bc ( BoundaryConditions::FluidDynamicsBoundaryType bc)
protected

Check if a specifique boundary condition exist.

Parameters
bc,theboundary type that we want to check if it exists

Definition at line 270 of file navier_stokes_base.cc.

References simulation_parameters.

◆ connect_mortar_weight_signals()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::connect_mortar_weight_signals ( )
protected

Connect weight signals for load balancing of mortar cells. Cells touching mortar boundaries can be assigned assigned higher weight for better load distribution across processors.

Definition at line 3277 of file navier_stokes_base.cc.

References simulation_parameters, and triangulation.

◆ constrain_stasis_with_temperature()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::constrain_stasis_with_temperature ( const DoFHandler< dim > * dof_handler_ht)
protected

Constrain a fluid's subdomains according to the temperature field to null velocity and pressure fields to model solid subdomains.

Note
Its equivalent for Conservative Level Set (CLS) simulations is NavierStokesBase<dim, VectorType, DofsType>::constrain_solid_domain_cls.
Parameters
[in]dof_handler_htDoFHandler of the Heat Transfer (HT) auxiliary physic.

Definition at line 2369 of file navier_stokes_base.cc.

References cell_in_constraining_domain(), cell_quadrature, dof_handler, fe, get_cell_temperature_values(), heat_transfer, identify_cell_and_constrain_velocity(), multiphysics, simulation_parameters, and stasis_constraint_structs.

◆ constrain_stasis_with_temperature_cls()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::constrain_stasis_with_temperature_cls ( const DoFHandler< dim > * dof_handler_cls,
const DoFHandler< dim > * dof_handler_ht )
protected

Constrain fluids' subdomains according to the temperature field to null velocity and pressure fields to model solid subdomains in Volume of Fluid (CLS) simulations.

Parameters
[in]dof_handler_clsDoFHandler of the CLS auxiliary physic.
[in]dof_handler_htDoFHandler of the Heat Transfer (HT) auxiliary physic.

Definition at line 2422 of file navier_stokes_base.cc.

References cell_in_constraining_domain(), cell_quadrature, CLS, dof_handler, fe, get_cell_filtered_phase_indicator_values(), get_cell_temperature_values(), heat_transfer, identify_cell_and_constrain_velocity(), multiphysics, simulation_parameters, and stasis_constraint_structs.

◆ define_non_zero_constraints()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::define_non_zero_constraints ( )
protected

◆ define_zero_constraints()

◆ dynamic_flow_control()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::dynamic_flow_control ( )
protectedvirtual

If set to enable, dynamic_flow_control allows to control the flow by executing space-average velocity and beta coefficient force calculation at each time step.

Reimplemented in CFDDEMMatrixFree< dim, PropertiesIndex >, and CFDDEMSolver< dim, PropertiesIndex >.

Definition at line 231 of file navier_stokes_base.cc.

References announce_string(), calculate_average_velocity(), dof_handler, flow_control, PhysicsSolver< VectorType >::pcout, present_solution, simulation_control, simulation_parameters, Parameters::SimulationControl::steady, and Parameters::verbose.

◆ enable_dynamic_zero_constraints_fd()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::enable_dynamic_zero_constraints_fd ( )
protectedvirtual

Enable the use of dynamic zero constraints by initializing required FEValues objects.

Note
At the moment, the only solution-dependent dynamic constraint depends on the temperature field obtained from the Heat Transfer (HT) auxiliary physic.

Definition at line 762 of file navier_stokes_base.cc.

References simulation_parameters.

◆ finish_simulation()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::finish_simulation ( )
inlineprotected

Finish the simulation by calling all the post-processing elements that are required.

Generic interface routine to allow the CFD solver to cooperate with the multiphysics modules

Definition at line 207 of file navier_stokes_base.h.

References finish_simulation_fd(), and multiphysics.

◆ finish_simulation_fd()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::finish_simulation_fd ( )
protected

Finishes the simulation for fluid dynamics by calling the post-processing elements that are required.

Definition at line 504 of file navier_stokes_base.cc.

References error_table, simulation_parameters, Parameters::SimulationControl::steady, write_output_forces(), and write_output_torques().

◆ finish_time_step()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::finish_time_step ( )
protectedvirtual

Finishes the time step of the fluid dynamics. Post-processing and time stepping.

Key physics component for fluid dynamics

Definition at line 572 of file navier_stokes_base.cc.

References computing_timer, simulation_parameters, and Parameters::SimulationControl::steady.

◆ gather_output_hook()

template<int dim, typename VectorType, typename DofsType>
std::vector< OutputStruct< dim, VectorType > > NavierStokesBase< dim, VectorType, DofsType >::gather_output_hook ( )
protectedvirtual

Gather and return vector of output structs that are particular to some applications.

Returns
Vector of OutputStructs that will be used to write the output results as VTU files.

Reimplemented in FluidDynamicsSharp< dim >, FluidDynamicsVANS< dim, PropertiesIndex >, and FluidDynamicsVANSMatrixFree< dim, PropertiesIndex >.

Definition at line 2534 of file navier_stokes_base.cc.

◆ gather_output_results()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::gather_output_results ( const VectorType & solution,
std::vector< OutputStruct< dim, VectorType > > & solution_output_structs )
protected

Gather solution information to generate output results.

Parameters
[in]solutionVector of the present solution
[in,out]solution_output_structsVector of OutputStructs that will be used to write the output results as VTU files

Definition at line 2541 of file navier_stokes_base.cc.

References average_velocities, Parameters::average_velocity_profile, dof_handler, gather_output_hook(), simulation_parameters, Parameters::VelocitySource::srf, and triangulation.

◆ gather_tables()

template<int dim, typename VectorType, typename DofsType>
std::vector< OutputStructTableHandler > NavierStokesBase< dim, VectorType, DofsType >::gather_tables ( )
protectedvirtual

Returns a vector of references to TableHandler objects that needs to be serialized/ deserialized for a given solver.

Returns
Structure containing a vector of references to TableHandler objects that needs to be serialized/deserialized for a given solver, and their corresponding file names.

Reimplemented in CFDDEMMatrixFree< dim, PropertiesIndex >, CFDDEMSolver< dim, PropertiesIndex >, and FluidDynamicsNitsche< dim, spacedim >.

Definition at line 3000 of file navier_stokes_base.cc.

References Parameters::PostProcessing< dim >::apparent_viscosity_output_name, apparent_viscosity_table, Parameters::PostProcessing< dim >::calculate_apparent_viscosity, Parameters::PostProcessing< dim >::calculate_enstrophy, Parameters::PostProcessing< dim >::calculate_flow_rate, Parameters::PostProcessing< dim >::calculate_kinetic_energy, Parameters::PostProcessing< dim >::calculate_pressure_drop, Parameters::PostProcessing< dim >::calculate_pressure_power, Parameters::PostProcessing< dim >::calculate_viscous_dissipation, Parameters::PostProcessing< dim >::enstrophy_output_name, enstrophy_table, error_table, Parameters::PostProcessing< dim >::flow_rate_output_name, flow_rate_table, forces_tables, Parameters::PostProcessing< dim >::kinetic_energy_output_name, kinetic_energy_table, Parameters::PostProcessing< dim >::pressure_drop_output_name, pressure_drop_table, Parameters::PostProcessing< dim >::pressure_power_output_name, pressure_power_table, simulation_parameters, torques_tables, Parameters::PostProcessing< dim >::viscous_dissipation_output_name, and viscous_dissipation_table.

◆ get_cell_filtered_phase_indicator_values()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::get_cell_filtered_phase_indicator_values ( const typename DoFHandler< dim >::active_cell_iterator & cell,
const DoFHandler< dim > * dof_handler_cls,
const GlobalVectorType & filtered_phase_indicator_solution,
std::vector< double > & local_filtered_phase_indicator_values )
inlineprotected

Get cell's local filtered phase indicator values at quadrature points.

Parameters
[in]cellPointer to an active cell of the fluid dynamics DoFHandler.
[in]dof_handler_clsDoFHandler of the Conservative Level Set (CLS) auxiliary physic.
[in]filtered_phase_indicator_solutionFiltered phase indicator solution vector from the CLS auxiliary physic.
[out]local_filtered_phase_indicator_valuesCell's local filtered phase indicator values at quadrature points.

Definition at line 732 of file navier_stokes_base.h.

References fe_values_cls, and triangulation.

◆ get_cell_temperature_values()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::get_cell_temperature_values ( const typename DoFHandler< dim >::active_cell_iterator & cell,
const DoFHandler< dim > * dof_handler_ht,
const GlobalVectorType & temperature_solution,
std::vector< double > & local_temperature_values )
inlineprotected

Get cell's local temperature values at quadrature points.

Parameters
[in]cellPointer to an active cell of the fluid dynamics DoFHandler.
[in]dof_handler_htDoFHandler of the Heat Transfer (HT) auxiliary physic.
[in]temperature_solutionTemperature solution vector from the HT auxiliary physic.
[out]local_temperature_valuesCell's local temperature values at quadrature points.

Definition at line 702 of file navier_stokes_base.h.

References fe_values_temperature, and triangulation.

◆ get_evaluation_point()

template<int dim, typename VectorType, typename DofsType>
virtual VectorType & NavierStokesBase< dim, VectorType, DofsType >::get_evaluation_point ( )
inlineoverrideprotectedvirtual

Getter methods to get the private attributes for the physic currently solved.

Parameters
current_physics_idIndicates the number associated with the physic currently solved. If the solver is only solving for a fluid dynamics problem, then the value will always be PhysicsID::fluid_dynamics.

Implements PhysicsSolver< VectorType >.

Definition at line 145 of file navier_stokes_base.h.

References evaluation_point.

◆ get_local_evaluation_point()

template<int dim, typename VectorType, typename DofsType>
virtual VectorType & NavierStokesBase< dim, VectorType, DofsType >::get_local_evaluation_point ( )
inlineoverrideprotectedvirtual

Implements PhysicsSolver< VectorType >.

Definition at line 150 of file navier_stokes_base.h.

References local_evaluation_point.

◆ get_mapping()

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr< Mapping< dim > > NavierStokesBase< dim, VectorType, DofsType >::get_mapping ( )
inlineprotected

Returns the mapping shared pointer. A MappingQCache is necessary for prescribed rotation in rotor-stator configurations.

Definition at line 560 of file navier_stokes_base.h.

References mapping, mapping_cache, and simulation_parameters.

◆ get_newton_update()

template<int dim, typename VectorType, typename DofsType>
virtual VectorType & NavierStokesBase< dim, VectorType, DofsType >::get_newton_update ( )
inlineoverrideprotectedvirtual

Implements PhysicsSolver< VectorType >.

Definition at line 155 of file navier_stokes_base.h.

References newton_update.

◆ get_nonzero_constraints()

template<int dim, typename VectorType, typename DofsType>
virtual AffineConstraints< double > & NavierStokesBase< dim, VectorType, DofsType >::get_nonzero_constraints ( )
inlineoverrideprotectedvirtual

Implements PhysicsSolver< VectorType >.

Definition at line 170 of file navier_stokes_base.h.

References nonzero_constraints.

◆ get_present_solution()

template<int dim, typename VectorType, typename DofsType>
virtual VectorType & NavierStokesBase< dim, VectorType, DofsType >::get_present_solution ( )
inlineoverrideprotectedvirtual

Implements PhysicsSolver< VectorType >.

Definition at line 160 of file navier_stokes_base.h.

References present_solution.

◆ get_residual_rescale_metric()

template<int dim, typename VectorType, typename DofsType>
double NavierStokesBase< dim, VectorType, DofsType >::get_residual_rescale_metric ( ) const
inlineoverrideprotectedvirtual

Return the metric for residual rescaling. By default, should return 1. If the rescale_residual_by_volume is set to true, the method returns the global volume of the triangulation.

Returns
Rescale metric.

Implements PhysicsSolver< VectorType >.

Definition at line 189 of file navier_stokes_base.h.

References fluid_dynamics, mapping, simulation_parameters, and triangulation.

◆ get_system_rhs()

template<int dim, typename VectorType, typename DofsType>
virtual VectorType & NavierStokesBase< dim, VectorType, DofsType >::get_system_rhs ( )
inlineoverrideprotectedvirtual

Implements PhysicsSolver< VectorType >.

Definition at line 165 of file navier_stokes_base.h.

References system_rhs.

◆ identify_cell_and_constrain_velocity()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::identify_cell_and_constrain_velocity ( const std::vector< types::global_dof_index > & local_dof_indices,
const std::vector< double > & local_temperature_values,
StasisConstraintWithTemperature & stasis_constraint_struct )
protected

Identify if temperature DOFs of the cell are within the constraining range. If they are, velocity DOFs of the cell are constrained.

Parameters
[in]local_dof_indicesVector of a cell's local DOF indices.
[in]local_temperature_valuesCell's local temperature values at quadrature points.
[in,out]stasis_constraint_structStruct containing flagged DOF containers, temperature range information and fluid id.

Definition at line 2513 of file navier_stokes_base.cc.

References constrain_solid_cell_velocity_dofs(), dynamic_zero_constraints, fe, StasisConstraintWithTemperature::max_solid_temperature, StasisConstraintWithTemperature::min_solid_temperature, and temperature.

◆ init_temporary_vector()

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::init_temporary_vector ( )
inlineprotected

This function initializes correctly a temporary vector depending on the vector type.

Definition at line 3258 of file navier_stokes_base.cc.

References locally_owned_dofs, and locally_relevant_dofs.

◆ iterate()

◆ make_solid_domain()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::make_solid_domain ( const DoFHandler< dim > & dof_handler,
const bool non_zero_constraints,
AffineConstraints< double > & constraints )
protected

Turn regions of the mesh where the material_id>0 into a solid block by injecting velocity and pressure DOFs into the zero constraints.

It is achieved by imposing \(\mathbf{u}=0\) within the cells which have a material_id>0. In addition, solid cells which are not connected to the fluid by any means also get a pressure Dirichlet boundary condition which fixes the pressure to 0. It ensures that the linear system is well-posed. Right now, this routine only supports the usage of 1 solid domain, but eventually it could be extended to more than one. By default, the fluid domain is assumed to have a material_id=0 and the rest of the domains have a material_id>0.

Parameters
[in]dof_handlerDoFHandler for which the solid region is established. In the majority of cases this is the DoFHandler that is a member of this class, but if a multigrid preconditioner, constraints must be built at every level. In this case, this DoFHandler can be the DoFHandler at any of the multigrid level.
[in]non_zero_constraintsIf this parameter is true, it indicates that non-zero constraints are being constrained for the solid domain. If this is set to false, homogeneous constraints are constrained in the solid domain.
[in]constraintsSet of constraints on which the solid domain constraint is applied. These constraints can be either zero or non-zero constraints, which is decided by the non_zero_constraints flag.

Definition at line 2349 of file navier_stokes_base.cc.

References dof_handler, establish_solid_domain(), locally_owned_dofs, and simulation_parameters.

◆ multi_stage_postresolution()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::multi_stage_postresolution ( unsigned int stage,
Parameters::SimulationControl::TimeSteppingMethod method,
double time_step )
protectedvirtual

Calculate \( k_i \) from \( u*_i : k_i = \frac{u*_i - u_n}{time_step*a_ii} - \sum{j=1}^{i-1} a_ij * k_j \) Update \( \sum_{i=1}^{N_{stages}} b_i * k_i \).

Parameters
stageAn unsigned integer which gives the index of the current stage
methodSDIRK method for now (BDF methods are single stage)
time_stepThe current time step to build the solution at the next time step

Reimplemented in FluidDynamicsBlock< dim >, FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

Definition at line 621 of file navier_stokes_base.cc.

◆ multi_stage_preresolution()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::multi_stage_preresolution ( unsigned int stage,
Parameters::SimulationControl::TimeSteppingMethod method )
protectedvirtual

Update the sum_over_previous_stages variable to use it in the solver.

Parameters
stageAn unsigned integer which gives the index of the current stage
methodSDIRK method for now (BDF methods are single stage)

Reimplemented in FluidDynamicsBlock< dim >, FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

Definition at line 613 of file navier_stokes_base.cc.

◆ output_newton_update_norms()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::output_newton_update_norms ( )
overrideprotectedvirtual

Output the L2 and Linfty norms of the correction vector.

Implements PhysicsSolver< VectorType >.

Definition at line 3181 of file navier_stokes_base.cc.

References computing_timer, dof_handler, fe, mpi_communicator, newton_update, PhysicsSolver< VectorType >::pcout, and pressure.

◆ percolate_time_vectors_fd()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::percolate_time_vectors_fd ( )
protectedvirtual

finish_time_step Finishes the time step of the fluid dynamics Post-processing and time stepping

Definition at line 560 of file navier_stokes_base.cc.

References present_solution, and previous_solutions.

◆ postprocess()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::postprocess ( bool first_iteration)
inlineprotectedvirtual

Post-process simulation after an iteration.

Parameters
first_iterationIndicator if the simulation is at its first simulation or not.

Definition at line 219 of file navier_stokes_base.h.

References multiphysics, postprocess_fd(), present_solution, simulation_control, and write_output_results().

◆ postprocess_fd()

◆ postprocessing_forces()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::postprocessing_forces ( const VectorType & evaluation_point)
protected

Post-processing function Outputs the forces acting on each boundary condition.

End of key physics components for fluid dynamics

Definition at line 289 of file navier_stokes_base.cc.

References computing_timer, and evaluation_point.

◆ postprocessing_torques()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::postprocessing_torques ( const VectorType & evaluation_point)
protected

Post-processing function Outputs the torque acting on each boundary condition.

Definition at line 425 of file navier_stokes_base.cc.

References computing_timer, and evaluation_point.

◆ read_checkpoint()

◆ refine_mesh()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::refine_mesh ( )
protectedvirtual

Allow the refinement of the mesh according to one of the 2 methods proposed.

Reimplemented in FluidDynamicsNitsche< dim, spacedim >.

Definition at line 811 of file navier_stokes_base.cc.

References simulation_control.

◆ refine_mesh_adaptive()

◆ refine_mesh_uniform()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::refine_mesh_uniform ( )
protected

◆ reinit_mortar_operators()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::reinit_mortar_operators ( )
protected

◆ rescale_pressure_dofs_in_newton_update()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::rescale_pressure_dofs_in_newton_update ( )
protected

This function is used to rescale pressure DOFs in the newton correction.

Definition at line 3133 of file navier_stokes_base.cc.

References computing_timer, dof_handler, fe, newton_update, and simulation_parameters.

◆ restore_average_velocities_after_checkpoint()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::restore_average_velocities_after_checkpoint ( )
protected

Restore the state of the time-averaged velocity object after its vectors have been deserialized.

The deserialization fills the vectors with locally_relevant (owned + ghost), since only those are serialized, whereas the averaging routines accumulate into the locally owned vectors. The locally owned vectors must therefore be reset from their locally_relevant version after a checkpoint, otherwise the averaging silently restarts from zero. The checkpointed average is also discarded here if the initial time for averaging has not been reached yet, which lets a simulation be restarted with a later averaging start time.

This function must be called at the end of every read_checkpoint() implementation that deserializes the average velocity vectors.

Definition at line 2318 of file navier_stokes_base.cc.

References average_velocities, average_velocities_are_enabled(), Parameters::average_velocity_profile, PhysicsSolver< VectorType >::pcout, simulation_control, and simulation_parameters.

◆ rotate_rotor_mapping()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::rotate_rotor_mapping ( const bool is_first)
protected

Rotate rotor mapping in mortar method.

Parameters
[in]is_firstWhether this is the first mapping rotation. This boolean is used only for printing output purposes; since the mapping needs to be rotated before setting up dofs, but also after the constraints are first defined, this function is called twice before the iterate() loop. The parameter is_first just prevents the mortar verbosity from being printed twice

Definition at line 2080 of file navier_stokes_base.cc.

References announce_string(), Parameters::Mortar< dim >::circular, computing_timer, dof_handler, Parameters::extra_verbose, Parameters::Mortar< dim >::linear, mapping, mapping_cache, mortar_workload_imbalance(), PhysicsSolver< VectorType >::pcout, LetheGridTools::rotate_mapping(), simulation_control, simulation_parameters, triangulation, and Parameters::verbose.

◆ set_initial_condition()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::set_initial_condition ( const Parameters::FluidDynamicsInitialConditionType initial_condition_type,
const bool restart = false )
inlineprotectedvirtual

Set the initial condition.

Parameters
initial_condition_typeType of method use to impose initial condition.
restartIndicator if the simulation is being restarted or not.

Reimplemented in CFDDEMMatrixFree< dim, PropertiesIndex >, and CFDDEMSolver< dim, PropertiesIndex >.

Definition at line 255 of file navier_stokes_base.h.

References multiphysics, postprocess_fd(), present_solution, refine_mesh(), set_initial_condition_fd(), simulation_control, simulation_parameters, and write_output_results().

◆ set_initial_condition_fd()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::set_initial_condition_fd ( Parameters::FluidDynamicsInitialConditionType initial_condition_type,
bool restart = false )
protectedpure virtual

◆ set_nodal_values()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::set_nodal_values ( )
protected

◆ set_solution_from_checkpoint()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::set_solution_from_checkpoint ( const std::string & checkpoint_file_prefix)
protectedvirtual

◆ set_specified_fluid_dynamics_solution()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::set_specified_fluid_dynamics_solution ( )
protectedvirtual

Specify the fluid dynamics solution instead of solving for it.

When the fluid dynamics is disabled (fluid dynamics = false in the multiphysics subsection), the velocity and the pressure fields are not solved for, but rather imposed. They are either taken from the average velocity profile or re-established from the initial condition, which may be time-dependent.

Definition at line 634 of file navier_stokes_base.cc.

References average_velocities, Parameters::average_velocity_profile, local_evaluation_point, present_solution, and simulation_parameters.

◆ setup_dofs()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::setup_dofs ( )
inlineprotectedvirtual

Initialize the degree of freedom and the memory associated with them for fluid dynamics and enabled auxiliary physics.

Reimplemented in FluidDynamicsVANS< dim, PropertiesIndex >, and FluidDynamicsVANSMatrixFree< dim, PropertiesIndex >.

Definition at line 238 of file navier_stokes_base.h.

References multiphysics, setup_dofs_fd(), and verify_consistency_of_boundary_conditions().

◆ setup_dofs_fd()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::setup_dofs_fd ( )
protectedpure virtual

Initialize the dofs for fluid dynamics.

Implemented in FluidDynamicsBlock< dim >, FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

◆ transfer_solution()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::transfer_solution ( SolutionTransfer< dim, VectorType > & solution_transfer,
std::vector< SolutionTransfer< dim, VectorType > > & previous_solutions_transfer )
protected

◆ update_boundary_conditions()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::update_boundary_conditions ( )
protected

◆ update_forcing_and_boundary_conditions()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::update_forcing_and_boundary_conditions ( )
protectedvirtual

Set the time of the forcing function and of the time-dependent boundary conditions to the current time of the simulation control, and re-impose the non-zero constraints on the present solution.

This is called at the beginning of every time step and, for multi-stage (SDIRK) methods, at every stage so that the forcing and the boundary conditions are evaluated at the stage time \(t_n + c_i \Delta t\).

Reimplemented in FluidDynamicsMatrixFree< dim >.

Definition at line 749 of file navier_stokes_base.cc.

References forcing_function, simulation_control, and update_boundary_conditions().

◆ update_mortar_configuration()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::update_mortar_configuration ( )
inlineprotectedvirtual

Update mortar configuration.

When the rotor domain is rotated, the mortar cells need to be reinitialized according to the new rotor-stator interface configuration.

Reimplemented in FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

Definition at line 329 of file navier_stokes_base.h.

◆ update_multi_stage_solution()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::update_multi_stage_solution ( double time_step)
protectedvirtual

\( u_{n+1} = u_n + time_step * \sum_{i=1}^{N_{stages}} b_i * k_i \)

Parameters
time_stepThe current time step to build the solution at the next time step

Reimplemented in FluidDynamicsBlock< dim >, FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

Definition at line 629 of file navier_stokes_base.cc.

◆ update_multiphysics_time_average_solution()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::update_multiphysics_time_average_solution ( )
protectedpure virtual

Update the time average velocity field solution.

Implemented in FluidDynamicsBlock< dim >, FluidDynamicsMatrixBased< dim >, and FluidDynamicsMatrixFree< dim >.

◆ update_solutions_for_fluid_dynamics()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::update_solutions_for_fluid_dynamics ( )
inlineprotectedvirtual

Required only for the matrix-free solver to update multiphysics solutions within iterate function.

Reimplemented in FluidDynamicsMatrixFree< dim >.

Definition at line 349 of file navier_stokes_base.h.

◆ update_solutions_for_multiphysics()

template<int dim, typename VectorType, typename DofsType>
virtual void NavierStokesBase< dim, VectorType, DofsType >::update_solutions_for_multiphysics ( )
inlineprotectedvirtual

Required only for the matrix-free solver to update solutions within iterate function.

Reimplemented in FluidDynamicsMatrixFree< dim >.

Definition at line 342 of file navier_stokes_base.h.

◆ verify_consistency_of_boundary_conditions()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::verify_consistency_of_boundary_conditions ( )
inlineprotected

Verify consistency of the input parameters for boundary conditions to ensure that for every boundary condition within the triangulation, a boundary condition has been specified in the input file.

Definition at line 870 of file navier_stokes_base.h.

References simulation_parameters, and triangulation.

◆ write_checkpoint()

◆ write_output_forces()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::write_output_forces ( )
protected

Writes the forces per boundary condition to a text file output.

Definition at line 2958 of file navier_stokes_base.cc.

References computing_timer, forces_tables, simulation_parameters, and this_mpi_process.

◆ write_output_results()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::write_output_results ( const VectorType & solution)
protected

Generate post-processing parallel VTU files from vector of solution_output_struct.

Parameters
[in]solutionVector of present solution

Definition at line 2794 of file navier_stokes_base.cc.

References computing_timer, dof_handler, gather_output_results(), get_mapping(), mpi_communicator, multiphysics, present_solution, pvdhandler, pvdhandler_boundary, simulation_control, simulation_parameters, velocity_fem_degree, write_boundaries_vtu_and_pvd(), and write_vtu_and_pvd().

◆ write_output_torques()

template<int dim, typename VectorType, typename DofsType>
void NavierStokesBase< dim, VectorType, DofsType >::write_output_torques ( )
protected

Writes the torques per boundary condition to a text file output.

Definition at line 2979 of file navier_stokes_base.cc.

References computing_timer, simulation_parameters, this_mpi_process, and torques_tables.

Member Data Documentation

◆ apparent_viscosity_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::apparent_viscosity_table
protected

Definition at line 987 of file navier_stokes_base.h.

◆ assemblers

template<int dim, typename VectorType, typename DofsType>
std::vector<std::shared_ptr<NavierStokesAssemblerBase<dim> > > NavierStokesBase< dim, VectorType, DofsType >::assemblers
protected

Definition at line 974 of file navier_stokes_base.h.

◆ average_solution

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::average_solution
protected

Definition at line 992 of file navier_stokes_base.h.

◆ average_velocities

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<AverageVelocities<dim, VectorType, DofsType> > NavierStokesBase< dim, VectorType, DofsType >::average_velocities
protected

Definition at line 991 of file navier_stokes_base.h.

◆ cell_quadrature

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<Quadrature<dim> > NavierStokesBase< dim, VectorType, DofsType >::cell_quadrature
protected

Definition at line 961 of file navier_stokes_base.h.

◆ computing_timer

template<int dim, typename VectorType, typename DofsType>
TimerOutput NavierStokesBase< dim, VectorType, DofsType >::computing_timer
protected

Definition at line 897 of file navier_stokes_base.h.

◆ dof_handler

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<DoFHandler<dim> > NavierStokesBase< dim, VectorType, DofsType >::dof_handler
protected

Definition at line 894 of file navier_stokes_base.h.

◆ dynamic_zero_constraints

template<int dim, typename VectorType, typename DofsType>
AffineConstraints<double> NavierStokesBase< dim, VectorType, DofsType >::dynamic_zero_constraints
protected

Dynamic homogeneous constraints used for temperature-dependent solid domain constraints

Definition at line 1016 of file navier_stokes_base.h.

◆ enstrophy_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::enstrophy_table
protected

Definition at line 983 of file navier_stokes_base.h.

◆ error_table

template<int dim, typename VectorType, typename DofsType>
ConvergenceTable NavierStokesBase< dim, VectorType, DofsType >::error_table
protected

Definition at line 998 of file navier_stokes_base.h.

◆ evaluation_point

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::evaluation_point
protected

Definition at line 919 of file navier_stokes_base.h.

◆ exact_solution

template<int dim, typename VectorType, typename DofsType>
Function<dim>* NavierStokesBase< dim, VectorType, DofsType >::exact_solution
protected

Definition at line 904 of file navier_stokes_base.h.

◆ face_quadrature

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<Quadrature<dim - 1> > NavierStokesBase< dim, VectorType, DofsType >::face_quadrature
protected

Definition at line 962 of file navier_stokes_base.h.

◆ fe

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<FESystem<dim> > NavierStokesBase< dim, VectorType, DofsType >::fe
protected

Definition at line 895 of file navier_stokes_base.h.

◆ fe_values_cls

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<FEValues<dim> > NavierStokesBase< dim, VectorType, DofsType >::fe_values_cls
protected

FEValues object used for temperature-dependent solid domain constraints in CLS simulations

Definition at line 1010 of file navier_stokes_base.h.

◆ fe_values_temperature

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<FEValues<dim> > NavierStokesBase< dim, VectorType, DofsType >::fe_values_temperature
protected

FEValues object used for temperature-dependent solid domain constraints.

Definition at line 1007 of file navier_stokes_base.h.

◆ flow_control

template<int dim, typename VectorType, typename DofsType>
FlowControl<dim> NavierStokesBase< dim, VectorType, DofsType >::flow_control
protected

Definition at line 908 of file navier_stokes_base.h.

◆ flow_rate_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::flow_rate_table
protected

Definition at line 989 of file navier_stokes_base.h.

◆ forces_on_boundaries

template<int dim, typename VectorType, typename DofsType>
std::vector<std::map<types::boundary_id, Tensor<1, dim> > > NavierStokesBase< dim, VectorType, DofsType >::forces_on_boundaries
protected

Definition at line 1002 of file navier_stokes_base.h.

◆ forces_tables

template<int dim, typename VectorType, typename DofsType>
std::map<types::boundary_id, TableHandler> NavierStokesBase< dim, VectorType, DofsType >::forces_tables
protected

Definition at line 1003 of file navier_stokes_base.h.

◆ forcing_function

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<Function<dim> > NavierStokesBase< dim, VectorType, DofsType >::forcing_function
protected

Definition at line 905 of file navier_stokes_base.h.

◆ kinetic_energy_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::kinetic_energy_table
protected

Definition at line 986 of file navier_stokes_base.h.

◆ local_evaluation_point

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::local_evaluation_point
protected

Definition at line 920 of file navier_stokes_base.h.

◆ locally_owned_dofs

template<int dim, typename VectorType, typename DofsType>
DofsType NavierStokesBase< dim, VectorType, DofsType >::locally_owned_dofs
protected

Definition at line 886 of file navier_stokes_base.h.

◆ locally_relevant_dofs

template<int dim, typename VectorType, typename DofsType>
DofsType NavierStokesBase< dim, VectorType, DofsType >::locally_relevant_dofs
protected

Definition at line 887 of file navier_stokes_base.h.

◆ mapping

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<Mapping<dim> > NavierStokesBase< dim, VectorType, DofsType >::mapping
protected

Definition at line 960 of file navier_stokes_base.h.

◆ mapping_cache

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<MappingQCache<dim> > NavierStokesBase< dim, VectorType, DofsType >::mapping_cache
protected

Definition at line 971 of file navier_stokes_base.h.

◆ mesh_controller

template<int dim, typename VectorType, typename DofsType>
MeshController NavierStokesBase< dim, VectorType, DofsType >::mesh_controller
protected

Definition at line 995 of file navier_stokes_base.h.

◆ mortar_coupling_evaluator

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<NavierStokesCouplingEvaluationSIPG<dim, double> > NavierStokesBase< dim, VectorType, DofsType >::mortar_coupling_evaluator
protected

Definition at line 968 of file navier_stokes_base.h.

◆ mortar_coupling_operator

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<CouplingOperator<dim, double> > NavierStokesBase< dim, VectorType, DofsType >::mortar_coupling_operator
protected

Definition at line 966 of file navier_stokes_base.h.

◆ mortar_manager

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<MortarManagerBase<dim> > NavierStokesBase< dim, VectorType, DofsType >::mortar_manager
protected

Definition at line 965 of file navier_stokes_base.h.

◆ mpi_communicator

template<int dim, typename VectorType, typename DofsType>
MPI_Comm NavierStokesBase< dim, VectorType, DofsType >::mpi_communicator
protected

Definition at line 889 of file navier_stokes_base.h.

◆ multiphysics

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<MultiphysicsInterface<dim> > NavierStokesBase< dim, VectorType, DofsType >::multiphysics
protected

Definition at line 977 of file navier_stokes_base.h.

◆ n_mpi_processes

template<int dim, typename VectorType, typename DofsType>
const unsigned int NavierStokesBase< dim, VectorType, DofsType >::n_mpi_processes
protected

Definition at line 890 of file navier_stokes_base.h.

◆ newton_update

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::newton_update
protected

Definition at line 921 of file navier_stokes_base.h.

◆ nonzero_constraints

template<int dim, typename VectorType, typename DofsType>
AffineConstraints<double> NavierStokesBase< dim, VectorType, DofsType >::nonzero_constraints
protected

Definition at line 912 of file navier_stokes_base.h.

◆ number_quadrature_points

template<int dim, typename VectorType, typename DofsType>
unsigned int NavierStokesBase< dim, VectorType, DofsType >::number_quadrature_points
protected

Definition at line 957 of file navier_stokes_base.h.

◆ present_solution

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<VectorType> NavierStokesBase< dim, VectorType, DofsType >::present_solution
protected

Definition at line 922 of file navier_stokes_base.h.

◆ pressure_drop_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::pressure_drop_table
protected

Definition at line 988 of file navier_stokes_base.h.

◆ pressure_fem_degree

template<int dim, typename VectorType, typename DofsType>
const unsigned int NavierStokesBase< dim, VectorType, DofsType >::pressure_fem_degree
protected

Definition at line 956 of file navier_stokes_base.h.

◆ pressure_power_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::pressure_power_table
protected

Definition at line 984 of file navier_stokes_base.h.

◆ previous_solutions

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<std::vector<VectorType> > NavierStokesBase< dim, VectorType, DofsType >::previous_solutions
protected

Definition at line 926 of file navier_stokes_base.h.

◆ pvdhandler

template<int dim, typename VectorType, typename DofsType>
PVDHandler NavierStokesBase< dim, VectorType, DofsType >::pvdhandler
protected

Definition at line 900 of file navier_stokes_base.h.

◆ pvdhandler_boundary

template<int dim, typename VectorType, typename DofsType>
PVDHandler NavierStokesBase< dim, VectorType, DofsType >::pvdhandler_boundary
protected

Definition at line 901 of file navier_stokes_base.h.

◆ sdirk_vectors

template<int dim, typename VectorType, typename DofsType>
SDIRKVectors NavierStokesBase< dim, VectorType, DofsType >::sdirk_vectors
protected

Instance of SDIRK-related vectors.

Definition at line 952 of file navier_stokes_base.h.

◆ simulation_control

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<SimulationControl> NavierStokesBase< dim, VectorType, DofsType >::simulation_control
protected

Definition at line 980 of file navier_stokes_base.h.

◆ simulation_parameters

template<int dim, typename VectorType, typename DofsType>
SimulationParameters<dim> NavierStokesBase< dim, VectorType, DofsType >::simulation_parameters
protected

Definition at line 899 of file navier_stokes_base.h.

◆ stasis_constraint_structs

template<int dim, typename VectorType, typename DofsType>
std::vector<StasisConstraintWithTemperature> NavierStokesBase< dim, VectorType, DofsType >::stasis_constraint_structs
protected

Vector containing solid domain constraint structs for temperature-dependent solid domain constraints in CLS simulations

Definition at line 1013 of file navier_stokes_base.h.

◆ system_rhs

template<int dim, typename VectorType, typename DofsType>
VectorType NavierStokesBase< dim, VectorType, DofsType >::system_rhs
protected

Definition at line 923 of file navier_stokes_base.h.

◆ this_mpi_process

template<int dim, typename VectorType, typename DofsType>
const unsigned int NavierStokesBase< dim, VectorType, DofsType >::this_mpi_process
protected

Definition at line 891 of file navier_stokes_base.h.

◆ torques_tables

template<int dim, typename VectorType, typename DofsType>
std::map<types::boundary_id, TableHandler> NavierStokesBase< dim, VectorType, DofsType >::torques_tables
protected

Definition at line 1004 of file navier_stokes_base.h.

◆ triangulation

template<int dim, typename VectorType, typename DofsType>
std::shared_ptr<parallel::DistributedTriangulationBase<dim> > NavierStokesBase< dim, VectorType, DofsType >::triangulation
protected

Definition at line 893 of file navier_stokes_base.h.

◆ use_manifold_for_normal

template<int dim, typename VectorType, typename DofsType>
bool NavierStokesBase< dim, VectorType, DofsType >::use_manifold_for_normal
protected

Definition at line 916 of file navier_stokes_base.h.

◆ velocity_fem_degree

template<int dim, typename VectorType, typename DofsType>
const unsigned int NavierStokesBase< dim, VectorType, DofsType >::velocity_fem_degree
protected

Definition at line 955 of file navier_stokes_base.h.

◆ viscous_dissipation_table

template<int dim, typename VectorType, typename DofsType>
TableHandler NavierStokesBase< dim, VectorType, DofsType >::viscous_dissipation_table
protected

Definition at line 985 of file navier_stokes_base.h.

◆ zero_constraints

template<int dim, typename VectorType, typename DofsType>
AffineConstraints<double> NavierStokesBase< dim, VectorType, DofsType >::zero_constraints
protected

Definition at line 911 of file navier_stokes_base.h.


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