37 return IT::Record(
"Sorption",
"Sorption model in the reaction term of transport.")
40 .
declare_key(
"output", make_output_type(
"Sorption",
"conc_solid",
"Concentration solution in the solid phase."),
42 "Setting of the fields output.")
50 data_ =
new EqData(
"conc_solid",
"Concentration solution in the solid phase.");
55 Input::register_class< SorptionSimple, Mesh &, Input::Record >(
"Sorption") +
77 const string &output_conc_name,
78 const string &output_conc_desc)
81 data_ =
new EqData(output_conc_name, output_conc_desc);
84 .
name(
"porosity_immobile")
97 return IT::Record(
"SorptionMobile",
"Sorption model in the mobile zone, following the dual porosity model.")
102 "Setting of the fields output.")
109 Input::register_class< SorptionMob, Mesh &, Input::Record >(
"SorptionMobile") +
114 :
SorptionDual(init_mesh, in_rec,
"conc_solid",
"Concentration solution in the solid mobile phase.")
126 double phi = por_m/(por_m + por_imm);
139 return IT::Record(
"SorptionImmobile",
"Sorption model in the immobile zone, following the dual porosity model.")
142 .
declare_key(
"output",
make_output_type(
"SorptionImmobile",
"conc_immobile_solid",
"Concentration solution in the solid immobile phase."),
143 IT::Default(
"{ \"fields\": [ \"conc_immobile_solid\" ] }"),
144 "Setting of the fields output.")
150 Input::register_class< SorptionImmob, Mesh &, Input::Record >(
"SorptionImmobile") +
154 :
SorptionDual(init_mesh, in_rec,
"conc_immobile_solid",
"Concentration solution in the solid immobile phase.")
165 double phi = por_m/(por_m + por_imm);
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
~SorptionDual(void)
Destructor.
FieldCommon & flags_add(FieldFlag::Flags::Mask mask)
static Input::Type::Instance make_output_type(const string &equation_name, const string &output_field_name, const string &output_field_desc)
~SorptionMob(void)
Destructor.
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
Abstract class of sorption model in case dual porosity is considered.
Field< 3, FieldValue< 3 >::Scalar > rock_density
Rock matrix density.
static const Input::Type::Record & get_input_type()
static Input::Type::Abstract & it_abstract_mobile_term()
SorptionDual(Mesh &init_mesh, Input::Record in_rec, const string &output_conc_name, const string &output_conc_desc)
Constructor.
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
arma::vec::fixed< spacedim > centre() const
Computes the barycenter.
double no_sorbing_surface_cond
Field< 3, FieldValue< 3 >::Scalar > porosity
Porosity field copied from transport.
Field< 3, FieldValue< 3 >::Scalar > immob_porosity_
static constexpr Mask input_copy
static const Input::Type::Record & get_input_type()
static Input::Type::Abstract & it_abstract_immobile_term()
virtual Value::return_type const & value(const Point &p, const ElementAccessor< spacedim > &elm) const
static Input::Type::Abstract & it_abstract_term()
SorptionImmob(Mesh &init_mesh, Input::Record in_rec)
Constructor.
static const int registrar
Registrar of class to factory.
SorptionSimple(Mesh &init_mesh, Input::Record in_rec)
Constructor.
static const int registrar
Registrar of class to factory.
~SorptionSimple(void)
Destructor.
FieldCommon & name(const string &name)
static const int registrar
Registrar of class to factory.
Simple sorption model without dual porosity.
static const Input::Type::Record & get_input_type()
FieldCommon & set_limits(double min, double max=std::numeric_limits< double >::max())
EqData * data_
Pointer to equation data. The object is constructed in descendants.
Other possible transformation of coordinates:
static const Input::Type::Record & get_input_type()
This file contains classes representing sorption model. Sorption model can be computed both in case t...
#define FLOW123D_FORCE_LINK_IN_CHILD(x)
SorptionMob(Mesh &init_mesh, Input::Record in_rec)
Constructor.
struct SorptionBase::CommonElementData common_ele_data
~SorptionImmob(void)
Destructor.