MoCSI overview¶
MoCSI is a thermophysical model, which was designed fully modular in order to be applicable to a wide range of science cases.
Physical and numerical background¶
The heat equation describes the temporal evolution of the temperature \(T\)
with the density \(\rho\), the specific heat capacity \(c\) and \(k\) the thermal conductivity of the material.
To solve the heat equation, we use the Tridiagonal Matrix Algorithm in one-dimesional cases and the Generalized Minimum Residual Method for the higher dimensional cases, but currently only the one-dimensional cases are implemented and released. MoCSI employs a Finite Element Method (FEM) discretization for the spatial components and a fully implicit discretization for the temporal components of the heat transfer equation. The boundary conditions, we are currently using, are listed on the corresponding page.
Structure of the code¶
The code is separated into the core code and the modules. The core code houses the facilities to read in shape models, generate the discretization grids, the solver and simulation environments. The basic core structure needed to work with the code is explained in the core structure section. Modules are split into managing modules and submodules. Menaging modules each (can) contain a physical field variable which they write into and communicate back to the core code but usually don’t do any specific calculations. The submodules on the other hand are specialized and do calculations for their managing module, oftentimes actually computing the variable for the current time step, but they themselves only have reading permissions to the core code. The currently available modules and a more indepth explanation of their functionality can be viewed in the module section.