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 assumed 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

If you're not sure about the file name format, learn more about wheel file names.

kratosfluiddynamicsapplication-10.4.2-cp314-cp314-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.14Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp313-cp313-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.13Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp312-cp312-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.12Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp311-cp311-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.11Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp310-cp310-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.10Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp39-cp39-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.9Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.2-cp38-cp38-win_amd64.whl (4.8 MB view details)

Uploaded CPython 3.8Windows x86-64

kratosfluiddynamicsapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl (9.7 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 ae17268603453e88f7f1ab52f63f61c0852df52eee3f2744fdeb266cbc3973e4
MD5 725f0fdd56513e67e36b09244368e834
BLAKE2b-256 3416f282db6a6caaf56e5f61b7c61b15b20248c3f8ff1a9cc0445031022d04ce

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b64922b02dcb6e2496d1675037f9f49b783201df63fbae164e8eca8972209a56
MD5 8f4e4091601cee135b1d81ac99922f03
BLAKE2b-256 528e95f34f6fc0ce4c4a20613cbaedf43cb69b6ac29e44d4dde1cc18e67ee58d

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 64d9a94bc06eeeb9c1f1761f14dd2542c24da8af639b6935c93b7ede66a2e602
MD5 c30459e38d52c2e34b06e77c84a09dc0
BLAKE2b-256 2d1c00828b7c3b1ca06432bf29fa6fe3e0252f907c5b29b0091ff2ed8de4f7ee

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fe6b799e90612382f121ce6a3dd47a760a82882694c68c1e1c8881d96fb931e7
MD5 89c3b8121b8bdd97ae36b74bbcee22e0
BLAKE2b-256 cac870db0ac93d299c22544ca73eb270f1fc95716f3d516b08dd2d31ea91e268

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3e2f5b0e6aa82792d2223bfc95b347e9a1f37a1b4b9fe07da7c926f1b30fe67f
MD5 ce3d392977b851ebc3a4e62c4a0e9065
BLAKE2b-256 1f3568fbdc6d8e3751a0ad257dcd3a66d742c0fcf99fcb54832b44eec81cd71c

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ea114d4ebee4ef4f44393d1f70ad6e7c5b50f5ca37c1f6ded67794006ab29214
MD5 758ae75d47059d7ca239cfb8d6f1fa25
BLAKE2b-256 536ea2e0c56cfa949e351eb1bdd0c7fee21f2ec9acc3a7ba143d62a135c54b28

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6fa856c0b23a73aae95dba7970f0e14ca16733b03f887cd1d07dddabdf8e7da8
MD5 0155f4bd7c361649499fef2226d9e1ca
BLAKE2b-256 f005ceeec049d3f075487c2c7ffab104dfdd188aa5f54dbc0eca4c7c893adf1a

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6b6dffcf792e691612e71ff8db3d14335ed36f5656deb0c8af7b9aaedf8ab904
MD5 2095f37833630f4313188f34e7056be3
BLAKE2b-256 90d8e9c0f1378de7eab5123fe0a33bca2d02ef6de75c3ff775b37ea3f1c2a69b

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 253a09189b4daa0d61ee623ecb7754a8ab950680ec98bc28e6c7f3047e0f6b02
MD5 7dcd308f6d14a472a5f2b30542eeba41
BLAKE2b-256 fb5cb221f6cffd76341d10af8cd5b75d02996003737c2b7fd37f0ed59cdf792e

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1baae49d4a1279608bed3d263739c3fb9dc1a7820166310fd3a0a0cdf2b8f4db
MD5 6190d95f7b53c3a9eed238d5531598bd
BLAKE2b-256 1a4e53e0aeba78be21c5de410bf20e94509cbd5831c0c0c52c057808f143f9c1

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp39-cp39-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 5d69238a6bda7a5fb1fe1bf35af51add9010ca3af137c051f85f0d10d842324e
MD5 2c4512e42d57eb2b391a2b693d68392e
BLAKE2b-256 405082bbfeee4d4cbdcd338b15720cb091ffc382d1ef6657f2303fc2a0511332

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 5e56a6ad4378d8938f6647a4788d4542b974b3fb8e45fa9a9a300608fb088d02
MD5 6cf29fb80de4b23dd905175e57bfa823
BLAKE2b-256 6af612ec58c7906c9f601f68df2a17593e8baea340d16eacd17c2a9d34dc8b70

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp38-cp38-win_amd64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 18dc7b8fcc2d977d3126c0a360e46d2a92a58bc11b894bc365b983a88fc8d007
MD5 7bf377e3ef76ea8c0128a8fcb649c2e8
BLAKE2b-256 758305aab7b5922cfcee4ef201f435574a479f6905cfdad5889ba93a998a957f

See more details on using hashes here.

File details

Details for the file kratosfluiddynamicsapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.2-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1de9239667e7e08efe9fe62a04e718865e6debdaaa883be728d1b06228409a22
MD5 9e6c71cbf7868702128c32a5cbcfcd87
BLAKE2b-256 e19ee38b8a0781bef6a77744cd2b383c07a97efcce588329c91663ffdfeb8a78

See more details on using hashes here.

Supported by

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