Components of a model¶
The following scheme represents the concept of a model and its components:

In VIMSEO, models derived from
vimseo.core.base_integrated_model.PreRunPostModel are linking
components deriving from a generic class vimseo.core.base_component.BaseComponent.
Three kinds of components are already specialised to play
the role of model pre-processor, run and post-processor, respectively
classes vimseo.core.components.pre.PreProcessor,
~.ModelRun and
~.PostProcessor.
Preprocessors of a model¶
The preprocessor of a model is the component which is executed first and prepares data (like meshes) and configuration files for the solver component. A model can have several preprocessors depending on the considered load case.
Solver of a model¶
The solver of a model is basically the component that puts the problem defined by the preprocessor into an equation and solves it.
Postprocessors of a model¶
The post-processor is a component in charge of applying some treatments to raw results of the solver and return the outputs to be stored at the level of the model. A model can have several preprocessors depending on the considered load case.