OGS
|
Definition at line 77 of file RichardsComponentTransportFEM.h.
#include <RichardsComponentTransportFEM.h>
Public Member Functions | |
LocalAssemblerData (MeshLib::Element const &element, std::size_t const local_matrix_size, NumLib::GenericIntegrationMethod const &integration_method, bool is_axially_symmetric, RichardsComponentTransportProcessData const &process_data, ProcessVariable const &transport_process_variable) | |
void | assemble (double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data) override |
std::vector< double > const & | getIntPtDarcyVelocity (const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override |
Eigen::Map< const Eigen::RowVectorXd > | getShapeMatrix (const unsigned integration_point) const override |
Provides the shape matrix at the given integration point. | |
std::vector< double > const & | getIntPtSaturation (const double t, std::vector< GlobalVector * > const &x, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_table, std::vector< double > &cache) const override |
Public Member Functions inherited from ProcessLib::RichardsComponentTransport::RichardsComponentTransportLocalAssemblerInterface | |
Public Member Functions inherited from ProcessLib::LocalAssemblerInterface | |
virtual | ~LocalAssemblerInterface ()=default |
virtual void | setInitialConditions (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, double const t, int const process_id) |
virtual void | initialize (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table) |
virtual void | preAssemble (double const, double const, std::vector< double > const &) |
virtual void | assembleForStaggeredScheme (double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_M_data, std::vector< double > &local_K_data, std::vector< double > &local_b_data) |
virtual void | assembleWithJacobian (double const t, double const dt, std::vector< double > const &local_x, std::vector< double > const &local_x_prev, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) |
virtual void | assembleWithJacobianForStaggeredScheme (double const t, double const dt, Eigen::VectorXd const &local_x, Eigen::VectorXd const &local_x_prev, int const process_id, std::vector< double > &local_b_data, std::vector< double > &local_Jac_data) |
virtual void | computeSecondaryVariable (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, double const t, double const dt, std::vector< GlobalVector * > const &x, GlobalVector const &x_prev, int const process_id) |
virtual void | preTimestep (std::size_t const mesh_item_id, NumLib::LocalToGlobalIndexMap const &dof_table, GlobalVector const &x, double const t, double const delta_t) |
virtual void | postTimestep (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) |
void | postNonLinearSolver (std::size_t const mesh_item_id, std::vector< NumLib::LocalToGlobalIndexMap const * > const &dof_tables, std::vector< GlobalVector * > const &x, std::vector< GlobalVector * > const &x_prev, double const t, double const dt, int const process_id) |
virtual Eigen::Vector3d | getFlux (MathLib::Point3d const &, double const, std::vector< double > const &) const |
virtual Eigen::Vector3d | getFlux (MathLib::Point3d const &, double const, std::vector< std::vector< double > > const &) const |
Fits to staggered scheme. | |
Public Member Functions inherited from NumLib::ExtrapolatableElement | |
virtual | ~ExtrapolatableElement ()=default |
Private Types | |
using | ShapeMatricesType = ShapeMatrixPolicyType<ShapeFunction, GlobalDim> |
using | ShapeMatrices = typename ShapeMatricesType::ShapeMatrices |
using | LocalMatrixType |
using | LocalVectorType |
using | NodalVectorType = typename ShapeMatricesType::NodalVectorType |
using | NodalRowVectorType = typename ShapeMatricesType::NodalRowVectorType |
using | GlobalDimVectorType = typename ShapeMatricesType::GlobalDimVectorType |
using | GlobalDimNodalMatrixType |
using | NodalMatrixType = typename ShapeMatricesType::NodalMatrixType |
using | GlobalDimMatrixType = typename ShapeMatricesType::GlobalDimMatrixType |
Private Attributes | |
unsigned const | _element_id |
RichardsComponentTransportProcessData const & | _process_data |
NumLib::GenericIntegrationMethod const & | _integration_method |
ProcessVariable const & | _transport_process_variable |
std::vector< IntegrationPointData< NodalRowVectorType, GlobalDimNodalMatrixType, NodalMatrixType >, Eigen::aligned_allocator< IntegrationPointData< NodalRowVectorType, GlobalDimNodalMatrixType, NodalMatrixType > > > | _ip_data |
Static Private Attributes | |
static const int | concentration_index = 0 |
static const int | concentration_size = ShapeFunction::NPOINTS |
static const int | pressure_index = ShapeFunction::NPOINTS |
static const int | pressure_size = ShapeFunction::NPOINTS |
|
private |
Definition at line 97 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 94 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 93 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 83 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 86 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 96 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 91 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 90 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 81 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 80 of file RichardsComponentTransportFEM.h.
ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::LocalAssemblerData | ( | MeshLib::Element const & | element, |
std::size_t const | local_matrix_size, | ||
NumLib::GenericIntegrationMethod const & | integration_method, | ||
bool | is_axially_symmetric, | ||
RichardsComponentTransportProcessData const & | process_data, | ||
ProcessVariable const & | transport_process_variable ) |
Definition at line 22 of file RichardsComponentTransportFEM-impl.h.
References ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::_integration_method, ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::_ip_data, NumLib::GenericIntegrationMethod::getNumberOfPoints(), MathLib::WeightedPoint::getWeight(), NumLib::GenericIntegrationMethod::getWeightedPoint(), NumLib::initShapeMatrices(), and ProcessLib::RichardsComponentTransport::NUM_NODAL_DOF.
|
overridevirtual |
Reimplemented from ProcessLib::LocalAssemblerInterface.
Definition at line 61 of file RichardsComponentTransportFEM-impl.h.
References MaterialPropertyLib::capillary_pressure, MaterialPropertyLib::VariableArray::capillary_pressure, MaterialPropertyLib::VariableArray::concentration, MathLib::createZeroedMatrix(), MathLib::createZeroedVector(), MaterialPropertyLib::decay_rate, MaterialPropertyLib::density, MaterialPropertyLib::VariableArray::density, MaterialPropertyLib::formEigenTensor(), MaterialPropertyLib::VariableArray::gas_phase_pressure, MaterialPropertyLib::VariableArray::liquid_phase_pressure, MaterialPropertyLib::VariableArray::liquid_saturation, MaterialPropertyLib::longitudinal_dispersivity, ProcessLib::RichardsComponentTransport::NUM_NODAL_DOF, MaterialPropertyLib::permeability, MaterialPropertyLib::pore_diffusion, MaterialPropertyLib::porosity, MaterialPropertyLib::relative_permeability, MaterialPropertyLib::retardation_factor, MaterialPropertyLib::saturation, ParameterLib::SpatialPosition::setElementID(), ParameterLib::SpatialPosition::setIntegrationPoint(), NumLib::detail::shapeFunctionInterpolate(), MaterialPropertyLib::storage, MaterialPropertyLib::transversal_dispersivity, and MaterialPropertyLib::viscosity.
|
overridevirtual |
Implements ProcessLib::RichardsComponentTransport::RichardsComponentTransportLocalAssemblerInterface.
Definition at line 233 of file RichardsComponentTransportFEM-impl.h.
References MaterialPropertyLib::VariableArray::capillary_pressure, MaterialPropertyLib::VariableArray::concentration, MathLib::createZeroedMatrix(), MaterialPropertyLib::density, MaterialPropertyLib::formEigenTensor(), NumLib::getIndices(), MaterialPropertyLib::VariableArray::liquid_phase_pressure, MaterialPropertyLib::VariableArray::liquid_saturation, MaterialPropertyLib::permeability, MaterialPropertyLib::relative_permeability, MaterialPropertyLib::saturation, ParameterLib::SpatialPosition::setElementID(), NumLib::detail::shapeFunctionInterpolate(), and MaterialPropertyLib::viscosity.
|
overridevirtual |
Implements ProcessLib::RichardsComponentTransport::RichardsComponentTransportLocalAssemblerInterface.
Definition at line 323 of file RichardsComponentTransportFEM-impl.h.
References MaterialPropertyLib::VariableArray::capillary_pressure, MathLib::createZeroedVector(), NumLib::getIndices(), MaterialPropertyLib::saturation, ParameterLib::SpatialPosition::setElementID(), and NumLib::detail::shapeFunctionInterpolate().
|
overridevirtual |
Provides the shape matrix at the given integration point.
Implements NumLib::ExtrapolatableElement.
Definition at line 312 of file RichardsComponentTransportFEM-impl.h.
|
private |
Definition at line 131 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 134 of file RichardsComponentTransportFEM.h.
Referenced by ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::LocalAssemblerData().
|
private |
Definition at line 142 of file RichardsComponentTransportFEM.h.
Referenced by ProcessLib::RichardsComponentTransport::LocalAssemblerData< ShapeFunction, GlobalDim >::LocalAssemblerData().
|
private |
Definition at line 132 of file RichardsComponentTransportFEM.h.
|
private |
Definition at line 135 of file RichardsComponentTransportFEM.h.
|
staticprivate |
Definition at line 144 of file RichardsComponentTransportFEM.h.
|
staticprivate |
Definition at line 145 of file RichardsComponentTransportFEM.h.
|
staticprivate |
Definition at line 146 of file RichardsComponentTransportFEM.h.
|
staticprivate |
Definition at line 147 of file RichardsComponentTransportFEM.h.