This article provides a step-by-step tutorial for a fluid dynamic simulation of a non-return valve.
Valves under particular flow conditions can be simulated to obtain key performance quantities such as pressure drop through the system. Additionally, velocity and pressure results can be inspected in detail to identify regions of extreme pressure and flow inefficiencies. This tutorial acts as a guide for valve analysis best practices and can be used as a template for your future projects.
We are following the typical SimScale workflow:
Preparing the CAD model for the simulation.
Setting up the simulation.
Creating the mesh.
Run the simulation and analyze the results.
1. Preparing the CAD Model and Select the Analysis Type
First of all, click the button below. It will copy the tutorial project containing the geometry into your own workbench.
The following picture demonstrates what should be visible after importing the tutorial project.
You will notice that we are only modelling one half of the valve geometry. Due to having utilized the fact that the valve is symmetrical and this is a great way to save on both mesh size and simulation run time.
1.1 Create an Open Inner Region
Before we can begin a simulation, notice that we must first create the fluid volume. This has been done on the project you have imported from the link above. It is obtained by performing a geometry operation called Open inner region.
For the operation:
Select the surfaces surrounding the inlet and outlet openings as boundary faces.
Select any internal face as the seed face.
Once the operation is complete you will be left with the internal fluid volume.
1.2 Create a Simulation
Hitting the ‘Create Simulation’ button leads to the following options:
In this simulation we calculate the flow of water through a valve. As long as the speed of the fluid is subsonic (Mach Number below 0.3), we selected the incompressible analysis and ‘create the simulation’.
2. Assign Materials and Boundary Conditions
In order to have an overview, the following picture shows the boundary conditions applied for this simulation:
2.1 Define a Material
To apply the material to the geometry, press the ‘+ button‘ and the menu showed above list the available materials. For this simulation, we will select ‘water‘ and press ‘Apply‘ to confirm the material.
2.2 Assign Boundary Conditions
In the next step, boundary conditions need to be assigned, for this setup, flow, and geometric boundary conditions are required.
a. Flow Conditions
Starting whit the flow conditions, one needs to create a pressure inlet condition to the inlet as shown below.
After hitting the ‘+ button’ next to boundary conditions there will pop up a drop-down menu where one can choose between different boundary conditions.
Assign a pressure outlet condition of mean value 0 gauge pressure to the outlet. This sets the outlet to atmospheric pressure allowing flow to exit freely.
b. Geometry Conditions
Assign symmetry conditions to all the surfaces that lie directly on the plane of symmetry.
Don’t worry about the simulation control settings, since their default values are optimized according to the chosen analysis type, hence valid for the majority of simulations. If you are a simulation expert however, you can have a look at them and change the settings as you like.
You can use result control to observe the convergence behavior of certain items of interest. In this simulation it is not required.
To get the mesh, we recommend using the standard algorithm, which is a good choice in general because it is quite automated and delivers good results for the most geometries.
Did you know?
Often, large changes in the mesh’s cell sizes are only spotted in a few regions.
Increasing the global mesh refinements rises the cells drastically.
When using the standard mesher, SimScale offers the option of physics based meshing. This algorithm detects regions which require a finer resolution based on the boundary conditions set.
You can also do this manually, by using one of the local refinement options, foremost being feature, surface and region refinements.
The resulting mesh will have about 226.6k nodes and look like this:
4. Start the Simulation
Now you can ‘start’ the simulation, and after about 25 minutes you can have a look at the results.
Once your simulation is complete you can use the online post-processor to visualize the results. To get to grips with the post-processor please refer to the following documentation.
When analyzing valves, it is interesting to examine the velocity behavior through the system. Below shows velocity results with vectors included.
Analyze your results with the SimScale post-processor. Have a look at our post-processing guide to learn how to use the post-processor.
Strictly Necessary Cookies
Strictly Necessary Cookie should be enabled at all times so that we can save your preferences for cookie settings.
If you disable this cookie, we will not be able to save your preferences. This means that every time you visit this website you will need to enable or disable cookies again.