Menu

MOAB

Andrew Bennett

MOAB

About MOAB

MOAB (Mesh-Oriented datABase) is a package for storing and using mesh data.

Using MOAB

Once the installer has been run with dependencies installed and the path has been updated you may begin using MOAB. We will provide a small walkthrough of an example provided in the source code. The example is named SkinMesh, though you may choose any of the other examples using a similar procedure. This example will compute the outter face of an example mesh. For more information on each example refer to the readme in the examples directory.

Running the example

The examples for MOAB can be found conveniently in the folder .../libraries/moab/examples. Set your working directory to this location, then run the command

make SkinMesh



Now we will need to get a file to run the example on. To do this you may simply execute

wget http://trac.mcs.anl.gov/projects/ITAPS/export/6076/MOAB/trunk/MeshFiles/unittest/3k-tri-cube.h5m



To run the example on this test file you will use

./SkinMesh 3k-tri-cube.h5m



You should see the output

Warning: deleting all MBEdges
surface has 60 skin edges
surface has 60 skin edges
surface has 60 skin edges
surface has 60 skin edges
surface has 60 skin edges
surface has 60 skin edges

If you do not see this output the MOAB installation process may be incomplete or incorrectly configured.

MOAB Site


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.