24 #ifndef SORPTION_BASE_H 25 #define SORPTION_BASE_H 27 #include <boost/exception/info.hpp> 63 <<
" does not match the number of substances.");
84 EqData(
const string &output_field_name,
const string &output_field_desc);
122 void initialize()
override;
128 void zero_time_step()
override;
134 void update_solution(
void)
override;
136 void output_data(
void)
override;
151 void make_reactions();
155 void initialize_substance_ids();
158 void initialize_from_input();
161 void initialize_fields();
164 void set_initial_condition();
183 void make_tables(
void);
186 void update_max_conc();
189 void clear_max_conc();
252 #endif //SORPTION_BASE_H std::shared_ptr< ReactionTerm > reaction_solid
Container for various descendants of FieldCommonBase.
MultiField< 3, FieldValue< 3 >::Scalar > conc_solid
Calculated sorbed concentrations, for output only.
std::vector< std::vector< Isotherm > > isotherms
static Input::Type::Instance make_output_type(const string &equation_name, const string &output_field_name, const string &output_field_desc)
Class template representing a field with values dependent on: point, element, and region...
Field< 3, FieldValue< 3 >::Scalar > rock_density
Rock matrix density.
Cell accessor allow iterate over DOF handler cells.
EquationOutput output_fields
Fields indended for output, i.e. all input fields plus those representing solution.
std::vector< double > table_limit_
Class ReactionTerm is an abstract class representing reaction term in transport.
std::vector< unsigned int > substance_global_idx_
Mapping from local indexing of substances to global.
MultiField< 3, FieldValue< 3 >::Scalar > isotherm_other
Langmuir sorption coeficients alpha (in fraction c_s = omega * (alpha*c_a)/(1- alpha*c_a)).
FieldFEScalarVec conc_solid_fe
Underlaying FieldFE for each substance of conc_solid.
double no_sorbing_surface_cond
Field< 3, FieldValue< 3 >::Scalar > porosity
Porosity field copied from transport.
MultiField< 3, FieldValue< 3 >::Scalar > init_conc_solid
Initial sorbed concentrations.
std::vector< double > solubility_vec_
unsigned int n_interpolation_steps_
MultiField< 3, FieldValue< 3 >::Enum > sorption_type
Discrete need Selection for initialization.
bool evaluate_time_constraint(FMT_UNUSED double &time_constraint) override
const Input::Type::Instance & make_output_type(const string &equation_name, const string &aditional_description="")
Class for representation of a vector of fields of the same physical quantity.
MultiField< 3, FieldValue< 3 >::Scalar > distribution_coefficient
Multiplication coefficients (k, omega) for all types of isotherms.
unsigned int n_substances_
EqData * data_
Pointer to equation data. The object is constructed in descendants.
std::vector< std::vector< double > > max_conc
FieldSet input_data_set_
Input data set - fields in this set are read from the input file.
std::shared_ptr< ReactionTerm > reaction_liquid