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
mac_donald_transition_benchmark.MacDonaldTransitionBenchmark Class Reference

Mac Donald's transcritical flow. More...

Inheritance diagram for mac_donald_transition_benchmark.MacDonaldTransitionBenchmark:
Collaboration diagram for mac_donald_transition_benchmark.MacDonaldTransitionBenchmark:

Public Member Functions

def __init__ (self, model, settings)
 Constructor of the benchmark. More...
 

Public Attributes

 upstream_settings
 

Detailed Description

Mac Donald's transcritical flow.

This is a Mac Donald's type solution with a smooth transition to supercritical flow in a
short domain, with Manning's friction coefficient.

The length of the channel is 100m and the discharge at steady state is q=2m^2/s. The flow
is fluvial upstream and torrential downstream, the boundary conditions are fixed as follows:
    - upstream: q=2m^2/s
    - downstream: free

This process sets the upstream and downstream boundary conditions.

O. Delestre, C. Lucas, P.-A. Ksinant, F. Darboux, C. Laguerre, T.N.T. Vo, F. James, S. Cordier
SWASHES: a compilation of Shallow Water Analytic Solutions for Hydraulic and Environmental Studies
International Journal for Numerical Methods in Fluids, Wiley, 2013, 72 (3), pp.269-300.

Constructor & Destructor Documentation

◆ __init__()

def mac_donald_transition_benchmark.MacDonaldTransitionBenchmark.__init__ (   self,
  model,
  settings 
)

Constructor of the benchmark.

    The base class validates the settings and sets the model_part, the variables and the benchmark_settings

Member Data Documentation

◆ upstream_settings

mac_donald_transition_benchmark.MacDonaldTransitionBenchmark.upstream_settings

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