![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <surface_tension_model.h>
Public Member Functions | |
| SurfaceTensionLinear (const Parameters::SurfaceTensionParameters &p_surface_tension_parameters) | |
| double | value (const std::map< field, double > &fields_value) 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 id) override |
| void | vector_jacobian (const std::map< field, std::vector< double > > &, const field id, std::vector< double > &jacobian_vector) override |
| Public Member Functions inherited from SurfaceTensionModel | |
| bool | is_constant_surface_tension_model () |
| Public Member Functions inherited from InterfacePropertyModel | |
| InterfacePropertyModel () | |
| virtual | ~InterfacePropertyModel ()=default |
| bool | depends_on (const field &id) |
| 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) |
Protected Attributes | |
| const double | surface_tension_coefficient |
| const double | T_0 |
| const double | surface_tension_gradient |
| Protected Attributes inherited from SurfaceTensionModel | |
| bool | surface_tension_is_constant = false |
| Protected Attributes inherited from InterfacePropertyModel | |
| std::map< field, bool > | model_depends_on |
Additional Inherited Members | |
| Static Public Member Functions inherited from SurfaceTensionModel | |
| static std::shared_ptr< SurfaceTensionModel > | model_cast (const Parameters::MaterialInteractions &material_interaction_parameters) |
Linear surface tension. The surface tension is given by: sigma_0 + dsimga/dT * (T-T_0).
Definition at line 131 of file surface_tension_model.h.
|
inline |
Default constructor.
| p_surface_tension_parameters | The parameters for the surface tension model, including the surface tension coefficient sigma_0 and surface tension gradient dsimga/dT at the reference temperature T_0 |
Definition at line 140 of file surface_tension_model.h.
References InterfacePropertyModel::model_depends_on, surface_tension_coefficient, surface_tension_gradient, T_0, and temperature.
|
inlineoverridevirtual |
jacobian Calculates the jacobian (the partial derivative) of the surface tension coefficient with respect to a field
| field_values | Value of the various fields on which the property may depend. |
| id | Indicator of the field with respect to which the jacobian should be calculated. |
Implements InterfacePropertyModel.
Reimplemented in SurfaceTensionPhaseChange.
Definition at line 199 of file surface_tension_model.h.
References surface_tension_gradient, and temperature.
|
inlineoverridevirtual |
value Calculates the surface tension coefficient
| field_vectors | Vectors of the fields on which the surface tension depends. In this case, it depends on the temperature. |
Implements InterfacePropertyModel.
Reimplemented in SurfaceTensionPhaseChange.
Definition at line 158 of file surface_tension_model.h.
References surface_tension_coefficient, surface_tension_gradient, T_0, and temperature.
|
inlineoverridevirtual |
vector_jacobian Calculates the derivative of the surface tension coefficient with respect to a field.
| field_vectors | Vector for the values of the fields used to evaluate the property. |
| id | Identifier of the field with respect to which a derivative should be calculated. |
| jacobian | vector of the value of the derivative of the surface tension coefficient with respect to the field id. |
Implements InterfacePropertyModel.
Reimplemented in SurfaceTensionPhaseChange.
Definition at line 218 of file surface_tension_model.h.
References surface_tension_gradient, and temperature.
|
inlineoverridevirtual |
vector_value Calculates the vector of surface tension coefficient.
| field_vectors | Vectors of the fields on which the surface tension depends. In this case, it depends on the temperature. |
| property_vector | Vectors of the surface tension coefficient values |
Implements InterfacePropertyModel.
Reimplemented in SurfaceTensionPhaseChange.
Definition at line 175 of file surface_tension_model.h.
References surface_tension_coefficient, surface_tension_gradient, T_0, and temperature.
|
protected |
Definition at line 230 of file surface_tension_model.h.
|
protected |
Definition at line 232 of file surface_tension_model.h.
|
protected |
Definition at line 231 of file surface_tension_model.h.