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

Uploaded CPython 3.14Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp314-cp314-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.14manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp313-cp313-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.13Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp313-cp313-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp312-cp312-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.12Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp311-cp311-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.11Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp311-cp311-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp310-cp310-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.10Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp39-cp39-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.9Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp39-cp39-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ x86-64

kratosfluiddynamicsapplication-10.4.0-cp38-cp38-win_amd64.whl (4.6 MB view details)

Uploaded CPython 3.8Windows x86-64

kratosfluiddynamicsapplication-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl (13.6 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.28+ x86-64

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 d3e0b109f8cc49a1aeeb506496111b575ccf238bef2710122600301bb8aca888
MD5 97d6b8163f38839db0705b3ffe27c2c0
BLAKE2b-256 5b44d655dc033f094283c6167cf28d6ee8a5e24f1ac8eb6dd4015269b708bf62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp314-cp314-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55c6f85bfd1c7e2d009dae9c4f0e51ec362ee016f44ba7148a950f244128caf2
MD5 5f789045c1f877d70d09b8d04fbaf20c
BLAKE2b-256 1e5fa3ddd55203317514dc69cc1ec272825385120aac0bcf0cdce08b25f60ffb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 d387615bef3140dfd6e121df3d90d4b774f024a5f6188efdf784e7be513e078f
MD5 1eb616cee8f6556a1d4fc8e1fd79f085
BLAKE2b-256 3f8a0320dc97a99c41383c0e520a367bcafd586aca10829b263d0c95d23a4664

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 192c15bc4e25109109291d2c9223a3f39ff40f09d66b248b683c58bef0c57f4f
MD5 9e22f54d823c79255c6e7c0e3dc29db1
BLAKE2b-256 0fce493f25f4387623db49e93565c256e292609e804231b0ee01fb00dc468f6d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 9b0232524198abc31b01566f76a67c13e8b9ee5277afa220a0daf897cdcd7801
MD5 cf8223310947abc269db0131d9cb0e22
BLAKE2b-256 8ff617b43ff3ca0fee1121a4ae2274715d773990b110dfd53876fd2c0eabcc9a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9750942432e95d9424a89ab79f0998ce0fbd3ef197afb86da242ec2b7665a901
MD5 483fbb460f4bb8cdac79d4099d54f914
BLAKE2b-256 ee1b8d0db64de64d5a59f127c28e0ce5591802cfe266c5ceb42f76c7f0d41de3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 978f583e0880718de90b51e129f1c48ad58107b81d2a1f8cf8eaa36eb573cd48
MD5 fcbf1aba8ca2c03a43feab980e4c66b9
BLAKE2b-256 bb09735b2ebb22debd61b2b024388f073933b3699da2f6aa5c752a93ddb7641d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9d15be39fd8772333069647ef510f2a83fbc4cfbb50a19c53ff5573c2d5dec02
MD5 e46189f97516c45932df3b57c7819f5e
BLAKE2b-256 3ca5294bfd142027564c8ab49b79d1c3ca7de10193a5223ac81cfbb5916689fb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 2c397f14e04c1ed60a084b9aea015539019fc91129f85c4d114dc768863252e8
MD5 3e2235b94635589af029535b3f7ab49f
BLAKE2b-256 0154fed941fba4b36e3f005a755830044e9acb7120482398f80320bfaf9ecdf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 71b70da2ae6d495c0605976829b2007dc9739555ef36607ec0efa9ad40d066b5
MD5 91e343cc26eda0a842f595e8e1f5ff84
BLAKE2b-256 ed140d1533a2db4733d521ffac3ee9c55d638d9eb6ce32f58ba937eae7383d62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d62b2aa8fbac567212fccc2f0e787fde364b3a2fdf6af32aa7c44af61cb50af2
MD5 44a38773a5da83b5d8df13a2759c5555
BLAKE2b-256 bc803c0baed31f6155af9ccccef6137ae253553520717e4a72b7524731f20989

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp39-cp39-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 8ed449f78f8eb16d237082e957264ccbf254a8fc225915c0f4beebef8c9569d7
MD5 cadc55a23af4ad78a3bf950e39f43124
BLAKE2b-256 0fabca09ef8d5000302415785a9ca226e6c9e426045f651601ec2728d5cbade4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 65de7ebdeaabb51145be4dcfddac63a5f4cb7271f5a0cedfa6b2de552e9eb26d
MD5 d18565480038dfa2d5690f8f32cd2491
BLAKE2b-256 9cf7cab25a03bcec41dfdada931c712ae8f1fe5478c27d4813576709218a6ce2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for kratosfluiddynamicsapplication-10.4.0-cp38-cp38-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cc56dd8a92677413c4948deac2ced0fa960611e705314dfafb36582a87a30d37
MD5 de2f05cab7e9818481c207fc23af04cc
BLAKE2b-256 f5463270defb69d8d0261d7792e863670f7bd6dad9e6b7c7666f519b91f1f2af

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