19 #ifndef CONC_TRANS_MODEL_HH_ 20 #define CONC_TRANS_MODEL_HH_ 42 namespace Input {
class Record; }
123 static constexpr
const char *
name() {
return "Solute_AdvectionDiffusion"; }
131 {
return substances_.size(); }
135 {
return subst_idx_; }
139 {
return substances_; }
167 {
return eq_data().n_substances(); }
171 {
return eq_data().substances(); }
179 void set_balance_object(std::shared_ptr<Balance> balance)
override;
182 {
return eq_data().subst_idx(); }
185 { output_stream_ = stream; }
202 static IT::Record get_input_type(
const string &implementation,
const string &description);
MultiField< 3, FieldValue< 3 >::Scalar > output_field
Field< 3, FieldValue< 3 >::Scalar > mass_matrix_coef
Field represents coefficients of mass matrix.
MultiField< 3, FieldValue< 3 >::Scalar > sources_density_out
Concentration sources - density output.
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_robin_sigma
Transition coefficient in total/diffusive flux b.c.
MultiField< 3, FieldValue< 3 >::Scalar > init_condition
Initial concentrations.
void set_output_stream(std::shared_ptr< OutputTime > stream)
Setter for output stream.
Class template representing a field with values dependent on: point, element, and region...
SubstanceList & substances() override
Returns reference to the vector of substance names.
SubstanceList substances_
Transported substances.
vector< unsigned int > subst_idx_
List of indices used to call balance methods for a set of quantities.
ConcentrationTransportBase FactoryBaseType
static constexpr const char * name()
MultiField< 3, FieldValue< 3 >::Scalar > sorption_coefficient
Coefficient of linear sorption.
MultiField< 3, FieldValue< 3 >::TensorFixed > diff_m
Molecular diffusivity (for each substance).
MultiField< 3, FieldValue< 3 >::Scalar > disp_l
Longitudal dispersivity (for each substance).
static string default_output_field()
double solvent_density_
Density of liquid (a global constant).
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_dirichlet_value
Prescribed concentration for Dirichlet/reference concentration for flux b.c.
Field< 3, FieldValue< 3 >::Scalar > rock_density
Rock matrix density.
MultiField< 3, FieldValue< 3 >::VectorFixed > advection_coef
Advection coefficients.
MultiField< 3, FieldValue< 3 >::Scalar > sources_sigma_out
Concentration sources - sigma output.
MultiField< 3, FieldValue< 3 >::Scalar > retardation_coef
Field represents retardation coefficients due to sorption.
unsigned int n_substances()
Returns number of transported substances.
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_flux
Flux value in total/diffusive flux b.c.
unsigned int n_substances() override
Returns number of transported substances.
The class for outputting data during time.
const vector< unsigned int > & get_subst_idx() override
Return substance indices used in balance.
BCMultiField< 3, FieldValue< 3 >::Enum > bc_type
Type of boundary condition (see also BC_Type)
SubstanceList & substances()
Returns reference to the vector of substance names.
Field< 3, FieldValue< 3 >::Scalar > v_norm
Velocity norm field.
Discontinuous Galerkin method for equation of transport with dispersion.
std::shared_ptr< OutputTime > output_stream_
MultiField< 3, FieldValue< 3 >::Scalar > sources_conc_out
Concentration sources - concentration output.
Classes for storing substance data.
void set_target_time(double) override
MultiField< 3, FieldValue< 3 >::TensorFixed > diffusion_coef
Diffusion coefficients.
const vector< unsigned int > & subst_idx()
Returns reference to the vector of substance indices.
Class for representation of a vector of fields of the same physical quantity.
MultiField< 3, FieldValue< 3 >::Scalar > disp_t
Transversal dispersivity (for each substance).