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
manufactured_solution.ManufacturedSolution Class Reference
Collaboration diagram for manufactured_solution.ManufacturedSolution:

Public Member Functions

def __init__ (self, settings)
 This is a base class to build manufactured fluid solutions. More...
 
def BodyForce (self, x1, x2, x3, t)
 
def Velocity (self, x1, x2, x3, t)
 
def Pressure (self, x1, x2, x3, t)
 
def body_force1 (self, x1, x2, t)
 
def body_force2 (self, x1, x2, t)
 
def body_force3 (self, x1, x2, t)
 
def convective1 (self, x1, x2, t)
 
def convective2 (self, x1, x2, t)
 
def laplacian1 (self, x1, x2, t)
 
def laplacian2 (self, x1, x2, t)
 
def press_grad1 (self, x1, x2, t)
 
def press_grad2 (self, x1, x2, t)
 
def u1 (self, x1, x2, t)
 Velocity. More...
 
def u2 (self, x1, x2, t)
 Velocity. More...
 
def u3 (self, x1, x2, t)
 
def du1dt (self, x1, x2, t)
 
def du2dt (self, x1, x2, t)
 
def du11 (self, x1, x2, t)
 
def du12 (self, x1, x2, t)
 
def du21 (self, x1, x2, t)
 
def du22 (self, x1, x2, t)
 
def du111 (self, x1, x2, t)
 
def du122 (self, x1, x2, t)
 
def du211 (self, x1, x2, t)
 
def du222 (self, x1, x2, t)
 
def p (self, x1, x2, t)
 By default, pressure is 0. More...
 
def dp1 (self, x1, x2, t)
 By default, pressure is 0. More...
 
def dp2 (self, x1, x2, t)
 By default, pressure is 0. More...
 

Public Attributes

 rho
 
 nu
 

Constructor & Destructor Documentation

◆ __init__()

def manufactured_solution.ManufacturedSolution.__init__ (   self,
  settings 
)

This is a base class to build manufactured fluid solutions.

At least, it should return the body force and the velocity. The input viscosity is the DYNAMIC viscosity NOTE: the operators are implemented for the 2D case. It could be extended to the 3D case.

Member Function Documentation

◆ body_force1()

def manufactured_solution.ManufacturedSolution.body_force1 (   self,
  x1,
  x2,
  t 
)

◆ body_force2()

def manufactured_solution.ManufacturedSolution.body_force2 (   self,
  x1,
  x2,
  t 
)

◆ body_force3()

def manufactured_solution.ManufacturedSolution.body_force3 (   self,
  x1,
  x2,
  t 
)

◆ BodyForce()

def manufactured_solution.ManufacturedSolution.BodyForce (   self,
  x1,
  x2,
  x3,
  t 
)

◆ convective1()

def manufactured_solution.ManufacturedSolution.convective1 (   self,
  x1,
  x2,
  t 
)

◆ convective2()

def manufactured_solution.ManufacturedSolution.convective2 (   self,
  x1,
  x2,
  t 
)

◆ dp1()

def manufactured_solution.ManufacturedSolution.dp1 (   self,
  x1,
  x2,
  t 
)

By default, pressure is 0.

◆ dp2()

def manufactured_solution.ManufacturedSolution.dp2 (   self,
  x1,
  x2,
  t 
)

By default, pressure is 0.

◆ du11()

def manufactured_solution.ManufacturedSolution.du11 (   self,
  x1,
  x2,
  t 
)

◆ du111()

def manufactured_solution.ManufacturedSolution.du111 (   self,
  x1,
  x2,
  t 
)

◆ du12()

def manufactured_solution.ManufacturedSolution.du12 (   self,
  x1,
  x2,
  t 
)

◆ du122()

def manufactured_solution.ManufacturedSolution.du122 (   self,
  x1,
  x2,
  t 
)

◆ du1dt()

def manufactured_solution.ManufacturedSolution.du1dt (   self,
  x1,
  x2,
  t 
)

◆ du21()

def manufactured_solution.ManufacturedSolution.du21 (   self,
  x1,
  x2,
  t 
)

◆ du211()

def manufactured_solution.ManufacturedSolution.du211 (   self,
  x1,
  x2,
  t 
)

◆ du22()

def manufactured_solution.ManufacturedSolution.du22 (   self,
  x1,
  x2,
  t 
)

◆ du222()

def manufactured_solution.ManufacturedSolution.du222 (   self,
  x1,
  x2,
  t 
)

◆ du2dt()

def manufactured_solution.ManufacturedSolution.du2dt (   self,
  x1,
  x2,
  t 
)

◆ laplacian1()

def manufactured_solution.ManufacturedSolution.laplacian1 (   self,
  x1,
  x2,
  t 
)

◆ laplacian2()

def manufactured_solution.ManufacturedSolution.laplacian2 (   self,
  x1,
  x2,
  t 
)

◆ p()

def manufactured_solution.ManufacturedSolution.p (   self,
  x1,
  x2,
  t 
)

By default, pressure is 0.

◆ press_grad1()

def manufactured_solution.ManufacturedSolution.press_grad1 (   self,
  x1,
  x2,
  t 
)

◆ press_grad2()

def manufactured_solution.ManufacturedSolution.press_grad2 (   self,
  x1,
  x2,
  t 
)

◆ Pressure()

def manufactured_solution.ManufacturedSolution.Pressure (   self,
  x1,
  x2,
  x3,
  t 
)

◆ u1()

def manufactured_solution.ManufacturedSolution.u1 (   self,
  x1,
  x2,
  t 
)

Velocity.

◆ u2()

def manufactured_solution.ManufacturedSolution.u2 (   self,
  x1,
  x2,
  t 
)

Velocity.

◆ u3()

def manufactured_solution.ManufacturedSolution.u3 (   self,
  x1,
  x2,
  t 
)

◆ Velocity()

def manufactured_solution.ManufacturedSolution.Velocity (   self,
  x1,
  x2,
  x3,
  t 
)

Member Data Documentation

◆ nu

manufactured_solution.ManufacturedSolution.nu

◆ rho

manufactured_solution.ManufacturedSolution.rho

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