14 f.second = f.second || model.
depends_on(f.first);
26 f.second = f.second || model.
depends_on(f.first);
78 if (!
density.back()->is_constant_density_model())
87 physical_properties.
fluids[f].specific_heat_model ==
89 physical_properties.
fluids[f].rheological_model ==
107 physical_properties.
fluids[f]));
111 physical_properties.
fluids[f].tracer_reaction_order);
118 physical_properties.
fluids[f].phase_change_parameters);
120 if (
rheology.back()->is_non_newtonian_rheological_model())
128 physical_properties.
fluids[f]));
131 physical_properties.
fluids[f]));
135 physical_properties.
fluids[f]));
138 physical_properties.
fluids[f]));
151 if (!
density.back()->is_constant_density_model())
166 rheology.back()->set_dynamic_viscosity(
density.back()->get_density_ref());
175 physical_properties.
solids[s]));
180 physical_properties.
fluids[s].tracer_reaction_order);
192 physical_properties.
solids[s]));
195 physical_properties.
solids[s]));
199 physical_properties.
solids[s]));
202 physical_properties.
solids[s]));
232 .material_interaction_type ==
269 .fluid_dispersed_phase_interaction_with_material_interaction_id
270 .first.first] =
true;
static std::shared_ptr< DensityModel > model_cast(const Parameters::Material &material_properties)
Instantiate and return a pointer to a DensityModel object by casting it to the proper child class.
static std::shared_ptr< EffectiveMediumModel > model_cast(const Parameters::PhysicalProperties &physical_properties, const unsigned int material_interaction_id, const EffectiveMediumProperty &property, const ComplexComponent &complex_component)
Creates the model of a mixture property, with the mixing law given by the material interaction.
static std::shared_ptr< ElectricConductivityModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to an ElectricConductivityModel object by casting it to the proper...
static std::shared_ptr< ElectricPermittivityModel > model_cast_imag(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a ElectricPermittivityModel object by casting it to the proper ...
static std::shared_ptr< ElectricPermittivityModel > model_cast_real(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a ElectricPermittivityModel object by casting it to the proper ...
Abstract class that defines the interface for a interface property model. Interface property model pr...
bool depends_on(const field &id)
Returns true if the InterfacePropertyModel depends on a field, false if not.
static std::shared_ptr< MagneticPermeabilityModel > model_cast_imag(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a MagneticPermeabilityModel object by casting it to the proper ...
static std::shared_ptr< MagneticPermeabilityModel > model_cast_real(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a MagneticPermeabilityModel object by casting it to the proper ...
static std::shared_ptr< MobilityCahnHilliardModel > model_cast(const Parameters::MaterialInteractions &material_interaction_parameters)
Instantiate and return a pointer to a MobilityCahnHilliardModel object by casting it to the proper ch...
PhysicalProperties - Define the possible physical properties. All continuum equations share the same ...
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_dispersed_phase_interactions_with_material_interaction_ids
double reference_temperature
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_solid_interactions_with_material_interaction_ids
unsigned int number_of_solids
unsigned int number_of_fluids
std::vector< Material > fluids
std::vector< Material > solids
unsigned int number_of_material_interactions
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_fluid_interactions_with_material_interaction_ids
std::vector< MaterialInteractions > material_interactions
std::vector< std::shared_ptr< ElectricConductivityModel > > electric_conductivity
std::vector< std::shared_ptr< EffectiveMediumModel > > effective_magnetic_permeability_real
std::vector< bool > material_is_effective_medium
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_fluid_interactions_with_material_interaction_ids
std::vector< Parameters::PhaseChange > phase_change_parameters
std::vector< std::shared_ptr< ThermalExpansionModel > > thermal_expansion
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_solid_interactions_with_material_interaction_ids
std::vector< double > tracer_reaction_order
std::vector< std::shared_ptr< ElectricPermittivityModel > > electric_permittivity_real
std::vector< std::shared_ptr< RheologicalModel > > rheology
std::map< field, bool > required_fields
std::map< std::pair< unsigned int, unsigned int >, unsigned int > fluid_dispersed_phase_interactions_with_material_interaction_ids
std::vector< std::shared_ptr< ElectricPermittivityModel > > electric_permittivity_imag
unsigned int number_of_material_interactions
void initialize(Parameters::PhysicalProperties physical_properties)
initialize Initializes the physical properties using the parameters
std::vector< std::shared_ptr< MagneticPermeabilityModel > > magnetic_permeability_imag
std::vector< std::shared_ptr< DensityModel > > density
double reference_temperature
std::vector< std::shared_ptr< EffectiveMediumModel > > effective_magnetic_permeability_imag
std::vector< std::shared_ptr< SurfaceTensionModel > > surface_tension
std::vector< std::shared_ptr< MobilityCahnHilliardModel > > mobility_cahn_hilliard
unsigned int number_of_fluids
Parameters::PhysicalProperties physical_properties_parameters
std::vector< std::shared_ptr< EffectiveMediumModel > > effective_electric_permittivity_real
std::vector< std::shared_ptr< TracerReactionPrefactorModel > > tracer_reaction_prefactor
void establish_fields_required_by_model(PhysicalPropertyModel &model)
unsigned int number_of_solids
std::vector< std::shared_ptr< MagneticPermeabilityModel > > magnetic_permeability_real
std::vector< std::shared_ptr< TracerDiffusivityModel > > tracer_diffusivity
std::vector< std::shared_ptr< EffectiveMediumModel > > effective_electric_permittivity_imag
std::vector< std::shared_ptr< SpecificHeatModel > > specific_heat
bool constant_surface_tension
std::vector< std::shared_ptr< ThermalConductivityModel > > thermal_conductivity
Abstract class that defines the interface for a physical property model Physical property model provi...
bool depends_on(const field &id)
Returns true if the PhysicalPropertyModel depends on a field, false if not.
static std::shared_ptr< RheologicalModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a RheologicalModel object by casting it to the proper child cla...
static std::shared_ptr< SpecificHeatModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a SpecificHeatModel object by casting it to the proper child cl...
static std::shared_ptr< SurfaceTensionModel > model_cast(const Parameters::MaterialInteractions &material_interaction_parameters)
Instantiates and returns a pointer to a SurfaceTensionModel object by casting it to the proper child ...
static std::shared_ptr< ThermalConductivityModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a ThermalConductivityModel object by casting it to the proper c...
static std::shared_ptr< ThermalExpansionModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a ThermalExpansionModel object by casting it to the proper chil...
static std::shared_ptr< TracerDiffusivityModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a TracerDiffusivityModel object by casting it to the proper chi...
static std::shared_ptr< TracerReactionPrefactorModel > model_cast(const Parameters::Material &material_properties)
Instantiates and returns a pointer to a TracerReactionPrefactorModel object by casting it to the prop...
@ phase_order_cahn_hilliard