Flow123d
JS_before_hm-1621-g63a12c7
|
#include <concentration_model.hh>
Public Types | |
enum | Concentration_bc_types { bc_inflow, bc_dirichlet, bc_total_flux, bc_diffusive_flux } |
Public Types inherited from FieldFlag | |
typedef FlagArray< FieldFlag > | Flags |
typedef Flags::Mask | Mask |
Public Member Functions | |
ModelEqFields () | |
void | initialize () |
Public Member Functions inherited from TransportEqFields | |
TransportEqFields () | |
virtual | ~TransportEqFields () |
Public Member Functions inherited from FieldSet | |
DECLARE_EXCEPTION (ExcUnknownField,<< "Field set has no field with name: "<< FieldCommon::EI_Field::qval) | |
FieldSet () | |
Default constructor. More... | |
Input::Type::Record | make_field_descriptor_type (const std::string &equation_name) const |
void | set_field (const std::string &dest_field_name, FieldCommon &source) |
FieldCommon * | field (const std::string &field_name) const |
FieldCommon & | operator[] (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, const TimeGovernor &tg) |
void | flags_add (FieldFlag::Flags::Mask mask) |
bool | set_time (const TimeStep &time, LimitSide limit_side) |
void | output_type (OutputTime::DiscreteSpace rt) |
void | mark_input_times (const TimeGovernor &tg) |
bool | changed () const |
bool | is_constant (Region reg) const |
bool | is_jump_time () const |
void | cache_reallocate (const ElementCacheMap &cache_map, FieldSet &used_fieldset) |
void | cache_update (ElementCacheMap &cache_map) |
void | set_dependency (FieldSet &used_fieldset) |
void | add_coords_field () |
void | set_surface_depth (std::shared_ptr< SurfaceDepth > surface_depth) |
Set surface depth object to "d" field. More... | |
Range< FieldListAccessor > | fields_range () const |
Returns range of Fields held in field_list. More... | |
const Mesh * | mesh () const |
Returns pointer to mesh. More... | |
std::string | print_dependency () const |
Return order of evaluated fields by dependency and region_idx. More... | |
Static Public Member Functions | |
static const Input::Type::Selection & | get_bc_type_selection () |
Public Attributes | |
BCMultiField< 3, FieldValue< 3 >::Enum > | bc_type |
Type of boundary condition (see also BC_Type) More... | |
BCMultiField< 3, FieldValue< 3 >::Scalar > | bc_dirichlet_value |
Prescribed concentration for Dirichlet/reference concentration for flux b.c. More... | |
BCMultiField< 3, FieldValue< 3 >::Scalar > | bc_flux |
Flux value in total/diffusive flux b.c. More... | |
BCMultiField< 3, FieldValue< 3 >::Scalar > | bc_robin_sigma |
Transition coefficient in total/diffusive flux b.c. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | init_condition |
Initial concentrations. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | disp_l |
Longitudal dispersivity (for each substance). More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | disp_t |
Transversal dispersivity (for each substance). More... | |
MultiField< 3, FieldValue< 3 >::TensorFixed > | diff_m |
Molecular diffusivity (for each substance). More... | |
Field< 3, FieldValue< 3 >::Scalar > | rock_density |
Rock matrix density. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sorption_coefficient |
Coefficient of linear sorption. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | output_field |
Instances of FieldModel used in assembly methods | |
Field< 3, FieldValue< 3 >::Scalar > | mass_matrix_coef |
Field represents coefficients of mass matrix. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | retardation_coef |
Field represents retardation coefficients due to sorption. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_density_out |
Concentration sources - density output. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_sigma_out |
Concentration sources - sigma output. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_conc_out |
Concentration sources - concentration output. More... | |
MultiField< 3, FieldValue< 3 >::VectorFixed > | advection_coef |
Advection coefficients. More... | |
MultiField< 3, FieldValue< 3 >::TensorFixed > | diffusion_coef |
Diffusion coefficients. More... | |
Field< 3, FieldValue< 3 >::Scalar > | v_norm |
Velocity norm field. More... | |
Public Attributes inherited from TransportEqFields | |
Field< 3, FieldValue< 3 >::Scalar > | porosity |
Mobile porosity - usually saturated water content in the case of unsaturated flow model. More... | |
Field< 3, FieldValue< 3 >::Scalar > | water_content |
Water content - result of unsaturated water flow model or porosity. More... | |
Field< 3, FieldValue< 3 >::Scalar > | cross_section |
Pointer to DarcyFlow field cross_section. More... | |
Field< 3, FieldValue< 3 >::VectorFixed > | flow_flux |
Flow flux, can be result of water flow model. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_density |
Concentration sources - density of substance source, only positive part is used. More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_sigma |
Concentration sources - Robin type, in_flux = sources_sigma * (sources_conc - mobile_conc) More... | |
MultiField< 3, FieldValue< 3 >::Scalar > | sources_conc |
Additional Inherited Members | |
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 << 0} |
The field is data parameter of the owning equation. (default on) More... | |
static constexpr Mask | declare_input {1 << 1} |
The field can be set from input. The key in input field descriptor is declared. (default on) More... | |
static constexpr Mask | allow_output {1 << 2} |
The field can output. Is part of generated output selection. (default on) More... | |
static constexpr Mask | input_copy = ~declare_input & equation_input |
static constexpr Mask | in_time_term {1 << 8} |
A field is part of time term of the equation. More... | |
static constexpr Mask | in_main_matrix {1 << 9} |
A field is part of main "stiffness matrix" of the equation. More... | |
static constexpr Mask | in_rhs {1 << 10} |
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... | |
Protected Attributes inherited from FieldSet | |
std::vector< FieldCommon * > | field_list |
List of all fields. More... | |
const Mesh * | mesh_ |
Pointer to the mesh. More... | |
std::map< unsigned int, std::vector< const FieldCommon * > > | region_field_update_order_ |
FieldCoords | X_ |
Field holds coordinates for computing of FieldFormulas. More... | |
FieldDepth | depth_ |
Field holds surface depth for computing of FieldFormulas. More... | |
Definition at line 51 of file concentration_model.hh.
Enumerator | |
---|---|
bc_inflow | |
bc_dirichlet | |
bc_total_flux | |
bc_diffusive_flux |
Definition at line 100 of file concentration_model.hh.
ConcentrationTransportModel::ModelEqFields::ModelEqFields | ( | ) |
Definition at line 134 of file concentration_model.cc.
|
static |
void ConcentrationTransportModel::ModelEqFields::initialize | ( | ) |
Initialize FieldModel instances.
Definition at line 251 of file concentration_model.cc.
MultiField<3, FieldValue<3>::VectorFixed> ConcentrationTransportModel::ModelEqFields::advection_coef |
Advection coefficients.
Definition at line 92 of file concentration_model.hh.
BCMultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::bc_dirichlet_value |
Prescribed concentration for Dirichlet/reference concentration for flux b.c.
Definition at line 57 of file concentration_model.hh.
BCMultiField<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::bc_flux |
Flux value in total/diffusive flux b.c.
Definition at line 59 of file concentration_model.hh.
BCMultiField<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::bc_robin_sigma |
Transition coefficient in total/diffusive flux b.c.
Definition at line 61 of file concentration_model.hh.
BCMultiField<3, FieldValue<3>::Enum > ConcentrationTransportModel::ModelEqFields::bc_type |
Type of boundary condition (see also BC_Type)
Definition at line 55 of file concentration_model.hh.
MultiField<3, FieldValue<3>::TensorFixed> ConcentrationTransportModel::ModelEqFields::diff_m |
Molecular diffusivity (for each substance).
Definition at line 69 of file concentration_model.hh.
MultiField<3, FieldValue<3>::TensorFixed> ConcentrationTransportModel::ModelEqFields::diffusion_coef |
Diffusion coefficients.
Definition at line 94 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::disp_l |
Longitudal dispersivity (for each substance).
Definition at line 65 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::disp_t |
Transversal dispersivity (for each substance).
Definition at line 67 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::init_condition |
Initial concentrations.
Definition at line 63 of file concentration_model.hh.
Field<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::mass_matrix_coef |
Field represents coefficients of mass matrix.
Definition at line 82 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::output_field |
Definition at line 75 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::retardation_coef |
Field represents retardation coefficients due to sorption.
Definition at line 84 of file concentration_model.hh.
Field<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::rock_density |
Rock matrix density.
Definition at line 71 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::sorption_coefficient |
Coefficient of linear sorption.
Definition at line 72 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::sources_conc_out |
Concentration sources - concentration output.
Definition at line 90 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::sources_density_out |
Concentration sources - density output.
Definition at line 86 of file concentration_model.hh.
MultiField<3, FieldValue<3>::Scalar> ConcentrationTransportModel::ModelEqFields::sources_sigma_out |
Concentration sources - sigma output.
Definition at line 88 of file concentration_model.hh.
Field<3, FieldValue<3>::Scalar > ConcentrationTransportModel::ModelEqFields::v_norm |
Velocity norm field.
Definition at line 96 of file concentration_model.hh.