This tutorial covers a new feature of NekMesh introduced in the two-dimensional mesh generator. This feature focuses on the creation of a NACA profile surrounded by a rectangular bounding box as well as its meshing.
NekMesh: High-order mesh generation (from
STEP)
before proceeding. This chapter however includes a reminder of the steps required to
generate a mesh and run the solver.
To achieve the goals of this tutorial you will need an installation of the latest master
version
of Nektar++, available at nektar.info. This is because the features you will be using are
relatively new and have yet to be included in the latest release. Standard installation
instructions are applicable as described in the user guide, with one addition that CMake
should be configured to include NEKTAR_USE_MESHGEN=ON
. This will activate the installation of
the relevant meshing routines.
brew install homebrew/science/oce
port install oce
sudo apt-get install liboce-foundation-dev
liboce-modeling-dev
liboce
.Nektar++ will be able to pick up on any of these OCE installations. Installation of NekMesh on Windows with mesh generation is not possible due to the OpenCascade requirements at this time.
This tutorial additionally requires:
After the completion of this tutorial, you will be familiar with:
$NEK
for the remainder of the tutorial.
tutorial
, and download the
tutorial files from mesh-generation-2d-naca.tar.gz into this directory.
tar -xzvf mesh-generation-2d-naca.tar.gz
to produce a directory 2d-naca
with subdirectories called tutorial
and complete
.
The tutorial folder contains: