KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
|
The base class for fluid dynamics solvers. More...
Public Member Functions | |
def | __init__ (self, model, settings) |
def | AddVariables (self) |
def | AddDofs (self) |
def | GetDofsList (self) |
This function creates and returns a list with the DOFs defined in the conditions and elements specifications Note that this requires the main_model_part to be already set, that is to say to have already performed the element substitution (see PrepareModelPart). More... | |
def | ImportModelPart (self) |
def | PrepareModelPart (self) |
def | ExportModelPart (self) |
def | GetMinimumBufferSize (self) |
def | Initialize (self) |
def | AdvanceInTime (self, current_time) |
def | InitializeSolutionStep (self) |
def | Predict (self) |
def | SolveSolutionStep (self) |
def | FinalizeSolutionStep (self) |
def | Check (self) |
def | Clear (self) |
def | GetComputingModelPart (self) |
def | is_restarted (self) |
def | GetEstimateDtUtility (self) |
Public Attributes | |
element_name | |
Set the element and condition names for the replace settings These should be defined in derived classes. More... | |
condition_name | |
min_buffer_size | |
main_model_part | |
time_discretization | |
The base class for fluid dynamics solvers.
This class provides functions for importing and exporting models, adding nodal variables and dofs and solving each solution step. Depending on the formulation type, derived classes may require to override some (or all) the following functions: _CreateScheme _CreateConvergenceCriterion _CreateLinearSolver _CreateBuilderAndSolver _CreateSolutionStrategy The solution strategy, builder_and_solver, etc. should alway be retrieved using the getter functions _GetSolutionStrategy, _GetBuilderAndSolver, etc. from this base class. Only the member variables listed below should be accessed directly. Public member variables: model -- the model containing the modelpart used to construct the solver. settings -- Kratos parameters containing solver settings.
def fluid_solver.FluidSolver.__init__ | ( | self, | |
model, | |||
settings | |||
) |
def fluid_solver.FluidSolver.AddDofs | ( | self | ) |
def fluid_solver.FluidSolver.AddVariables | ( | self | ) |
def fluid_solver.FluidSolver.AdvanceInTime | ( | self, | |
current_time | |||
) |
def fluid_solver.FluidSolver.Check | ( | self | ) |
def fluid_solver.FluidSolver.Clear | ( | self | ) |
def fluid_solver.FluidSolver.ExportModelPart | ( | self | ) |
def fluid_solver.FluidSolver.FinalizeSolutionStep | ( | self | ) |
def fluid_solver.FluidSolver.GetComputingModelPart | ( | self | ) |
def fluid_solver.FluidSolver.GetDofsList | ( | self | ) |
This function creates and returns a list with the DOFs defined in the conditions and elements specifications Note that this requires the main_model_part to be already set, that is to say to have already performed the element substitution (see PrepareModelPart).
def fluid_solver.FluidSolver.GetEstimateDtUtility | ( | self | ) |
def fluid_solver.FluidSolver.GetMinimumBufferSize | ( | self | ) |
def fluid_solver.FluidSolver.ImportModelPart | ( | self | ) |
def fluid_solver.FluidSolver.Initialize | ( | self | ) |
def fluid_solver.FluidSolver.InitializeSolutionStep | ( | self | ) |
def fluid_solver.FluidSolver.is_restarted | ( | self | ) |
def fluid_solver.FluidSolver.Predict | ( | self | ) |
def fluid_solver.FluidSolver.PrepareModelPart | ( | self | ) |
def fluid_solver.FluidSolver.SolveSolutionStep | ( | self | ) |
fluid_solver.FluidSolver.condition_name |
fluid_solver.FluidSolver.element_name |
Set the element and condition names for the replace settings These should be defined in derived classes.
fluid_solver.FluidSolver.main_model_part |
fluid_solver.FluidSolver.min_buffer_size |
fluid_solver.FluidSolver.time_discretization |