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.
Classes | Functions
set_initial_state_process Namespace Reference

Classes

class  SetInitialStateProcess
 This process sets a given value for a certain flag in all the nodes of a submodelpart. More...
 

Functions

def Factory (settings, Model)
 
def components_to_functions (vect)
 Receives a vector and converts its components to functions. More...
 

Function Documentation

◆ components_to_functions()

def set_initial_state_process.components_to_functions (   vect)

Receives a vector and converts its components to functions.

Components can be numbers or strings with valid function expressions (e.g. [0.0, "1.2", "3.4 + t"]). It returns a vector whose components are the generated functions from the original arguments (e.g. [f(0), f(1.2), f(3.4+t)]), where 't' will be later evaluated as the current simulation time.

Keyword arguments: vect – Kratos parameters array containing numbers or strings with valid functions

Returns: vector with functions rendered from the input's components

◆ Factory()

def set_initial_state_process.Factory (   settings,
  Model 
)