Input Parameters

Parses input parameters to be used in the project

  • This file is a part of the coursework module Personal Programming Project (PPP) in M.Sc. Computational Materials Science, Technische Universität Bergakademie Freiberg.

  • This file is a part of the project Modeling of radiative heat-exchange using finite element method

This file parses the input parameters used in the project.

class inputParams.InputParameters(CONFIG_FILE: Path = None)

Bases: object

Class to handle input parameters.

CONFIG_FILE

Path to the config file.

Type:

Pathlib.Path

property MESH_PATH

Path to the mesh file.

property NDIM

Number of dimensions of the problem.

property ambient_temperature

Ambient temperature also relevant to computing convection natural boundary condition, if given.

property boundary_temperatures

Essential boundary condition values, must match with boundary_tags.

property conductivity

Thermal conductivity of the material, assumed to be of an isotropic material, hence a constant.

property convection_computation

Boolean value to indicate whether to include convection terms.

property density

Density of the material under consideration, assumed to be constant across the material.

property emissivity

Emissivity of a material, assumed to be constant throughout.

property end_time

Value of time at the end of the evaluation.

property essential_boundary_tags

Tags of entities upon which essential boundary conditions are to be applied.

property heat_capacity

Specific heat capacity of the material, assumed to be constant throughout the material.

property heat_coefficient

Heat transfer coefficient, relevant to computing convection term in case convection natural boundary condition is given.

property heat_flux

Heat flux as a constant, if present as a natural boundary condition.

property initial_temperature

Initial temperature of the body, relevant in a transient analysis.

property internal_heat

Value of internal heat generation as a constant, if it exists.

property natural_boundary_tags

Tags of entities upon which natural boundary conditions are to be applied.

parse_config()

Parses given config file.

property radiation

Flag for radiation.

property source_temperature
property start_time

Value of time at the start of the evaluation.

property steady_state

Boolean value to indicate whether the config is for a steady state problem.

property stefan_boltzmann_constant

Stefan-Boltzmann constant of proportionality in Stefan-Boltzmann law for black body radiation.

property time_step

Time step value, used to evaluate time integration computations as well.