|
Flow123d
|
#include <concentration_model.hh>


Classes | |
| class | ModelEqData |
Public Member Functions | |
| ConcentrationTransportModel () | |
| void | init_data (unsigned int n_subst_) override |
| Initialize model data. E.g. set vector field dimensions. More... | |
| void | set_component_names (std::vector< string > &names, const Input::Record &in_rec) override |
| Temporary solution for sharing data from other equations. More... | |
| bool | mass_matrix_changed () override |
| Check if mass matrix coefficients have changed. More... | |
| bool | stiffness_matrix_changed () override |
| Check if stiffness matrix coefficients have changed. More... | |
| bool | rhs_changed () override |
| Check if right hand side coefficients have changed. More... | |
| void | compute_mass_matrix_coefficient (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< double > &mm_coef) override |
| void | calculate_dispersivity_tensor (const arma::vec3 &velocity, double Dm, double alphaL, double alphaT, double porosity, double cross_cut, arma::mat33 &K) |
| void | compute_advection_diffusion_coefficients (const std::vector< arma::vec3 > &point_list, const std::vector< arma::vec3 > &velocity, const ElementAccessor< 3 > &ele_acc, std::vector< std::vector< arma::vec3 > > &ad_coef, std::vector< std::vector< arma::mat33 > > &dif_coef) override |
| void | compute_init_cond (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &init_values) override |
| void | compute_dirichlet_bc (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &bc_values) override |
| void | compute_source_coefficients (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &sources_conc, std::vector< arma::vec > &sources_density, std::vector< arma::vec > &sources_sigma) override |
| void | compute_sources_sigma (const std::vector< arma::vec3 > &point_list, const ElementAccessor< 3 > &ele_acc, std::vector< arma::vec > &sources_sigma) override |
| ~ConcentrationTransportModel () override | |
Public Member Functions inherited from AdvectionDiffusionModel | |
| virtual | ~AdvectionDiffusionModel () |
| Destructor. More... | |
Protected Member Functions | |
| virtual ModelEqData & | data ()=0 |
| Derived class should implement getter for ModelEqData instance. More... | |
Static Protected Member Functions | |
| static IT::Record & | get_input_type (const string &implementation, const string &description) |
Protected Attributes | |
| bool | flux_changed |
| Indicator of change in advection vector field. More... | |
Definition at line 37 of file concentration_model.hh.
| ConcentrationTransportModel::ConcentrationTransportModel | ( | ) |
Definition at line 82 of file concentration_model.cc.
|
override |
Definition at line 247 of file concentration_model.cc.
| void ConcentrationTransportModel::calculate_dispersivity_tensor | ( | const arma::vec3 & | velocity, |
| double | Dm, | ||
| double | alphaL, | ||
| double | alphaT, | ||
| double | porosity, | ||
| double | cross_cut, | ||
| arma::mat33 & | K | ||
| ) |
Formula to calculate the dispersivity tensor.
| velocity | Fluid velocity. |
| Dm | Molecular diffusivity. |
| alphaL | Longitudal dispersivity. |
| alphaT | Transversal dispersivity. |
| porosity | Porosity. |
| cross_cut | Cross-section. |
| K | Dispersivity tensor (output). |
Definition at line 152 of file concentration_model.cc.

|
overridevirtual |
Compute coefficients of stiffness matrix.
| point_list | Points at which to evaluate. |
| velocity | Velocity field (input). Temporary solution before we can pass data from other equations. |
| ele_acc | Element accessor. |
| ad_coef | Coefficients of advection (output). |
| dif_coef | Coefficients of diffusion (output). |
Implements AdvectionDiffusionModel.
Definition at line 170 of file concentration_model.cc.
|
overridevirtual |
Computes the Dirichlet boundary condition values.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| bc_values | Vector of b.c. values (output). |
Implements AdvectionDiffusionModel.
Definition at line 204 of file concentration_model.cc.
|
overridevirtual |
Compute initial conditions.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| init_values | Vector of intial values (output). |
Implements AdvectionDiffusionModel.
Definition at line 196 of file concentration_model.cc.
|
overridevirtual |
Compute coefficients of mass matrix.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| mm_coef | Coefficient vector (output). |
Implements AdvectionDiffusionModel.
Definition at line 138 of file concentration_model.cc.
|
overridevirtual |
Compute coefficients of volume sources.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| sources_conc | Source concentrations (output). |
| sources_density | Source densities (output). |
| sources_sigma | Source sigmas (output). |
Implements AdvectionDiffusionModel.
Definition at line 212 of file concentration_model.cc.
|
overridevirtual |
Compute coefficients of volume sources.
| point_list | Points at which to evaluate. |
| ele_acc | Element accessor. |
| sources_sigma | Source sigmas (output). |
Implements AdvectionDiffusionModel.
Definition at line 233 of file concentration_model.cc.
|
protectedpure virtual |
Derived class should implement getter for ModelEqData instance.

|
staticprotected |
Create input type that can be passed to the derived class.
| implementation | String characterizing the numerical method, e.g. DG, FEM, FVM. |
| description | Comment used to describe the record key. |
Definition at line 64 of file concentration_model.cc.
|
overridevirtual |
Initialize model data. E.g. set vector field dimensions.
Implements AdvectionDiffusionModel.
Definition at line 87 of file concentration_model.cc.
|
overridevirtual |
Check if mass matrix coefficients have changed.
Implements AdvectionDiffusionModel.
Definition at line 112 of file concentration_model.cc.
|
overridevirtual |
Check if right hand side coefficients have changed.
Implements AdvectionDiffusionModel.
Definition at line 129 of file concentration_model.cc.
|
overridevirtual |
Temporary solution for sharing data from other equations.
Read or set names of solution components.
Implements AdvectionDiffusionModel.
Definition at line 106 of file concentration_model.cc.
|
overridevirtual |
Check if stiffness matrix coefficients have changed.
Implements AdvectionDiffusionModel.
Definition at line 118 of file concentration_model.cc.
|
protected |
Indicator of change in advection vector field.
Definition at line 84 of file concentration_model.hh.
1.8.4