![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <tracer_diffusivity_model.h>
Public Member Functions | |
| GaussianLevelsetTracerDiffusivity (const double p_tracer_diffusivity_interface, const double p_tracer_diffusivity_bulk, const double p_thickness) | |
| double | value (const std::map< field, double > &field_values) override |
| void | vector_value (const std::map< field, std::vector< double > > &field_vectors, std::vector< double > &property_vector) override |
| double | jacobian (const std::map< field, double > &field_values, field id) override |
| void | vector_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector) override |
| Public Member Functions inherited from PhysicalPropertyModel | |
| PhysicalPropertyModel () | |
| virtual | ~PhysicalPropertyModel ()=default |
| bool | depends_on (const field &id) |
| void | provide_simulation_control (std::shared_ptr< SimulationControl > &p_simulation_control) |
| double | numerical_jacobian (const std::map< field, double > &field_values, const field id) |
| void | vector_numerical_jacobian (const std::map< field, std::vector< double > > &field_vectors, const field id, std::vector< double > &jacobian_vector) |
Private Attributes | |
| const double | tracer_diffusivity_interface |
| const double | tracer_diffusivity_bulk |
| const double | delta_diffusivity |
| const double | squared_thickness |
Additional Inherited Members | |
| Public Types inherited from PhysicalPropertyModel | |
| enum class | ComplexComponent : std::int8_t { real , imag } |
| Static Public Member Functions inherited from TracerDiffusivityModel | |
| static std::shared_ptr< TracerDiffusivityModel > | model_cast (const Parameters::Material &material_properties) |
| Protected Member Functions inherited from PhysicalPropertyModel | |
| std::shared_ptr< SimulationControl > & | get_simulation_control () |
| Protected Attributes inherited from PhysicalPropertyModel | |
| std::map< field, bool > | model_depends_on |
Diffusivity that depends on the Gaussian of the level set.
Definition at line 245 of file tracer_diffusivity_model.h.
|
inline |
Constructor of the Gaussian level set-dependent diffusivity model.
| [in] | p_tracer_diffusivity_interface | Diffusivity at the fluid-solid interface the solid |
| [in] | p_tracer_diffusivity_bulk | Diffusivity in the bulk of the phases |
| [in] | p_thickness | Thickness of the Gaussian function used to smooth the property jump |
Definition at line 257 of file tracer_diffusivity_model.h.
References delta_diffusivity, levelset, PhysicalPropertyModel::model_depends_on, squared_thickness, tracer_diffusivity_bulk, and tracer_diffusivity_interface.
|
inlineoverridevirtual |
Compute the jacobian (the partial derivative) of the diffusivity with respect to a specified field.
| [in] | field_values | Values of the various fields on which the specific heat may depend. The map stores a single value per field. |
| [in] | id | Indicator of the field with respect to which the jacobian should be computed. |
Implements PhysicalPropertyModel.
Definition at line 337 of file tracer_diffusivity_model.h.
References delta_diffusivity, levelset, and squared_thickness.
|
inlineoverridevirtual |
Compute the diffusivity.
| [in] | field_values | Values of the various fields on which the property may depend. In this case, the diffusivity depends on the level set. The map stores a single value per field. |
field_values. Implements PhysicalPropertyModel.
Definition at line 278 of file tracer_diffusivity_model.h.
References delta_diffusivity, levelset, squared_thickness, and tracer_diffusivity_bulk.
|
inlineoverridevirtual |
Compute the derivative of the diffusivity with respect to a field.
| [in] | field_vectors | Vector of values of the fields used to evaluate the diffusivity. The map stores a vector of values per field. |
| [in] | id | Identifier of the field with respect to which a derivative should be computed. |
| [out] | jacobian | Vector of computed derivative values of the diffusivity with respect to the field of the specified id. |
Implements PhysicalPropertyModel.
Definition at line 369 of file tracer_diffusivity_model.h.
References delta_diffusivity, levelset, and squared_thickness.
|
inlineoverridevirtual |
Compute a vector of diffusivity.
| [in] | field_vectors | Vectors of the fields on which the diffusivity may depend. In this case, the diffusivity depends on the level set. The map stores a vector of values per field. |
| [out] | property_vector | Vectors of computed diffusivities. |
Implements PhysicalPropertyModel.
Definition at line 299 of file tracer_diffusivity_model.h.
References delta_diffusivity, levelset, squared_thickness, and tracer_diffusivity_bulk.
|
private |
Definition at line 399 of file tracer_diffusivity_model.h.
|
private |
Definition at line 400 of file tracer_diffusivity_model.h.
|
private |
Definition at line 398 of file tracer_diffusivity_model.h.
|
private |
Definition at line 397 of file tracer_diffusivity_model.h.