Skip to content

Software · CAE Utilities

Freeware

FoilGrid

From airfoil coordinates to a simulation mesh

A free GUI tool for generating O-grid, C-grid and C-H grid meshes around a single airfoil. Inspect the mesh and its quality, then export to CGNS or VTU.

Mesh generation for airfoil simulation

Load airfoil coordinates or create a profile in the application, then set the surface and wall-normal resolution to generate a mesh. Choose hyperbolic marching or elliptic smoothing and adjust the mesh distribution at the leading edge, trailing edge and wake.

Use FoilGrid to prepare airfoil flow simulations and compare mesh topologies and wall spacing. Configure, generate, inspect and export the mesh in a single interface.

Choose a topology for the geometry

O-grid
A single block wraps around the airfoil. Supports rounded or flat closure of an open trailing edge, as well as closed sharp trailing edges.
C-grid
A three-block topology that extends mesh lines into the wake from a closed, sharp trailing edge.
C-H grid
A four-block topology that closes an open trailing edge with a flat base and connects it to wake blocks.

O-grid and C-H grid meshes for the same flat trailing-edge profile. Choose how to resolve the trailing edge and wake to suit the geometry and analysis.

FoilGrid O-grid around an airfoil with a flat trailing edge
O-grid · A single block surrounds the profile.
FoilGrid C-H grid connecting a flat trailing-edge base to the wake
C-H grid · Separate blocks resolve the trailing-edge base and wake.

From input to export

  1. 01

    Prepare the profile

    Open an XFOIL/Selig .dat coordinate file with Open Airfoil, or create a profile with Create Airfoil.

  2. 02

    Configure the mesh

    Select the closure and topology for the trailing edge. Set node counts, the farfield, leading- and trailing-edge spacing, and the first-layer height.

  3. 03

    Generate and inspect

    Generate the mesh and review its lines and quality metrics. Regenerate after changing settings to update the result.

  4. 04

    Export

    After checking quality, use Export Mesh to save a CGNS or VTU file.

Specify the first-layer height directly, or estimate it from y+, Reynolds number and reference chord. The y+-based value is an estimate derived from a flat-plate correlation.

Inspect mesh lines and quality together

Cells
Check the final number of cells to be exported.
Min Jacobian
The minimum scaled Jacobian indicates cell validity and must be positive.
Max skewness
Cell distortion on a scale from 0 to 1; values closer to 0 are ideal.
Invalid cells
Cells with non-finite values or a scaled Jacobian at or below zero. This count must be zero to export.

Use mesh lines, zoom and pan to inspect the leading edge, trailing edge, wake and block interfaces. Invalid meshes remain visible for inspection, but export is disabled.

From a 2D section to a 3D mesh

Extrude the generated 2D mesh uniformly over a chosen length and number of divisions. Optionally rotate the output to Z-up. Symmetry boundary markers are assigned to the two end sections.

FoilGrid C-grid extruded into 3D and rotated to Z-up
A C-grid extruded into 3D, extending the 2D mesh through the span.

Input and output

Input
XFOIL/Selig labeled-coordinate airfoil .dat files, representing a single continuous airfoil section.
CGNS
The default output format. Block-interface nodes are merged into a single unstructured zone, with boundary names and CGNS BC types.
VTU
An additional output format for mesh inspection and post-processing.

Unit-chord coordinates are recommended. File input is not automatically normalised or rotated. Check CGNS boundary markers and assign physical boundary conditions in the target solver.

Continue exploring

Grid Assistant

Inspect, convert and replicate existing meshes, then export to CGNS

Open →

Wake CFD

Explore flow solver capabilities and application areas

Open →

FoilGrid is free to use

Download the installer from GitHub Releases. See the user manual for coordinate input, topology selection and export instructions.