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
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis Class Reference

The base class for the PfemFluidDynamicsAnalysis. More...

Inheritance diagram for pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis:
Collaboration diagram for pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis:

Public Member Functions

def __init__ (self, model, parameters)
 The constructor of the AnalysisStage-Object. More...
 
def Initialize (self)
 This function initializes the AnalysisStage Usage: It is designed to be called ONCE, BEFORE the execution of the solution-loop This function has to be implemented in deriving classes! More...
 
def InitializeSolutionStep (self)
 This function performs all the required operations that should be executed (for each step) BEFORE solving the solution step. More...
 
def FinalizeSolutionStep (self)
 This function performs all the required operations that should be executed (for each step) AFTER solving the solution step. More...
 
def Finalize (self)
 This function finalizes the AnalysisStage Usage: It is designed to be called ONCE, AFTER the execution of the solution-loop. More...
 
def SetGraphicalOutput (self)
 This function sets the settings for the graphical output. More...
 
def GraphicalOutputExecuteInitialize (self)
 This function performs the initialize of the graphical output. More...
 
def GraphicalOutputExecuteBeforeSolutionLoop (self)
 This function performs the ExecuteBeforeSolutionLoop of the graphical_output. More...
 
def GraphicalOutputExecuteInitializeSolutionStep (self)
 This function performs the ExecuteInitializeSolutionStep of the graphical_output. More...
 
def GraphicalOutputExecuteFinalizeSolutionStep (self)
 This function performs the ExecuteFinalizeSolutionStep of the graphical_output. More...
 
def GraphicalOutputPrintOutput (self)
 This function prints the output for this time step. More...
 
def GraphicalOutputExecuteFinalize (self)
 This function performs the ExecuteFinalize of the graphical_output. More...
 
def SetParallelSize (self, num_threads)
 This function sets the number of threads. More...
 
def GetParallelSize (self)
 This function returns the number of threads. More...
 
def StartTimeMeasuring (self)
 This function starts time calculation. More...
 
def StopTimeMeasuring (self, time_ip, process, report)
 This function ends time calculation. More...
 
def KratosPrintInfo (self, message)
 This function prints info on screen. More...
 
def AddMaterialVariables (self)
 
def AddAllMaterialVariables (self)
 
def AddPfemVariables (self)
 

Public Attributes

 model
 
 t0p
 TIME MONITORING START #### Time control starts. More...
 
 t0w
 
 echo_level
 TIME MONITORING END ####. More...
 
 report
 
 main_model_part
 Model_part settings start ####. More...
 
 problem_path
 
 problem_name
 
 constitutive_laws_names
 
 model_processes
 Processes settings start ####. More...
 
 computing_model_part
 processes settings end #### START SOLUTION #### More...
 
 graphical_output
 
 step
 Sets strategies, builders, linear solvers, schemes and solving info, and fills the buffer. More...
 
 time
 
 end_time
 
 delta_time
 
 clock_time
 
 output_settings
 
 post_process_model_part
 

Detailed Description

The base class for the PfemFluidDynamicsAnalysis.

Constructor & Destructor Documentation

◆ __init__()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.__init__ (   self,
  model,
  parameters 
)

The constructor of the AnalysisStage-Object.

Keyword arguments: self – It signifies an instance of a class. model – The Model to be used parameters – The ProjectParameters used

Member Function Documentation

◆ AddAllMaterialVariables()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddAllMaterialVariables (   self)

◆ AddMaterialVariables()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddMaterialVariables (   self)

◆ AddPfemVariables()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddPfemVariables (   self)

◆ Finalize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.Finalize (   self)

This function finalizes the AnalysisStage Usage: It is designed to be called ONCE, AFTER the execution of the solution-loop.

◆ FinalizeSolutionStep()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.FinalizeSolutionStep (   self)

This function performs all the required operations that should be executed (for each step) AFTER solving the solution step.

◆ GetParallelSize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GetParallelSize (   self)

This function returns the number of threads.

◆ GraphicalOutputExecuteBeforeSolutionLoop()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteBeforeSolutionLoop (   self)

This function performs the ExecuteBeforeSolutionLoop of the graphical_output.

◆ GraphicalOutputExecuteFinalize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteFinalize (   self)

This function performs the ExecuteFinalize of the graphical_output.

◆ GraphicalOutputExecuteFinalizeSolutionStep()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteFinalizeSolutionStep (   self)

This function performs the ExecuteFinalizeSolutionStep of the graphical_output.

◆ GraphicalOutputExecuteInitialize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteInitialize (   self)

This function performs the initialize of the graphical output.

◆ GraphicalOutputExecuteInitializeSolutionStep()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteInitializeSolutionStep (   self)

This function performs the ExecuteInitializeSolutionStep of the graphical_output.

◆ GraphicalOutputPrintOutput()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputPrintOutput (   self)

This function prints the output for this time step.

◆ Initialize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.Initialize (   self)

This function initializes the AnalysisStage Usage: It is designed to be called ONCE, BEFORE the execution of the solution-loop This function has to be implemented in deriving classes!

◆ InitializeSolutionStep()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.InitializeSolutionStep (   self)

This function performs all the required operations that should be executed (for each step) BEFORE solving the solution step.

◆ KratosPrintInfo()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.KratosPrintInfo (   self,
  message 
)

This function prints info on screen.

◆ SetGraphicalOutput()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.SetGraphicalOutput (   self)

This function sets the settings for the graphical output.

◆ SetParallelSize()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.SetParallelSize (   self,
  num_threads 
)

This function sets the number of threads.

◆ StartTimeMeasuring()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.StartTimeMeasuring (   self)

This function starts time calculation.

◆ StopTimeMeasuring()

def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.StopTimeMeasuring (   self,
  time_ip,
  process,
  report 
)

This function ends time calculation.

Member Data Documentation

◆ clock_time

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.clock_time

◆ computing_model_part

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.computing_model_part

processes settings end #### START SOLUTION ####

◆ constitutive_laws_names

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.constitutive_laws_names

◆ delta_time

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.delta_time

◆ echo_level

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.echo_level

TIME MONITORING END ####.

PARSING THE PARAMETERS #### set echo level

◆ end_time

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.end_time

◆ graphical_output

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.graphical_output

◆ main_model_part

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.main_model_part

Model_part settings start ####.

◆ model

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.model

◆ model_processes

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.model_processes

Processes settings start ####.

◆ output_settings

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.output_settings

◆ post_process_model_part

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.post_process_model_part

◆ problem_name

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.problem_name

◆ problem_path

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.problem_path

◆ report

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.report

◆ step

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.step

Sets strategies, builders, linear solvers, schemes and solving info, and fills the buffer.

◆ t0p

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.t0p

TIME MONITORING START #### Time control starts.

◆ t0w

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.t0w

◆ time

pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.time

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