Solver¶
Defines solver 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 defines the main Solver class used in this project.
- class solver.Solver(mesh: Mesh, assembly: Assembly)¶
Bases:
object- compute_radiation(global_T)¶
- property resultant_T: array¶
Resultant temperature at the end of the model.
- solve() None¶
- property timeTempData: defaultdict¶
Temperature data at every time step.
- class solver.SteadyStateSolver(mesh: Mesh, assembly: Assembly)¶
Bases:
objectSolver class for steady-state problems.
- Parameters
- mesh
parser.Mesh Entity consisting of all information from the parsed mesh file.
- assembly
assembly.Assembly Entity handling the assembly of global arrays.
- mesh
- apply_boundary_conditions()¶
Applies essential boundary conditions to assembled global arrays.
- property resultant_T: array¶
Resultant temperature at the end of the model.
- solve()¶
Solver method.