Required field
Required field
Required field

# Compressible Fluid Flow Analysis

The Compressible fluid flow analysis is used to run simulations where fluid density variations have a considerable impact on the flow simulations. Commonly, when the flow velocities exceed ~30% of the speed of sound, compressible effects start to gain importance.

SimScale makes it possible to simulate compressible simulations. In the following, the setup for a compressible simulation is discussed.

## Creating a Compressible Analysis

To create a compressible analysis, first, select the desired geometry and click on ‘Create Simulation’:

Next, a window with a list of several analysis types supported in SimScale will be displayed:

Choose the Compressible analysis type and click on ‘Create Simulation’. This will lead to the Workbench for the compressible flow simulation with the following simulation tree and the respective settings.

## Global Settings

To access the global settings, click on ‘Compressible‘ in the simulation tree. It consists of certain parameters that can be selected to define the simulation. The parameters are listed below:

• Turbulence model
• Time dependency: Steady state or Transient
• Based on: Pressure (only for transient simulations)

For detailed information about each of these parameters, visit the global settings page.

## Geometry

The Geometry section allows you to view and select the CAD model required for the simulation. It is important that the CAD model is well prepared to avoid any meshing or simulation related errors. Find more details on CAD preparation and upload here.

## Model

This section only appears if an LES (large eddy simulation) turbulence model is chosen inside global settings. Here, parameters related to the delta coefficient in LES need to be specified.

Find further information about the model section here.

## Materials

Here, the appropriate fluid for the simulation can be specified. Since temperature is an important property for compressible simulations user needs to specify the corresponding thermophysical properties for the fluid in consideration.

## Initial Conditions

In a compressible simulation, the computational domain will be solved for three fields: pressure $$(P)$$, velocity $$(U)$$, and temperature $$(T)$$. Additional turbulent transport quantities may be included based on the turbulence model selected. Under Initial conditions, these values can be initialized for the whole domain or a sub-domain.

Important

For any simulation, initial and boundary conditions must be specified for all required variables on every boundary.

It is recommended to set the initial conditions close to the expected solution to avoid potential convergence problems. Alternatively, SimScale provides the possibility to use a potential flow solver to initialize the field before starting the actual simulation. This option is available under Simulation Control.

Learn how the initialization process takes place in depth in this document.

## Boundary Conditions

Boundary conditions help to add a closure to the problem in hand by defining how a system interacts with the environment. Check out this detailed list of available boundary conditions and how they can be applied to the domain boundaries.

Important

In case no boundary conditions are assigned to a face, by default it will receive a no-slip wall boundary condition with wall function for turbulence resolution along with a zero-gradient condition for temperature.

Under Advanced concepts, you will find additional setup options, such as rotating zones, momentum sources, porous media, solid body motions, and passive scalar sources. Visit this dedicated page for more information.

## Numerics

Numerical settings play an important role in the simulation configuration. They define how to solve the equations by applying proper discretization schemes and solvers to the equations. They help enhance the stability and robustness of the simulation. Although all numerical settings are made available for users to have full control over, it is advised to keep them default unless necessary.

Note

SimScale uses its own version of OpenFOAM® solvers developed in-house.

## Simulation Control

The Simulation control settings define the general controls over the simulation. In this tab, a series of variables can be set. For example, the End time and Maximum runtime for the simulation can be defined.

For a complete overview of the parameters and their meaning, check this page.

## Result Control

The Result Control section allows users to define additional simulation result outputs. It controls how the results will be written meaning the write frequency, location, statistics of the output data, etc.

Find more details about result controls here.

## Mesh

Meshing is the process of discretization of the simulation domain. That means we split up a large domain into multiple smaller domains and solve equations for them.