Collocated Mesh — CAE Glossary
What is Collocated Mesh
I saw "collocated mesh" and "staggered grid" in my CFD textbook. What does collocated mesh mean?
A collocated mesh (Collocated Mesh) is a method in which all physical quantities such as velocity $u, v, w$, pressure $p$, and temperature $T$ are stored at the same location at the cell center. "Co-located" means "placed in the same location."
Isn't that obvious? Putting everything in the same place seems natural to me…
Good question. Historically, it was not like that. During the heyday of structured grid CFD in the 1960s–80s, the staggered mesh (Staggered Mesh) was the dominant approach. In staggered grids, velocity components are placed at cell faces and pressure is placed at the cell center. By intentionally offsetting the variable locations, you could obtain a numerically stable pressure field.
Comparison with Staggered Grid
So is staggered better? Why did collocated become the mainstream now?
Staggered grids certainly suppress pressure oscillations naturally on structured grids. But it has a major weakness: it is extremely difficult to apply to unstructured grids (triangles, tetrahedra, polyhedra, etc.). When you want to mesh complex shapes like automobile bodies or turbine blades into a mesh, unstructured grids are essential, right? That's where collocated grids come in.
I see. In a rough comparison, what are the key differences between the two?
Here's a summary:
| Item | Collocated Mesh | Staggered Grid |
|---|---|---|
| Variable arrangement | All variables at cell center | Velocity at cell faces, pressure at cell center |
| Unstructured grids | Easily applicable | Difficult to apply |
| Pressure oscillation | Rhie-Chow interpolation required | Naturally suppressed |
| Data structure | Simple (one storage point type) | Complex (different storage points per velocity component) |
| Major adopted solvers | OpenFOAM, Fluent, STAR-CCM+ | Classical structured grid codes |
Current major CFD solvers use collocated grids almost exclusively. Memory management is simpler and code maintainability is higher.
Checkerboard Pressure Problem
Earlier you mentioned "pressure oscillation." Why does pressure oscillate in a collocated grid?
This is the famous Checkerboard Pressure Problem. Let's think about it in one dimension. When we discretize the pressure gradient term in the momentum equation using central differences, the pressure gradient at cell $i$ becomes
Here's what you should notice: the pressure $p_i$ at cell $i$ itself does not appear in this equation at all. Odd-numbered and even-numbered cells can have independent pressure fields.
Ah, so only alternating cells' pressures are referenced, meaning a checkerboard-like alternating pattern of high and low pressure is not detected?
Exactly! For example, a pressure distribution of $p = [100, 0, 100, 0, 100, \ldots]$ would look like zero gradient in central differences. The pressure correction using the continuity equation cannot eliminate this oscillation mode either. As a result, the solution ends up with a physically impossible checkerboard pressure field. In 2D it looks just like a chessboard, so it's called "checkerboard."
Why doesn't this problem occur in staggered grids?
In staggered grids, velocity is located at cell faces. The pressure gradient at face $i+1/2$ for the velocity becomes
directly referencing the pressure of adjacent cells. This means a checkerboard-like alternating pressure pattern is not allowed. This property is why staggered grids were stable.
Rhie-Chow Interpolation
So how did collocated grids overcome the checkerboard problem?
The Rhie-Chow Interpolation (Rhie-Chow Interpolation), proposed by Rhie and Chow in 1983, is the solution. It is used in combination with the SIMPLE-family pressure-correction algorithm. The basic idea is this:
When calculating the mass flux at a cell face, instead of simply linear interpolating the cell-center velocity, we add a correction term based on the pressure gradient. Specifically, the velocity at cell face $f$ is calculated as
$$u_f = \overline{u}_f - \overline{d}_f \left[ \left(\frac{\partial p}{\partial x}\right)_f - \overline{\left(\frac{\partial p}{\partial x}\right)}_f \right]$$where $\overline{u}_f$ is linear interpolation of cell-center velocities, $\overline{d}_f$ is a coefficient from the momentum equation, and the term in square brackets is the difference between "pressure gradient at the face" and "interpolated value of pressure gradient from cell centers."
Hmm, looking at the equation, I don't intuitively understand what it's doing. What is it really doing?
Roughly speaking, we're artificially recreating the pressure gradient that would have been obtained on a staggered grid on a collocated grid. The pressure gradient at the face $(\partial p/\partial x)_f$ is calculated from the pressure difference between adjacent cells, so it directly sees $p_i$ and $p_{i+1}$. On the other hand, the gradient at the cell center interpolated to the face $\overline{(\partial p/\partial x)}_f$ only has information from alternating cells. By taking the difference of these two, a damping (attenuation) effect for the checkerboard mode is created.
I see, it's like adding artificial dissipation. But doesn't that reduce accuracy?
That's a sharp observation. The Rhie-Chow correction term depends on grid spacing $\Delta x$, so as the grid is refined, the correction amount becomes smaller and its impact on accuracy disappears. In other words, grid convergence is preserved. However, in unsteady calculations, there is a known issue of time-step dependence, with excessive damping as $\Delta t \to 0$. This was corrected in improved versions by Choi (1999) and others, but in practice it rarely becomes a major issue with default settings.
Practical Considerations
Are there things to be careful about when using collocated grids in practice?
There are several important points:
- Mesh distortion: Highly non-orthogonal meshes (where the line connecting adjacent cell centers makes a large angle with the cell face normal) can make the Rhie-Chow pressure correction inaccurate. In OpenFOAM, you handle this by increasing non-orthogonal correctors.
- Pressure boundary conditions: In collocated grids, pressure boundary values are defined at cell faces, but storage points are at cell centers. The way you specify pressure at inlet/outlet affects accuracy, so check the solver manual carefully.
- Time step in unsteady calculations: As mentioned earlier, Rhie-Chow interpolation can lead to excessive damping when $\Delta t$ is extremely small. In analyses like VOF method for free surface tracking, careful attention is needed along with Courant number management.
Both OpenFOAM and Fluent use collocated grids, right? In regular use, do you get settings like "choose the grid type"?
Right, all current major solvers assume collocated grids, so you rarely see a user-facing option to "choose between collocated and staggered." Rhie-Chow interpolation is automatically applied internally by the solver. However, it's important to recognize when your solution shows pressure oscillation-like behavior—that's when you might think "this could be checkerboard." It becomes a cue to improve mesh quality or review discretization schemes.
So to summarize: collocated grids are the standard in modern CFD because they work with unstructured grids, but the checkerboard problem is handled with Rhie-Chow interpolation?
Perfect summary. What you should remember is that the mesh arrangement method directly affects discretization accuracy and stability. Knowing "why this grid arrangement?" and "what artificial processing is happening behind the scenes?" dramatically improves your ability to interpret results and troubleshoot.
Definition
Collocated Mesh (Co-located Grid) is a grid arrangement method in the finite volume method where all solution variables such as velocity, pressure, and scalar quantities are stored at a single node at the cell center.
In contrast, Staggered Mesh (Staggered Grid) is a method where velocity components are placed at cell faces and pressure at the cell center, originating from the MAC method by Harlow & Welch (1965).
Advantages and Challenges of Collocated Grids
Advantages:
- Easy to apply to unstructured grids (triangles, tetrahedra, polyhedra)
- Simple data structure with high memory efficiency and code maintainability
- All variables at the same location make multiphysics coupling easier to implement
Challenges:
- Central difference pressure gradient discretization produces checkerboard pressure oscillation
- Pressure-velocity coupling methods like Rhie-Chow interpolation (1983) are essential
- Unsteady calculations can have time-step-dependent numerical dissipation
Mathematical Expression of Rhie-Chow Interpolation
The mass flux velocity at cell face $f$ is given by:
$$u_f = \overline{u}_f - \overline{d}_f \left[ \left(\nabla p\right)_f - \overline{\left(\nabla p\right)}_f \right]$$where $\overline{(\cdot)}_f$ is linear interpolation of cell-center values to the face, and $d = V / a_P$ ($V$: cell volume, $a_P$: diagonal coefficient of momentum equation). The second term acts as a damping term for the checkerboard mode.
Related Terms
- Staggered Grid: A grid arrangement where velocity and pressure storage points are intentionally offset
- SIMPLE Method: A representative algorithm that iteratively couples pressure and velocity
- Checkerboard Problem: A numerical instability where the pressure field oscillates in a checkerboard pattern
- Finite Volume Method (FVM): The discretization method where collocated grids are most widely used
- Unstructured Grid: A grid composed of irregular elements such as triangles, tetrahedra, and polyhedra
Accurate understanding of CAE terminology is the foundation of team communication. — Project NovaSolver also aims to support learning for practitioners.
Please tell us about the challenges you face with collocated grids in practice
Project NovaSolver aims to solve the challenges that CAE engineers face daily—complexity of setup, computational cost, result interpretation. Your practical experience becomes the driving force for better tool development.
Contact (Coming soon)Related Topics
detail
error