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.
Public Member Functions | Public Attributes | List of all members
json_output_process.JsonOutputProcess Class Reference

This class is used in order to create a json file containing the solution a given model part with a certain frequency. More...

Inheritance diagram for json_output_process.JsonOutputProcess:
Collaboration diagram for json_output_process.JsonOutputProcess:

Public Member Functions

def __init__ (self, model, params)
 The default constructor of the class. More...
 
def ExecuteInitialize (self)
 This method is executed at the beginning to initialize the process. More...
 
def ExecuteBeforeSolutionLoop (self)
 This method is executed before starting the time loop. More...
 
def ExecuteFinalizeSolutionStep (self)
 This method is executed in order to finalize the current step. More...
 

Public Attributes

 params
 Settings string in json format. More...
 
 model
 
 time_counter
 
 sub_model_part
 
 flag
 
 output_file_name
 
 output_variables
 
 gauss_points_output_variables
 
 frequency
 
 resultant_solution
 
 historical_value
 
 use_node_coordinates
 

Detailed Description

This class is used in order to create a json file containing the solution a given model part with a certain frequency.

Only the member variables listed below should be accessed directly.

Public member variables: model – the model used to construct the process. settings – Kratos parameters containing solver settings.

Constructor & Destructor Documentation

◆ __init__()

def json_output_process.JsonOutputProcess.__init__ (   self,
  model,
  params 
)

The default constructor of the class.

   Keyword arguments:
   self -- It signifies an instance of a class.
   model -- the model used to construct the process.
   settings -- Kratos parameters containing solver settings.

Member Function Documentation

◆ ExecuteBeforeSolutionLoop()

def json_output_process.JsonOutputProcess.ExecuteBeforeSolutionLoop (   self)

This method is executed before starting the time loop.

   This step generates the structure of the dictionary

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteFinalizeSolutionStep()

def json_output_process.JsonOutputProcess.ExecuteFinalizeSolutionStep (   self)

This method is executed in order to finalize the current step.

   Here the dictionary containing the solution is filled

   Keyword arguments:
   self -- It signifies an instance of a class.

◆ ExecuteInitialize()

def json_output_process.JsonOutputProcess.ExecuteInitialize (   self)

This method is executed at the beginning to initialize the process.

   Keyword arguments:
   self -- It signifies an instance of a class.

Member Data Documentation

◆ flag

json_output_process.JsonOutputProcess.flag

◆ frequency

json_output_process.JsonOutputProcess.frequency

◆ gauss_points_output_variables

json_output_process.JsonOutputProcess.gauss_points_output_variables

◆ historical_value

json_output_process.JsonOutputProcess.historical_value

◆ model

json_output_process.JsonOutputProcess.model

◆ output_file_name

json_output_process.JsonOutputProcess.output_file_name

◆ output_variables

json_output_process.JsonOutputProcess.output_variables

◆ params

json_output_process.JsonOutputProcess.params

Settings string in json format.

Overwrite the default settings with user-provided parameters

◆ resultant_solution

json_output_process.JsonOutputProcess.resultant_solution

◆ sub_model_part

json_output_process.JsonOutputProcess.sub_model_part

◆ time_counter

json_output_process.JsonOutputProcess.time_counter

◆ use_node_coordinates

json_output_process.JsonOutputProcess.use_node_coordinates

The documentation for this class was generated from the following file: