Skip to main content

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.

Project description

Fluid Dynamics Application

Left columns Description Status Authors
FluidDynamicsApplication The Fluid Dynamics Application contains the core developments in Computational Fluid Dynamics (CFD) within Kratos Multiphysics. Rubén Zorrilla (rzorrilla@cimne.upc.edu)
Riccardo Rossi (rrossi@cimne.upc.edu)
Jordi Cotela (jcotela@altair.com)

1. General features:

  • Stabilized FEM solvers for incompressible, weakly-compressible and compressible flow problems.
  • Support for MPI parallelization (with MetisApplication and TrilinosApplication).
  • Arbitrary Lagrangian-Eulerian (ALE) formulation allows for mesh deformation during the simulation (see MeshMovingApplication).
  • Compatible with meshes made up with linear elements.

Wind flow over Barcelona scalability test

Wind flow over Barcelona scalability test. More info here.

2. Incompressible flows

Features

The simulation of viscous incompressible flows is the main capability of this application. The application includes a variety of stabilized 2D/3D Navier-Stokes and Stokes solvers. Limited support to 2D axisymmetric problems is also included. Among the wide variety of stabilization techniques present in the literature, in this application the Variational MultiScale (VMS) (both with quasi-static and dynamic subscales), Orthogonal SubScales (OSS) and Finite Increment Calculus (FIC) methods are implemented. All the incompressible flow elements of the application support both Newtonian and non-Newtonian (Bingham, Herschel-Bulkley) constitutive models.

A set of boundary conditions are included in the application. On top of the standard fixed velocity/pressure there exists the possibility to impose slip boundary conditions using MultiFreedom Constraints (MFCs) or periodic conditions using MultiPoint Constraints (MPCs). Concerning the wall modelling, the application features linear-log and Navier-slip wall models, with the possibility to easily extend to other models.

The application also includes two different solution strategies. First one is the standard monolithic one in which both velocity and pressure equations are solved at once using a Newton-Raphson solver. Second one is a segregated fractional step strategy that accelerates the solution procedure (we note that this is only compatible with the VMS formulation).

Examples

3. Weakly-compressible flows

Features

Similar to the described above incompressible solver, the application also includes a VMS stabilized weakly compressible Navier-Stokes formulation. This solver modifies the mass conservation equation to add a slight compressibility which relates the pressure to the volume variation thanks to the inclusion of a pressure-density equation of state. The energy equation remains uncoupled so thermal effects are assummed to be negligible.

4. Compressible flows

Features

The application includes a 2D/3D explicit compressible solver implementing a VMS and OSS stabilized full Navier-Stokes formulations written in conservative variables (momentum, density and total energy).

A set of explicit strategies can be used

  • Forward Euler
  • Midpoint rule
  • 3rd order Total Variational Diminishing Runge-Kutta (RK3-TVD)
  • 4th order Runge-Kutta (RK4)

Two different shock capturing techniques are provided

  • Physics-based shock capturing
  • Entropy-based shock capturing

This solver can be combined in a multistage fashion with the ones in the CompressiblePotentialFlowApplication. By doing so, the potential solution can be used as initial condition to ease and accelerate the convergence of the full Navier-Stokes simulation.

As a final note, we shall remark that at current date this solver only supports shared memory parallelism (OpenMP).

Woodward and Colella's Mach 3 step density field.

Woodward and Colella's Mach 3 step density field.

Examples

5. Unfitted mesh methods

Features

The embedded solver allows the resolution of problems with unffitted boundaries, including flows around volumetric and volumeless (i.e. shell-like) bodies. Starting from a distance field, either analytical or obtained with any of the levelset algorithms in KratosCore, the embedded solver uses a Cut-FEM approach to solve the problem. This approach only supports simplicial meshes. (linear triangle and tetrahedron). This solver, which can be used in combination with all the formulations described in the incompressible flow section, makes possible to efficiently solve flows around non-watertight or poorly defined geometries (e.g. STL) as well as cases involving arbitrary large boundary displacements and rotations.

Current research on this topic include the development of Shifted Boundary Method (SBM) solvers.

Embedded moving cylinder velocity field [m/s].

Embedded moving cylinder example velocity field.

Examples

6. Two-phase flows

Features

The FluidDynamicsApplication includes a solver for the resolution of biphasic (Newtonian-air) viscous incompressible flows. This solver uses a levelset based approach which combines the implicit fluid solver with a convection and redistancing ones (see the KratosCore for more information about these). The solver is able to account for the pressure discontinuities thanks to a local enrichment plus an element-by-element static condensation, which avoids the need to reform the sparse matrix graph at each time step. Besides, the solver is also equipped with a strategy to revert the mass losses introduced by the levelset approach.

Examples

7. Multiscale modelling

The application also includes limited support for the multiscale modelling following the Representative Volume Element (RVE) approach.

8. Multiphysics problems

Features

The FluidDynamicsApplication can be coupled with other applications to solve multiphysics problems such as Fluid-Structure Interaction (FSI) (see FSIApplication) or thermally-coupled flows (buoyancy and Conjugate Heat Transfer (CHT)) (see ConvectionDiffusionApplication).

Examples

Conjugate Heat Transfer:

Fluid-Structure Interaction:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

KratosFluidDynamicsApplication-10.0.0-cp312-cp312-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.12 Windows x86-64

KratosFluidDynamicsApplication-10.0.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.8 MB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

KratosFluidDynamicsApplication-10.0.0-cp311-cp311-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.11 Windows x86-64

KratosFluidDynamicsApplication-10.0.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

KratosFluidDynamicsApplication-10.0.0-cp310-cp310-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.10 Windows x86-64

KratosFluidDynamicsApplication-10.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

KratosFluidDynamicsApplication-10.0.0-cp39-cp39-win_amd64.whl (4.3 MB view hashes)

Uploaded CPython 3.9 Windows x86-64

KratosFluidDynamicsApplication-10.0.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

KratosFluidDynamicsApplication-10.0.0-cp38-cp38-win_amd64.whl (4.4 MB view hashes)

Uploaded CPython 3.8 Windows x86-64

KratosFluidDynamicsApplication-10.0.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (13.7 MB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page