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 the PfemFluidDynamicsAnalysis. More...
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 | |
The base class for the PfemFluidDynamicsAnalysis.
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
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddAllMaterialVariables | ( | self | ) |
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddMaterialVariables | ( | self | ) |
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.AddPfemVariables | ( | self | ) |
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.
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.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GetParallelSize | ( | self | ) |
This function returns the number of threads.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteBeforeSolutionLoop | ( | self | ) |
This function performs the ExecuteBeforeSolutionLoop of the graphical_output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteFinalize | ( | self | ) |
This function performs the ExecuteFinalize of the graphical_output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteFinalizeSolutionStep | ( | self | ) |
This function performs the ExecuteFinalizeSolutionStep of the graphical_output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteInitialize | ( | self | ) |
This function performs the initialize of the graphical output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputExecuteInitializeSolutionStep | ( | self | ) |
This function performs the ExecuteInitializeSolutionStep of the graphical_output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.GraphicalOutputPrintOutput | ( | self | ) |
This function prints the output for this time step.
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!
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.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.KratosPrintInfo | ( | self, | |
message | |||
) |
This function prints info on screen.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.SetGraphicalOutput | ( | self | ) |
This function sets the settings for the graphical output.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.SetParallelSize | ( | self, | |
num_threads | |||
) |
This function sets the number of threads.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.StartTimeMeasuring | ( | self | ) |
This function starts time calculation.
def pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.StopTimeMeasuring | ( | self, | |
time_ip, | |||
process, | |||
report | |||
) |
This function ends time calculation.
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.clock_time |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.computing_model_part |
processes settings end #### START SOLUTION ####
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.constitutive_laws_names |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.delta_time |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.echo_level |
TIME MONITORING END ####.
PARSING THE PARAMETERS #### set echo level
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.end_time |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.graphical_output |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.main_model_part |
Model_part settings start ####.
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.model |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.model_processes |
Processes settings start ####.
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.output_settings |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.post_process_model_part |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.problem_name |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.problem_path |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.report |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.step |
Sets strategies, builders, linear solvers, schemes and solving info, and fills the buffer.
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.t0p |
TIME MONITORING START #### Time control starts.
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.t0w |
pfem_fluid_dynamics_analysis.PfemFluidDynamicsAnalysis.time |