Definition at line 70 of file TwoPhaseFlowWithPPLocalAssembler.h.
#include <TwoPhaseFlowWithPPLocalAssembler.h>
Public Member Functions | |
TwoPhaseFlowWithPPLocalAssembler (MeshLib::Element const &element, std::size_t const, NumLib::GenericIntegrationMethod const &integration_method, bool const is_axially_symmetric, TwoPhaseFlowWithPPProcessData const &process_data) | |
void | setInitialConditionsConcrete (Eigen::VectorXd const local_x, double const t, int const process_id) override |
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 |
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, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &) const override |
std::vector< double > const & | getIntPtWetPressure (const double, std::vector< GlobalVector * > const &, std::vector< NumLib::LocalToGlobalIndexMap const * > const &, std::vector< double > &) const override |
![]() | |
![]() | |
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. | |
virtual std::optional< VectorSegment > | getVectorDeformationSegment () const |
![]() | |
virtual | ~ExtrapolatableElement ()=default |
Private Types | |
using | ShapeMatricesType = ShapeMatrixPolicyType<ShapeFunction, GlobalDim> |
using | ShapeMatrices = typename ShapeMatricesType::ShapeMatrices |
using | LocalAssemblerTraits |
using | NodalRowVectorType = typename ShapeMatricesType::NodalRowVectorType |
using | GlobalDimNodalMatrixType |
using | NodalMatrixType = typename ShapeMatricesType::NodalMatrixType |
using | NodalVectorType = typename ShapeMatricesType::NodalVectorType |
using | GlobalDimMatrixType = typename ShapeMatricesType::GlobalDimMatrixType |
using | GlobalDimVectorType = typename ShapeMatricesType::GlobalDimVectorType |
using | LocalMatrixType = typename LocalAssemblerTraits::LocalMatrix |
using | LocalVectorType = typename LocalAssemblerTraits::LocalVector |
Private Attributes | |
MeshLib::Element const & | _element |
NumLib::GenericIntegrationMethod const & | _integration_method |
TwoPhaseFlowWithPPProcessData const & | _process_data |
std::vector< IntegrationPointData< NodalRowVectorType, GlobalDimNodalMatrixType, NodalMatrixType >, Eigen::aligned_allocator< IntegrationPointData< NodalRowVectorType, GlobalDimNodalMatrixType, NodalMatrixType > > > | _ip_data |
std::vector< double > | _saturation |
std::vector< double > | _pressure_wet |
Static Private Attributes | |
static const int | nonwet_pressure_coeff_index = 0 |
static const int | cap_pressure_coeff_index = 1 |
static const int | nonwet_pressure_matrix_index = 0 |
static const int | cap_pressure_matrix_index = ShapeFunction::NPOINTS |
static const int | nonwet_pressure_size = ShapeFunction::NPOINTS |
static const int | cap_pressure_size = ShapeFunction::NPOINTS |
|
private |
Definition at line 84 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 80 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 85 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 76 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 86 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 87 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 82 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 78 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 83 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 74 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 73 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
inline |
Definition at line 90 of file TwoPhaseFlowWithPPLocalAssembler.h.
References ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::_integration_method, ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::_ip_data, NumLib::GenericIntegrationMethod::getNumberOfPoints(), MathLib::WeightedPoint::getWeight(), NumLib::GenericIntegrationMethod::getWeightedPoint(), and NumLib::initShapeMatrices().
|
overridevirtual |
Reimplemented from ProcessLib::LocalAssemblerInterface.
Definition at line 71 of file TwoPhaseFlowWithPPLocalAssembler-impl.h.
References MaterialPropertyLib::VariableArray::capillary_pressure, MathLib::createZeroedMatrix(), MathLib::createZeroedVector(), MaterialPropertyLib::formEigenTensor(), MaterialPropertyLib::VariableArray::gas_phase_pressure, MaterialPropertyLib::VariableArray::liquid_saturation, MaterialPropertyLib::VariableArray::molar_mass, ProcessLib::TwoPhaseFlowWithPP::NUM_NODAL_DOF, ParameterLib::SpatialPosition::setElementID(), NumLib::detail::shapeFunctionInterpolate(), and MaterialPropertyLib::VariableArray::temperature.
|
inlineoverridevirtual |
Implements ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssemblerInterface.
Definition at line 141 of file TwoPhaseFlowWithPPLocalAssembler.h.
References ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::_saturation.
|
inlineoverridevirtual |
Implements ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssemblerInterface.
Definition at line 151 of file TwoPhaseFlowWithPPLocalAssembler.h.
References ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::_pressure_wet.
|
inlineoverridevirtual |
Provides the shape matrix at the given integration point.
Implements NumLib::ExtrapolatableElement.
Definition at line 132 of file TwoPhaseFlowWithPPLocalAssembler.h.
References ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::_ip_data.
|
overridevirtual |
Reimplemented from ProcessLib::LocalAssemblerInterface.
Definition at line 46 of file TwoPhaseFlowWithPPLocalAssembler-impl.h.
References MaterialPropertyLib::VariableArray::capillary_pressure, and ParameterLib::SpatialPosition::setElementID().
|
private |
Definition at line 162 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 164 of file TwoPhaseFlowWithPPLocalAssembler.h.
Referenced by ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::TwoPhaseFlowWithPPLocalAssembler().
|
private |
Definition at line 172 of file TwoPhaseFlowWithPPLocalAssembler.h.
Referenced by ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::TwoPhaseFlowWithPPLocalAssembler(), and ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::getShapeMatrix().
|
private |
Definition at line 179 of file TwoPhaseFlowWithPPLocalAssembler.h.
Referenced by ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::getIntPtWetPressure().
|
private |
Definition at line 166 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
private |
Definition at line 176 of file TwoPhaseFlowWithPPLocalAssembler.h.
Referenced by ProcessLib::TwoPhaseFlowWithPP::TwoPhaseFlowWithPPLocalAssembler< ShapeFunction, GlobalDim >::getIntPtSaturation().
|
staticprivate |
Definition at line 181 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
staticprivate |
Definition at line 184 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
staticprivate |
Definition at line 187 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
staticprivate |
Definition at line 180 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
staticprivate |
Definition at line 183 of file TwoPhaseFlowWithPPLocalAssembler.h.
|
staticprivate |
Definition at line 186 of file TwoPhaseFlowWithPPLocalAssembler.h.