![]() |
Lethe Open-Source Library version 1.2.0
Developer Guide
|
#include <core/tensors_and_points_dimension_manipulation.h>#include <solvers/time_harmonic_maxwell.h>#include <solvers/time_harmonic_maxwell_scratch_data.h>#include <deal.II/base/exceptions.h>#include <algorithm>#include <string>Go to the source code of this file.
Functions | |
| void | compute_effective_electromagnetic_properties (const PhysicalPropertiesManager &physical_properties_manager, const std::map< field, std::vector< double > > &field_values_vectors, const unsigned int material_id, std::vector< std::complex< double > > &effective_electric_permittivities, std::vector< std::complex< double > > &effective_magnetic_permeabilities) |
| bool | electromagnetic_properties_depend_on (const PhysicalPropertiesManager &physical_properties_manager, const unsigned int material_id, const field field_id) |
| void compute_effective_electromagnetic_properties | ( | const PhysicalPropertiesManager & | physical_properties_manager, |
| const std::map< field, std::vector< double > > & | field_values_vectors, | ||
| const unsigned int | material_id, | ||
| std::vector< std::complex< double > > & | effective_electric_permittivities, | ||
| std::vector< std::complex< double > > & | effective_magnetic_permeabilities ) |
Compute the effective electromagnetic properties of a material at a set of points. The effective electric permittivity is \(\varepsilon' + i(\varepsilon'' + \sigma)\) and the effective magnetic permeability is \(\mu' + i\mu''\), where each property is evaluated with the physical property models of the material. If the material is an effective medium, the properties are given by the effective medium models of its fluid-dispersed phase interaction. The conductivity of both phases is then already included in the imaginary part of the effective permittivity.
| [in] | physical_properties_manager | The object that manages the physical properties of the problem and provides them at any given position of the domain. |
| [in] | field_values_vector | A map containing the vector values of the fields at the current position. This is used to compute the material properties that depend on the fields. |
| [in] | material_id | The material id of the current position, used to determine the appropriate material properties from the input parameters. |
| [out] | effective_electric_permittivity | Effective electric permittivity at the current position. This value is updated in place by the function. |
| [out] | effective_magnetic_permeability | Effective magnetic permeability at the current position. This value is updated in place by the function. |
Definition at line 15 of file time_harmonic_maxwell_scratch_data.cc.
References fluid_dispersed_phase, PhysicalPropertiesManager::get_effective_electric_permittivity_imag(), PhysicalPropertiesManager::get_effective_electric_permittivity_real(), PhysicalPropertiesManager::get_effective_magnetic_permeability_imag(), PhysicalPropertiesManager::get_effective_magnetic_permeability_real(), PhysicalPropertiesManager::get_electric_conductivity(), PhysicalPropertiesManager::get_electric_permittivity_imag(), PhysicalPropertiesManager::get_electric_permittivity_real(), PhysicalPropertiesManager::get_magnetic_permeability_imag(), PhysicalPropertiesManager::get_magnetic_permeability_real(), PhysicalPropertiesManager::get_material_interaction_id(), PhysicalPropertiesManager::is_effective_medium(), and temperature.
| bool electromagnetic_properties_depend_on | ( | const PhysicalPropertiesManager & | physical_properties_manager, |
| const unsigned int | material_id, | ||
| const field | field_id ) |
Check if at least one electromagnetic property of a material depends on a field. If the material is an effective medium, the dependencies are those of the effective medium models of its fluid-dispersed phase interaction. Otherwise, they are those of the electric permittivity, electric conductivity and magnetic permeability models of the material.
| [in] | physical_properties_manager | The object that manages the physical properties of the problem. |
| [in] | material_id | The material id of the cell. |
| [in] | field_id | The field for which the dependency is checked. |
Definition at line 97 of file time_harmonic_maxwell_scratch_data.cc.
References fluid_dispersed_phase, PhysicalPropertiesManager::get_effective_electric_permittivity_imag(), PhysicalPropertiesManager::get_effective_electric_permittivity_real(), PhysicalPropertiesManager::get_effective_magnetic_permeability_imag(), PhysicalPropertiesManager::get_effective_magnetic_permeability_real(), PhysicalPropertiesManager::get_electric_conductivity(), PhysicalPropertiesManager::get_electric_permittivity_imag(), PhysicalPropertiesManager::get_electric_permittivity_real(), PhysicalPropertiesManager::get_magnetic_permeability_imag(), PhysicalPropertiesManager::get_magnetic_permeability_real(), PhysicalPropertiesManager::get_material_interaction_id(), and PhysicalPropertiesManager::is_effective_medium().