24 #ifndef SORPTION_BASE_H 25 #define SORPTION_BASE_H 64 <<
" does not match the number of substances.");
85 EqData(
const string &output_field_name,
const string &output_field_desc);
123 void initialize()
override;
129 void zero_time_step()
override;
135 void update_solution(
void)
override;
137 void output_data(
void)
override;
152 void make_reactions();
156 void initialize_substance_ids();
159 void initialize_from_input();
162 void initialize_fields();
165 void set_initial_condition();
184 void make_tables(
void);
187 void update_max_conc();
190 void clear_max_conc();
253 #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