Internal API of Simul#
See also
Documentation on fluidsim_core.solver.SimulCore
which is the base class for snek5000.solvers.base.SimulNek
.
- classmethod SimulNek._set_internal_sections(params)[source]#
Set internal attributes to mark user sections and disable sections following
InfoSolverNek.par_sections_disabled
. The internal attributes_user
and_enabled
ofParameters
are modified here.
- classmethod SimulNek._complete_params_with_default(params)[source]#
A static method used to complete the params container.
The sections are:
general
(mandatory)problemtype
mesh
velocity
pressure
(required for velocity)temperature
scalar%%
cvode
When scalars are used, the keys of each scalar are defined under the section
scalar%%
varying betweenscalar01
andscalar99
.
Internal API of InfoSolver#
See also
Documentation on fluidsim_core.info.InfoSolverCore
which is the base class for snek5000.info.InfoSolverNek
.
- InfoSolverNek._init_root()[source]#
Defines class hierarchy (via
classes
) and some attributesmodule_name
- module of the Simul classclass_name
- Simul class nameshort_name
- short name of the solver (and name used in the source code usr, par, re2, ma2 etc.)par_sections
- sections in the .par filepar_sections_disabled
- sections to be disabled (i.e. removed while generating) in the .par file