Flow123d
JS_before_hm-2150-g5e4b4b118
|
Go to the documentation of this file.
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"; }
192 virtual ModelEqData &
eq_data() = 0;
static IT::Selection get_output_selection()
MultiField< 3, FieldValue< 3 >::Scalar > sources_density_out
Concentration sources - density output.
MultiField< 3, FieldValue< 3 >::Scalar > init_condition
Initial concentrations.
unsigned int n_substances() override
Returns number of transported substances.
void set_balance_object(std::shared_ptr< Balance > balance) override
unsigned int n_substances()
Returns number of transported substances.
MultiField< 3, FieldValue< 3 >::VectorFixed > advection_coef
Advection coefficients.
SubstanceList substances_
Transported substances.
SubstanceList & substances()
Returns reference to the vector of substance names.
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_robin_sigma
Transition coefficient in total/diffusive flux b.c.
virtual ModelEqFields & eq_fields()=0
Derived class should implement getter for ModelEqFields instance.
unsigned int size() const
vector< unsigned int > subst_idx_
List of indices used to call balance methods for a set of quantities.
virtual ModelEqData & eq_data()=0
Derived class should implement getter for ModelEqData instance.
MultiField< 3, FieldValue< 3 >::Scalar > disp_t
Transversal dispersivity (for each substance).
Classes for storing substance data.
void set_output_stream(std::shared_ptr< OutputTime > stream)
Setter for output stream.
void init_from_input(const Input::Record &in_rec) override
Read necessary data from input record.
ConcentrationTransportBase FactoryBaseType
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.
MultiField< 3, FieldValue< 3 >::Scalar > sources_sigma_out
Concentration sources - sigma output.
const vector< unsigned int > & get_subst_idx() override
Return substance indices used in balance.
void init_balance(const Input::Record &in_rec)
std::shared_ptr< Balance > balance() const
static const Input::Type::Selection & get_bc_type_selection()
MultiField< 3, FieldValue< 3 >::TensorFixed > diffusion_coef
Diffusion coefficients.
void set_target_time(double) override
~ConcentrationTransportModel() override
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_flux
Flux value in total/diffusive flux b.c.
BCMultiField< 3, FieldValue< 3 >::Enum > bc_type
Type of boundary condition (see also BC_Type)
The class for outputting data during time.
Field< 3, FieldValue< 3 >::Scalar > rock_density
Rock matrix density.
SubstanceList & substances() override
Returns reference to the vector of substance names.
MultiField< 3, FieldValue< 3 >::Scalar > retardation_coef
Field represents retardation coefficients due to 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).
double solvent_density_
Density of liquid (a global constant).
MultiField< 3, FieldValue< 3 >::Scalar > sorption_coefficient
Coefficient of linear sorption.
ConcentrationTransportModel(Mesh &mesh, const Input::Record &in_rec)
Class for representation of a vector of fields of the same physical quantity.
BCMultiField< 3, FieldValue< 3 >::Scalar > bc_dirichlet_value
Prescribed concentration for Dirichlet/reference concentration for flux b.c.
static constexpr const char * name()
const vector< unsigned int > & subst_idx()
Returns reference to the vector of substance indices.
static Input::Type::Abstract & get_input_type()
Common specification of the input record for secondary equations.
static string default_output_field()
MultiField< 3, FieldValue< 3 >::Scalar > output_field
Class template representing a field with values dependent on: point, element, and region.
Field< 3, FieldValue< 3 >::Scalar > v_norm
Velocity norm field.
Field< 3, FieldValue< 3 >::Scalar > mass_matrix_coef
Field represents coefficients of mass matrix.