Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
SorptionBase::EqData Class Reference

#include <sorption_base.hh>

Inheritance diagram for SorptionBase::EqData:
Inheritance graph
[legend]
Collaboration diagram for SorptionBase::EqData:
Collaboration graph
[legend]

Public Member Functions

 EqData (const string &output_field_name)
 Collect all fields. More...
 
- Public Member Functions inherited from FieldSet
 DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommon::EI_Field::qval)
 
Input::Type::Record make_field_descriptor_type (const std::string &equation_name) const
 
Input::Type::Selection make_output_field_selection (const string &name, const string &desc="")
 
void set_field (const std::string &dest_field_name, FieldCommon &source)
 
FieldCommonfield (const std::string &field_name) const
 
FieldCommonoperator[] (const std::string &field_name) const
 
void set_components (const std::vector< string > &names)
 
void set_mesh (const Mesh &mesh)
 
void set_input_list (Input::Array input_list)
 
void set_limit_side (LimitSide side)
 
void flags_add (FieldFlag::Flags::Mask mask)
 
void set_time (const TimeStep &time)
 
void output_type (OutputTime::DiscreteSpace rt)
 
void mark_input_times (TimeMark::Type mark_type)
 
bool changed () const
 
bool is_constant (Region reg) const
 
void output (OutputTime *stream)
 
FieldCommonadd_field (FieldCommon *field, const string &name, const string &desc, const string &d_val="")
 

Public Attributes

Field< 3, FieldValue
< 3 >::EnumVector > 
sorption_type
 Discrete need Selection for initialization. More...
 
Field< 3, FieldValue< 3 >::Scalar > rock_density
 Rock matrix density. More...
 
Field< 3, FieldValue< 3 >::Vector > isotherm_mult
 Multiplication coefficients (k, omega) for all types of isotherms. More...
 
Field< 3, FieldValue< 3 >::Vector > isotherm_other
 Langmuir sorption coeficients alpha (in fraction c_s = omega * (alpha*c_a)/(1- alpha*c_a)). More...
 
Field< 3, FieldValue< 3 >::Vector > init_conc_solid
 Initial sorbed concentrations. More...
 
Field< 3, FieldValue< 3 >::Scalar > porosity
 Porosity field copied from transport. More...
 
MultiField< 3, FieldValue
< 3 >::Scalar > 
conc_solid
 Calculated sorbed concentrations, for output only. More...
 
FieldSet input_data_set_
 Input data set - fields in this set are read from the input file. More...
 
FieldSet output_fields
 Fields indended for output, i.e. all input fields plus those representing solution. More...
 

Static Public Attributes

static Input::Type::Selection sorption_type_selection
 
- Static Public Attributes inherited from FieldFlag
static constexpr unsigned int flags_size_ = 3
 Number of bits used by Field itself. More...
 
static constexpr Mask equation_input {1}
 The field is data parameter of the owning equation. (default on) More...
 
static constexpr Mask declare_input {2}
 The field can be set from input. The key in input field descriptor is declared. (default on) More...
 
static constexpr Mask allow_output {4}
 The field can output. Is part of generated output selection. (default on) More...
 
static constexpr Mask input_copy = ~declare_input & equation_input
 A field that is input of its equation and can not read from input, thus must be set by copy. More...
 
static constexpr Mask in_time_term {8}
 A field is part of time term of the equation. More...
 
static constexpr Mask in_main_matrix {16}
 A field is part of main "stiffness matrix" of the equation. More...
 
static constexpr Mask in_rhs {32}
 A field is part of the right hand side of the equation. More...
 
static constexpr Mask equation_result = allow_output & ~declare_input & ~equation_input
 Match result fields. These are never given by input or copy of input. More...
 
static constexpr Mask equation_external_output = allow_output & input_copy
 Match an output field, that can be also copy of other field. More...
 

Additional Inherited Members

- Public Types inherited from FieldFlag
typedef FlagArray< FieldFlagFlags
 
typedef Flags::Mask Mask
 
- Protected Attributes inherited from FieldSet
std::vector< FieldCommon * > field_list
 List of all fields. More...
 

Detailed Description

Definition at line 52 of file sorption_base.hh.

Constructor & Destructor Documentation

SorptionBase::EqData::EqData ( const string &  output_field_name)

Collect all fields.

Definition at line 53 of file sorption_base.cc.

Member Data Documentation

MultiField<3, FieldValue<3>::Scalar> SorptionBase::EqData::conc_solid

Calculated sorbed concentrations, for output only.

Definition at line 75 of file sorption_base.hh.

Field<3, FieldValue<3>::Vector> SorptionBase::EqData::init_conc_solid

Initial sorbed concentrations.

Definition at line 72 of file sorption_base.hh.

FieldSet SorptionBase::EqData::input_data_set_

Input data set - fields in this set are read from the input file.

Definition at line 78 of file sorption_base.hh.

Field<3, FieldValue<3>::Vector > SorptionBase::EqData::isotherm_mult

Multiplication coefficients (k, omega) for all types of isotherms.

Langmuir: c_s = omega * (alpha*c_a)/(1- alpha*c_a), Linear: c_s = k*c_a

Definition at line 68 of file sorption_base.hh.

Field<3, FieldValue<3>::Vector > SorptionBase::EqData::isotherm_other

Langmuir sorption coeficients alpha (in fraction c_s = omega * (alpha*c_a)/(1- alpha*c_a)).

Definition at line 70 of file sorption_base.hh.

FieldSet SorptionBase::EqData::output_fields

Fields indended for output, i.e. all input fields plus those representing solution.

Definition at line 81 of file sorption_base.hh.

Field<3, FieldValue<3>::Scalar > SorptionBase::EqData::porosity

Porosity field copied from transport.

Definition at line 73 of file sorption_base.hh.

Field<3, FieldValue<3>::Scalar > SorptionBase::EqData::rock_density

Rock matrix density.

Definition at line 64 of file sorption_base.hh.

Field<3, FieldValue<3>::EnumVector > SorptionBase::EqData::sorption_type

Discrete need Selection for initialization.

Definition at line 63 of file sorption_base.hh.

Selection SorptionBase::EqData::sorption_type_selection
static
Initial value:
= Selection("SorptionType")
.add_value(Isotherm::none,"none", "No sorption considered.")
.add_value(Isotherm::linear, "linear",
"Linear isotherm runs the concentration exchange between liquid and solid.")
.add_value(Isotherm::langmuir, "langmuir",
"Langmuir isotherm runs the concentration exchange between liquid and solid.")
.add_value(Isotherm::freundlich, "freundlich",
"Freundlich isotherm runs the concentration exchange between liquid and solid.")

Sorption type specifies a kind of equilibrial description of adsorption.

Definition at line 58 of file sorption_base.hh.


The documentation for this class was generated from the following files: