LifeV
|
#include <StabilizationSUPG_semi_implicit.hpp>
Public Member Functions | |
void | apply_matrix (const vector_Type &velocityExtrapolated) |
Updates the system matrix in Navier-Stokes simulations in fixed coordinates. More... | |
void | apply_vector (vectorPtr_Type &rhs_velocity, vectorPtr_Type &rhs_pressure, const vector_Type &velocityExtrapolated, const vector_Type &velocity_rhs) |
Adds to the right hand side the contribution coming from the SUPG stabilization. More... | |
void | setVelocitySpace (fespacePtr_Type velocityFESpace) |
Set FE space for velocity. More... | |
void | setPressureSpace (fespacePtr_Type pressureFESpace) |
Set Expression Template FE space for velocity. More... | |
void | setConstant (const int &value) |
Set the constant C_I for the supg. More... | |
void | setDensity (const Real &density) |
Set the fluid density. More... | |
void | setBDForder (const Real &bdfOrder) |
Set the bdf order. More... | |
void | setAlpha (const Real &alpha) |
Set the bdf order. More... | |
void | setViscosity (const Real &viscosity) |
Set the fluid dynamic viscosity. More... | |
void | setCommunicator (std::shared_ptr< Epetra_Comm > comm) |
Set the Epetra communicator. More... | |
void | setTimeStep (const Real ×tep) |
Set the time step size. More... | |
void | setETvelocitySpace (const ETFESpacePtr_velocity &velocityEta_fespace) |
Set Expression Template FE space for velocity. More... | |
void | setETpressureSpace (const ETFESpacePtr_pressure &pressureEta_fespace) |
Set Expression Template FE space for velocity. More... | |
void | setUseGraph (const bool &useGraph) |
Set if using the graph. More... | |
Public Member Functions inherited from Stabilization | |
Stabilization () | |
virtual | ~Stabilization () |
virtual void | apply_vector (vectorPtr_Type &, vectorPtr_Type &, const vector_Type &, const vector_Type &, const vector_Type &) |
Adds to the residual the contribution coming from the SUPG stabilization. More... | |
virtual void | apply_matrix (const vector_Type &, const vector_Type &) |
Updates the system matrix in Navier-Stokes simulations in ALE coordinates. More... | |
virtual void | apply_matrix (const vector_Type &, const vector_Type &, const vector_Type &) |
Updates the system matrix in Navier-Stokes simulations in fixed coordinates. More... | |
virtual void | apply_matrix (const vector_Type &, const vector_Type &, const vector_Type &, const vector_Type &) |
Updates the jacobian matrix in Navier-Stokes simulations in ALE coordinates. More... | |
virtual void | apply_vector (vectorPtr_Type &, vectorPtr_Type &, const vector_Type &, const vector_Type &, const vector_Type &, const vector_Type &) |
Adds to the residual the contribution coming from the SUPG stabilization. More... | |
virtual void | buildGraphs () |
Build the graphs of each single block. More... | |
virtual void | setUseODEfineScale (const bool &) |
Set if using dynamic fine scale model. More... | |
virtual void | setExportFineScaleVelocity (ExporterHDF5< mesh_Type > &, const int &) |
Set if the user wants to export the fine scale component. More... | |
virtual void | setFastAssembler (std::shared_ptr< FastAssemblerNS > &) |
Set if using the fast assembler. More... | |
virtual void | updateODEfineScale (const vectorPtr_Type &, const vectorPtr_Type &) |
Updates the fine scale component. More... | |
virtual void | updateODEfineScale (const vectorPtr_Type &, const vectorPtr_Type &, const vectorPtr_Type &) |
Updates the fine scale component. More... | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef MapEpetra | map_Type |
typedef VectorEpetra | vector_Type |
typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef std::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef FESpace< mesh_Type, map_Type > | fespace_Type |
typedef std::shared_ptr< fespace_Type > | fespacePtr_Type |
typedef ETFESpace< mesh_Type, map_Type, 3, 3 > | ETFESpace_velocity |
typedef ETFESpace< mesh_Type, map_Type, 3, 1 > | ETFESpace_pressure |
typedef std::shared_ptr< ETFESpace_velocity > | ETFESpacePtr_velocity |
typedef std::shared_ptr< ETFESpace_pressure > | ETFESpacePtr_pressure |
typedef Epetra_FECrsGraph | graph_Type |
typedef std::shared_ptr< Epetra_FECrsGraph > | graphPtr_Type |
Constructor and Destructor | |
StabilizationSUPG_semi_implicit () | |
Default Constructor. More... | |
virtual | ~StabilizationSUPG_semi_implicit () |
~Destructor More... | |
Getters | |
matrixPtr_Type const & | block_00 () const |
Get block00 of the stabilization matrix. More... | |
matrixPtr_Type const & | block_01 () const |
Get block01 of the stabilization matrix. More... | |
matrixPtr_Type const & | block_10 () const |
Get block10 of the stabilization matrix. More... | |
matrixPtr_Type const & | block_11 () const |
Get block11 of the stabilization matrix. More... | |
std::string | label () |
Get name of stabilization being used. More... | |
Additional Inherited Members | |
Public Types inherited from Stabilization | |
typedef RegionMesh< LinearTetra > | mesh_Type |
typedef MapEpetra | map_Type |
typedef VectorEpetra | vector_Type |
typedef std::shared_ptr< vector_Type > | vectorPtr_Type |
typedef MatrixEpetra< Real > | matrix_Type |
typedef std::shared_ptr< matrix_Type > | matrixPtr_Type |
typedef FESpace< mesh_Type, map_Type > | fespace_Type |
typedef std::shared_ptr< fespace_Type > | fespacePtr_Type |
typedef ETFESpace< mesh_Type, map_Type, 3, 3 > | ETFESpace_velocity |
typedef ETFESpace< mesh_Type, map_Type, 3, 1 > | ETFESpace_pressure |
typedef std::shared_ptr< ETFESpace_velocity > | ETFESpacePtr_velocity |
typedef std::shared_ptr< ETFESpace_pressure > | ETFESpacePtr_pressure |
Definition at line 84 of file StabilizationSUPG_semi_implicit.hpp.
typedef RegionMesh<LinearTetra> mesh_Type |
Definition at line 90 of file StabilizationSUPG_semi_implicit.hpp.
Definition at line 91 of file StabilizationSUPG_semi_implicit.hpp.
typedef VectorEpetra vector_Type |
Definition at line 93 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr<vector_Type> vectorPtr_Type |
Definition at line 94 of file StabilizationSUPG_semi_implicit.hpp.
typedef MatrixEpetra<Real> matrix_Type |
Definition at line 96 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr<matrix_Type> matrixPtr_Type |
Definition at line 97 of file StabilizationSUPG_semi_implicit.hpp.
typedef FESpace< mesh_Type, map_Type > fespace_Type |
Definition at line 99 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr< fespace_Type > fespacePtr_Type |
Definition at line 100 of file StabilizationSUPG_semi_implicit.hpp.
typedef ETFESpace<mesh_Type, map_Type, 3, 3 > ETFESpace_velocity |
Definition at line 102 of file StabilizationSUPG_semi_implicit.hpp.
typedef ETFESpace<mesh_Type, map_Type, 3, 1 > ETFESpace_pressure |
Definition at line 103 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr<ETFESpace_velocity > ETFESpacePtr_velocity |
Definition at line 105 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr<ETFESpace_pressure > ETFESpacePtr_pressure |
Definition at line 106 of file StabilizationSUPG_semi_implicit.hpp.
typedef Epetra_FECrsGraph graph_Type |
Definition at line 108 of file StabilizationSUPG_semi_implicit.hpp.
typedef std::shared_ptr<Epetra_FECrsGraph> graphPtr_Type |
Definition at line 109 of file StabilizationSUPG_semi_implicit.hpp.
Default Constructor.
Definition at line 20 of file StabilizationSUPG_semi_implicit.cpp.
|
inlinevirtual |
~Destructor
Definition at line 119 of file StabilizationSUPG_semi_implicit.hpp.
|
virtual |
Updates the system matrix in Navier-Stokes simulations in fixed coordinates.
velocityExtrapolated | extrapolation of the fluid velocity |
Reimplemented from Stabilization.
Definition at line 40 of file StabilizationSUPG_semi_implicit.cpp.
|
virtual |
Adds to the right hand side the contribution coming from the SUPG stabilization.
rhs_velocity | velocity component of the right hand side |
rhs_pressure | pressure component of the right hand side |
velocity_extrapolated | velocity extrapolated |
velocity_rhs | velocity term from approximation time derivative |
Reimplemented from Stabilization.
Definition at line 129 of file StabilizationSUPG_semi_implicit.cpp.
|
inlinevirtual |
Set FE space for velocity.
velocityFESpace | FE space for velocity |
Implements Stabilization.
Definition at line 143 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set Expression Template FE space for velocity.
pressureFESpace | FE space for pressure |
Implements Stabilization.
Definition at line 145 of file StabilizationSUPG_semi_implicit.hpp.
|
virtual |
Set the constant C_I for the supg.
Implements Stabilization.
Definition at line 29 of file StabilizationSUPG_semi_implicit.cpp.
|
inlinevirtual |
Set the fluid density.
Implements Stabilization.
Definition at line 151 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set the bdf order.
Implements Stabilization.
Definition at line 154 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set the bdf order.
Implements Stabilization.
Definition at line 157 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set the fluid dynamic viscosity.
Implements Stabilization.
Definition at line 160 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set the Epetra communicator.
Implements Stabilization.
Definition at line 163 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set the time step size.
Implements Stabilization.
Definition at line 166 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set Expression Template FE space for velocity.
velocityEta_fespace | Expression Template FE space for velocity |
Implements Stabilization.
Definition at line 168 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set Expression Template FE space for velocity.
pressureEta_fespace | Expression Template FE space for pressure |
Implements Stabilization.
Definition at line 170 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Set if using the graph.
useGraph | true it uses the graph, false it does not use the graph |
Reimplemented from Stabilization.
Definition at line 172 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Get block00 of the stabilization matrix.
Implements Stabilization.
Definition at line 177 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Get block01 of the stabilization matrix.
Implements Stabilization.
Definition at line 182 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Get block10 of the stabilization matrix.
Implements Stabilization.
Definition at line 187 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Get block11 of the stabilization matrix.
Implements Stabilization.
Definition at line 192 of file StabilizationSUPG_semi_implicit.hpp.
|
inlinevirtual |
Get name of stabilization being used.
Implements Stabilization.
Definition at line 197 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
finite element spaces for velocity and pressure
Definition at line 207 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 208 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 210 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 211 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Epetra communicator.
Definition at line 214 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
fluid dynamic viscosity
Definition at line 217 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
fluid density
Definition at line 220 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
stabilization parameters for the momentum and continuity equations
Definition at line 223 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 224 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 225 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 226 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 228 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 231 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 232 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 233 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 234 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 237 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 238 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 239 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 240 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 242 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 244 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 246 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 248 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 250 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 251 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 252 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 254 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 255 of file StabilizationSUPG_semi_implicit.hpp.
|
private |
Definition at line 256 of file StabilizationSUPG_semi_implicit.hpp.