Computing and Controlling the Volume of a Cavity
Walter Frei | February 3, 2014
There are various ways of handling interactions between fluids and solids in COMSOL. You can, for example, explicitly model the fluid using the full Navier-Stokes equations for the pressure and fluid velocity fields. Although that can be a very accurate approach, it’s much more expensive than is needed for certain types of Fluid-Structure Interaction (FSI) problems. Here, we’ll introduce a method for modeling enclosed volumes containing incompressible fluids, under the additional assumption that the momentum and energy transfer via the fluid is small.
Modeling an Enclosed Volume of Fluid
Let’s take a look at an existing example, a model of the compression of a hyperelastic seal. This example considers the cross section of a soft rubber seal as it is compressed. The fluid enclosed in the cavity is air. The example computes the compressive force, and compares the result of including the effect of the compressible air within the seal with the result of not including it.
Compression of a soft rubber seal. The stress and deformed shape are shown. Various ways of modeling the air inside of the seal are considered.
The existing model treats the air as a compressible fluid and computes the change in pressure p in the interior of the cavity as a function of the change in the cross-sectional area A of this two-dimensional example. Next, let’s take a look at how this is done. The air is treated as an ideal gas under adiabatic compression, which gives the pressure-density relation:
So to compute the change in pressure, we only need to know the change in area. The original area and pressure are both known, as well as the ratio of specific heats, \gamma. But how do we compute the cross-sectional area? The area is described by a region that we do not even want to include in our model. We can use Gauss’ theorem and convert an area integral to a boundary integral:
Where x is the x-coordinate of the deformed configuration of the seal, and n_x is the x-component of the outward facing normal vector to the boundary, also in the deformed configuration, thus giving us the enclosed area within the seal. This is done via an Integration Coupling Operator, called AreaInt, defined over the complete interior boundary of the enclosed volume. A variable, EnclosedArea, defined on the “Entire model”, defines the deformed area.
The area integral is defined over the inner boundaries of the seal.
The definition of the variables that defines the enclosed area and internal pressure, respectively. The negative sign must be used to compute the area since the normal to the solid is directed into the cavity.
The computed deformed area is used to determine the change in the internal pressure of the seal as it is deformed. This computed differential pressure is computed and applied as a load to the interior of the seal. To see the complete implementation of the above method, please look through the existing documentation for this model.
Considering an Incompressible Fluid
The above approach assumes that the fluid is compressible and that the internal pressure of the seal is a function of the change in area. But what if the fluid is incompressible? Let’s suppose that, instead of compressible air inside the seal, we are dealing with a bladder filled with water — which is very nearly incompressible. Then the enclosed area cannot change as the structure is deformed, and the above approach will not work. Therefore, we need an alternative.
We will introduce one more equation into this model, via the Global Equations feature added to the Solid Mechanics interface, to solve for the pressure within the fluid such that the volume doesn’t change. Let’s take a look at the interface:
The settings for the additional global equation. You will need to enable the Advanced Physics Options to view this feature.
The above screenshot shows the Global Equation settings for the additional variable, Pressure. The equation being satisfied is that the variable, EnclosedArea, equals the initial area, 123.63mm2. That is, the variable Pressure takes on whatever value is needed so that the enclosed area of the deformed shape equals the initial area. The variable Pressure is then applied to the interior of the seal via the Boundary Load feature, and the model is re-solved.
Comparison of solutions. No internal pressure (left), compressible air (center), and an incompressible fluid (right).
In this example, we have introduced a technique for modeling the interaction of an incompressible fluid and a deformable solid. By adding a global equation, we introduce one additional variable to the model that solves for the applied pressure needed to maintain a constant volume. This represents one of the simplest ways of solving a fluid-structure interaction problem.
Post TagsTechnical Content
Simulating Thermal Performance in Windows
- Applications 27
- Certified Consultants 32
- Chemical 66
- COMSOL Now 150
- Conference 108
- Core Functionality 104
- Electrical 172
- Fluid 113
- Interfacing 44
- Mechanical 199
- Multipurpose 20
- Tips & Tricks 14
- Trending Topics 61
- User Perspectives 91
- Video 72