Flow123d
JS_before_hm-2115-gf629a871a
|
Go to the documentation of this file.
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 eq_fields_ = std::make_shared<EqFields>(
"conc_solid",
"Concentration solution in the solid phase.");
56 Input::register_class< SorptionSimple, Mesh &, Input::Record >(
"Sorption") +
82 .
name(
"porosity_immobile")
87 const string &output_conc_name,
88 const string &output_conc_desc)
91 eq_fields_dual_ = std::make_shared<EqFields>(output_conc_name, output_conc_desc);
105 return IT::Record(
"SorptionMobile",
"Sorption model in the mobile zone, following the dual porosity model.")
110 "Setting of the fields output.")
117 Input::register_class< SorptionMob, Mesh &, Input::Record >(
"SorptionMobile") +
122 :
SorptionDual(init_mesh, in_rec,
"conc_solid",
"Concentration solution in the solid mobile phase.")
134 double phi = por_m/(por_m + por_imm);
147 return IT::Record(
"SorptionImmobile",
"Sorption model in the immobile zone, following the dual porosity model.")
150 .
declare_key(
"output",
make_output_type(
"SorptionImmobile",
"conc_immobile_solid",
"Concentration solution in the solid immobile phase."),
151 IT::Default(
"{ \"fields\": [ \"conc_immobile_solid\" ] }"),
152 "Setting of the fields output.")
158 Input::register_class< SorptionImmob, Mesh &, Input::Record >(
"SorptionImmobile") +
162 :
SorptionDual(init_mesh, in_rec,
"conc_immobile_solid",
"Concentration solution in the solid immobile phase.")
173 double phi = por_m/(por_m + por_imm);
SorptionDual(Mesh &init_mesh, Input::Record in_rec, const string &output_conc_name, const string &output_conc_desc)
Constructor.
SorptionImmob(Mesh &init_mesh, Input::Record in_rec)
Constructor.
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
static const Input::Type::Record & get_input_type()
static Input::Type::Abstract & it_abstract_immobile_term()
SorptionMob(Mesh &init_mesh, Input::Record in_rec)
Constructor.
static const int registrar
Registrar of class to factory.
~SorptionMob(void)
Destructor.
~SorptionImmob(void)
Destructor.
~SorptionSimple(void)
Destructor.
std::shared_ptr< EqFields > eq_fields_
Pointer to equation fields. The object is constructed in descendants.
#define FLOW123D_FORCE_LINK_IN_CHILD(x)
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
FieldCommon & set_limits(double min, double max=std::numeric_limits< double >::max())
double no_sorbing_surface_cond
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)
static const Input::Type::Record & get_input_type()
This file contains classes representing sorption model. Sorption model can be computed both in case t...
void compute_common_ele_data(const ElementAccessor< 3 > &elem) override
Computes CommonElementData.
~SorptionDual(void)
Destructor.
Simple sorption model without dual porosity.
static constexpr Mask input_copy
static const Input::Type::Record & get_input_type()
static Input::Type::Abstract & it_abstract_term()
static const int registrar
Registrar of class to factory.
std::shared_ptr< EqFields > eq_fields_base_
Equation data - all fields needs in assembly class.
std::shared_ptr< EqFields > eq_fields_dual_
Overwrites SorptionBase::eq_fields_.
static const Input::Type::Record & get_input_type()
static Input::Type::Abstract & it_abstract_mobile_term()
Abstract class of sorption model in case dual porosity is considered.
SorptionSimple(Mesh &init_mesh, Input::Record in_rec)
Constructor.
Field< 3, FieldValue< 3 >::Scalar > immob_porosity_
FieldCommon & name(const string &name)
arma::vec::fixed< spacedim > centre() const
Computes the barycenter.
static const int registrar
Registrar of class to factory.
struct SorptionBase::CommonElementData common_ele_data