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
response_functions.face_angle.FaceAngleResponseFunction Class Reference

Face angle response function. More...

Inheritance diagram for response_functions.face_angle.FaceAngleResponseFunction:
Collaboration diagram for response_functions.face_angle.FaceAngleResponseFunction:

Public Member Functions

def __init__ (self, identifier, response_settings, model)
 
def GetDefaultParameters (cls)
 
def Initialize (self)
 
def UpdateDesign (self, updated_model_part, variable)
 
def CalculateValue (self)
 
def CalculateGradient (self)
 
def GetValue (self)
 
def GetNodalGradient (self, variable)
 

Public Attributes

 identifier
 
 response_settings
 
 model
 
 model_part_needs_to_be_imported
 
 value
 
 model_part
 
 response_function_utility
 

Detailed Description

Face angle response function.

It aggregates the deviation of the face angles of all surface conditions using sqrt(sum(g_i)), where g_i are the condition wise violations - feasible conditions do not contribute

It requires surface conditions in the modelpart, since they are used to compute the face orientation. Ideally the design surface model part is used.

Attributes

model_part : Model part object of the response function response_function_utility: Cpp utilities object doing the actual computation of response value and gradient.

Constructor & Destructor Documentation

◆ __init__()

def response_functions.face_angle.FaceAngleResponseFunction.__init__ (   self,
  identifier,
  response_settings,
  model 
)

Member Function Documentation

◆ CalculateGradient()

def response_functions.face_angle.FaceAngleResponseFunction.CalculateGradient (   self)

◆ CalculateValue()

def response_functions.face_angle.FaceAngleResponseFunction.CalculateValue (   self)

◆ GetDefaultParameters()

def response_functions.face_angle.FaceAngleResponseFunction.GetDefaultParameters (   cls)

◆ GetNodalGradient()

def response_functions.face_angle.FaceAngleResponseFunction.GetNodalGradient (   self,
  variable 
)

◆ GetValue()

def response_functions.face_angle.FaceAngleResponseFunction.GetValue (   self)

◆ Initialize()

def response_functions.face_angle.FaceAngleResponseFunction.Initialize (   self)

◆ UpdateDesign()

def response_functions.face_angle.FaceAngleResponseFunction.UpdateDesign (   self,
  updated_model_part,
  variable 
)

Member Data Documentation

◆ identifier

response_functions.face_angle.FaceAngleResponseFunction.identifier

◆ model

response_functions.face_angle.FaceAngleResponseFunction.model

◆ model_part

response_functions.face_angle.FaceAngleResponseFunction.model_part

◆ model_part_needs_to_be_imported

response_functions.face_angle.FaceAngleResponseFunction.model_part_needs_to_be_imported

◆ response_function_utility

response_functions.face_angle.FaceAngleResponseFunction.response_function_utility

◆ response_settings

response_functions.face_angle.FaceAngleResponseFunction.response_settings

◆ value

response_functions.face_angle.FaceAngleResponseFunction.value

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