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.3-cp314-cp314-win_amd64.whl (5.0 MB view details)

Uploaded CPython 3.14Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp314-cp314-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.3-cp313-cp313-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.13Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp313-cp313-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.3-cp312-cp312-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.12Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp312-cp312-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.3-cp311-cp311-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.11Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp311-cp311-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.3-cp310-cp310-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.10Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp310-cp310-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

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

Uploaded CPython 3.9Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp39-cp39-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.3-cp38-cp38-win_amd64.whl (4.9 MB view details)

Uploaded CPython 3.8Windows x86-64

kratosfluiddynamicsapplication-10.4.3-cp38-cp38-manylinux_2_28_x86_64.whl (15.8 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 39b9571803915f8a4733871d2749ea1df37dc27ff34ea7532e76acb9f59f8ace
MD5 9327ff4047b7947f91c871fe7417c707
BLAKE2b-256 db85b63729d8576c727163a9027a6847bf6a51ca345549fea6514e5ba728cd6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44367689c4d36fdf9b23cb4e61a6302c446f2cef0144c8f705041b0802b935a4
MD5 b18a865bd0550d1bc513d1c7c965996a
BLAKE2b-256 f6143f8f6755755631e4ebe3dad6164dfc9491d359ec88da519c3fb016539cca

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1459573ba25f5241b7e59884d96e195ad36ede72b4637159f0a3e8cf4aad0680
MD5 369de02b58dedf0d412d5341c5d57c1a
BLAKE2b-256 3f110a7e452d8bf4a2685d05278016db43d978bba25136e418e8aa58b30b6d5e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6502e7c637346846d1328d33e9b87f208b4f48790505cf6c0e970d3fb345f2b9
MD5 3d7f11e1346c843059e7590c346c0dd2
BLAKE2b-256 e0470b8ed628944d83daacf85c1aa841d5a11223c945ee665193b7febc632b2f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 21935218f98c30cc037ecbafc0cc12a8db61587abe4a02b244d0665bf7b14bf3
MD5 6fea5a9e1f78f568c07e17fc947827a7
BLAKE2b-256 926674df1d5e16508f244f82bb4317e6eea93b91c5c67de2f68e3f0b16644e70

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 80f5456018332dadbd4be2d33f5d86fc57ebe29c8f525a0625d7d7719ef1260b
MD5 0391ed9e1d27ccda804fc1e4c0ebbc80
BLAKE2b-256 ad8861af28f24a1eb225860dac4232c91058b61ad983303b564d01d38da3bc14

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 9b5839a8dc63a3ec214b477308b82de26ffa4044faaa43ea2f1fff7f8f330d88
MD5 1259cac946141f611f6d686f29634909
BLAKE2b-256 cff853ff11ab374a97f8e5206ecbcba776789b24a09dac6f32795a4e7ba83217

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 44d96bc93bf09310a85fda3df1f9761f97ddd19dc1efffd5671390e2ba5ae8cf
MD5 8e0edc2a8ed8f7ef3f3721a69adde578
BLAKE2b-256 a154911ff9b4f70e8af2a7f7777e2fce2dbc14ac4f6c5f2fb86e33f3746e703e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 cc76067702b84dc8ff2803db083445994090d853541e8e94e4aad5c24c7c250b
MD5 01c1a2da6be70d61c2c7ae96a9b48ec4
BLAKE2b-256 b85cd772cdeada30d5afbd4560c3398c8c549883134dd837e7b684d6ea2c14fa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6311720cc471eb3711f013dc24127f4497b3d161b2ae025e2ca405da00714c6a
MD5 de485b2b2b336160d54ac99a3ff63791
BLAKE2b-256 96f879455964f4cba826921bba13e7aa2474cceb363e34480e4091994ae9f98e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 22915c7f6c311837d5763c7eacf71a02dfa4e5c23fc02900a940ce1331786f82
MD5 1f1443986f02dd657d0b13371e596e77
BLAKE2b-256 b8abf23126eea584e36ccc896fa8439ac04720b156705e7346968d969bb8f5c5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d9396a18cea070ea4afa5e2c077060f528de090c817e29bf30240d1647002a96
MD5 ba47d1d6dd0da5cf315c3e1bd17047ab
BLAKE2b-256 ddd37da667642caa0eb8bc63e75c02e66444ba04439187b084f8051b0ed54cf9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e473dff3cbf59d85019e4f0ae21675e44f5470841a6efc591d95599210c3adbd
MD5 58daa6585bffac87710170a15886015e
BLAKE2b-256 7c068aa5029365c58d6a2f48328dddd4dd13da9e04acd3594b05f8a0b35c12d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.3-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 54c15c12870ea0061a75437d2396b4723c01753ef75802d5de8957879c0484e1
MD5 baed9521280d8c28043e49b18a74e404
BLAKE2b-256 fecb267cf640b04f13ff029652582ca9898f2e6708cdd2715554e4b92d34ee53

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