The simulation domain for a fluid dynamics simulation is the region occupied by the fluid (gas or liquid). In many cases the CAD model, however, will not contain the fluid volume by default. In such cases a region can be extracted as a single part, using the Flow volume extraction feature under Add geometry operation within the SimScale workbench.
This process can be referred to as Fluid Volume Extraction.
In order to illustrate the problem further, see the basic use case of a flow simulation through a pipe below.
There are three different flow volume extraction modes available within SimScale:
- Open Inner Region
- Closed Inner Region
Depending on your geometry and the fluid region that needs to be extracted, one of the three modes can be used. Find examples below about the application for each of the three types.
Open Inner Region
This operation generates a fluid volume for an open inner region. Like the pipe example above, an open inner region is defined by an enclosed space with a limited number of openings to the outside void. The extraction is performed by:
- Selecting the boundary faces that lie between the external environment and the internal (highlighted in blue)
- Selecting one internal seed face (pink)
- Running the extraction
By default, the original geometry is removed when the fluid volume is extracted. It is possible to keep all original parts by enabling the ‘Keep Existing Parts’ toggle.
This will result in a geometry that contains both the fluid volume as well as the outer wall geometry as two separate parts. However, for a simple fluid flow simulation, only the fluid volume is required. Keep the original geometry only in case of a conjugate heat transfer simulation in which the transfer of heat between the solid parts and the fluid domain needs to be simulated.
Closed Inner Region
This feature enables the creation of fluid regions within closed volumes. The operation here is similar to the case above, except only one internal seed face is required. An example of this extraction mode is demonstrated below for the case of a theater hall. Here the model does not have any openings to the outside, but the space occupied by the fluid is currently void inside the model. Therefore it needs to be extracted for simulation.
Figure 6 and 7 depict the process and the end result:
This option is generally used for external flow problems. The operation is performed by sizing the enclosure and then running the extraction operation. The example below shows a half symmetry air domain being created for a car CAD geometry.
Followed by a successful enclosure operation as follows:
In the case of an enclosure flow volume extraction, it is recommended to size the enclosure box in a way that the turbulent wake behind the model as well as the pressure region in front of the model does not reach the limits of the box.
A demo of the above cases can be found in the attached video. Don’t forget to subscribe for more such videos here:
Running into errors
If the above steps are not followed properly the user can run into errors. The possible reasons for these errors are elaborated here.