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 ([email protected]) Riccardo Rossi ([email protected]) Jordi Cotela ([email protected]) |
- 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. More info here.
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).
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.
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.
- Transonic flow around a NACA0012 profile
- Multistage transonic flow around a NACA0012 profile
- Transonic flow around a NACA0012 profile at a 3° angle
- Sod shock tube
- Supersonic flow in Woodward and Colella's Mach 3 step
- Supersonic flow over a wedge
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 example velocity field.
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.
The application also includes limited support for the multiscale modelling following the Representative Volume Element (RVE) approach.
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).
Conjugate Heat Transfer:
Fluid-Structure Interaction: