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
kratos_perturbation_process.ImposePerturbedInitialConditionProcess Class Reference

Process generating divergence-free correlated noise, imposing no-penetrability condition on bluff bodies, preserving boundary conditions on boundaries and (if required) adding the contribution of a manually-loaded velocity field. More...

Inheritance diagram for kratos_perturbation_process.ImposePerturbedInitialConditionProcess:
Collaboration diagram for kratos_perturbation_process.ImposePerturbedInitialConditionProcess:

Public Member Functions

def model_part_nodes (self)
 
def __init__ (self, model, settings)
 
def Create3DMappers (self, vector_field_generator)
 
def Create2DMappers (self, vector_field_generator)
 
def ExecuteInitialize (self)
 
def MapCorrelatedNoiseToModelPart (self)
 
def LoadVelocityField (self)
 
def SolveAssociatedPoissonProblem (self)
 
def GetDefaultParametersAnalysisStage (self)
 
def Check (self)
 
def ExecuteInitializeSolutionStep (self)
 
def ExecuteBeforeSolutionLoop (self)
 
def ExecuteFinalizeSolutionStep (self)
 
def ExecuteBeforeOutputStep (self)
 
def ExecuteAfterOutputStep (self)
 
def ExecuteFinalize (self)
 

Public Attributes

 model
 
 model_part
 
 vector_field_generator
 
 mappers
 

Detailed Description

Process generating divergence-free correlated noise, imposing no-penetrability condition on bluff bodies, preserving boundary conditions on boundaries and (if required) adding the contribution of a manually-loaded velocity field.

The generated initial field reads u_0 = u_T + c*P(u_{cn}) + c*\nabla potential , where u_T is the velocity field we load, c a penalty coefficient, and P(u_{cn}) and \nabla potential are discussed next. The process first projects the correlated noise u_{cn} into the model part. The projected correlated noise is denoted as P(u_{cn}). Then, the associated poisson problem for the unknown TEMPERATURE is solved:

Parameters: model : Kratos Model settings : Kratos Parameters

Constructor & Destructor Documentation

◆ __init__()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.__init__ (   self,
  model,
  settings 
)

Member Function Documentation

◆ Check()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.Check (   self)

◆ Create2DMappers()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.Create2DMappers (   self,
  vector_field_generator 
)

◆ Create3DMappers()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.Create3DMappers (   self,
  vector_field_generator 
)

◆ ExecuteAfterOutputStep()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteAfterOutputStep (   self)

◆ ExecuteBeforeOutputStep()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteBeforeOutputStep (   self)

◆ ExecuteBeforeSolutionLoop()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteBeforeSolutionLoop (   self)

◆ ExecuteFinalize()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteFinalize (   self)

◆ ExecuteFinalizeSolutionStep()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteFinalizeSolutionStep (   self)

◆ ExecuteInitialize()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteInitialize (   self)

◆ ExecuteInitializeSolutionStep()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.ExecuteInitializeSolutionStep (   self)

◆ GetDefaultParametersAnalysisStage()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.GetDefaultParametersAnalysisStage (   self)

◆ LoadVelocityField()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.LoadVelocityField (   self)

◆ MapCorrelatedNoiseToModelPart()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.MapCorrelatedNoiseToModelPart (   self)

◆ model_part_nodes()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.model_part_nodes (   self)

◆ SolveAssociatedPoissonProblem()

def kratos_perturbation_process.ImposePerturbedInitialConditionProcess.SolveAssociatedPoissonProblem (   self)

Member Data Documentation

◆ mappers

kratos_perturbation_process.ImposePerturbedInitialConditionProcess.mappers

◆ model

kratos_perturbation_process.ImposePerturbedInitialConditionProcess.model

◆ model_part

kratos_perturbation_process.ImposePerturbedInitialConditionProcess.model_part

◆ vector_field_generator

kratos_perturbation_process.ImposePerturbedInitialConditionProcess.vector_field_generator

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