18.01.2013 Views

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

Chapter 8 Configuring Fluidity - The Applied Modelling and ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

8 Getting started<br />

If you want to build the extended set of <strong>Fluidity</strong> tools which supplement the main <strong>Fluidity</strong> program,<br />

section 9.3.3, run:<br />

make fltools<br />

If this is the first time you have run <strong>Fluidity</strong> on your computer <strong>and</strong> you want to check that it has<br />

built correctly, you can run the included suite of test problems at three levels. <strong>The</strong> shortest tests test<br />

individual units of code for correctness <strong>and</strong> can be run with:<br />

make unittest<br />

To run the suite of short test cases which more extensively test the functionality of your <strong>Fluidity</strong><br />

build, run:<br />

make test<br />

For the most comprehensive set of tests included in your checked out copy of <strong>Fluidity</strong>, run:<br />

make mediumtest<br />

If you have obtained <strong>Fluidity</strong> through source archives rather than through subversion you will need<br />

to have also downloaded <strong>and</strong> unpacked the st<strong>and</strong>ard tests archive to be able to run make test <strong>and</strong><br />

make mediumtest .<br />

Note that even on the most modern systems make mediumtest may take on the order of an hour<br />

<strong>and</strong> on slower systems may take on the order of many hours to complete.<br />

1.4 Running <strong>Fluidity</strong><br />

1.4.1 Running <strong>Fluidity</strong> in serial<br />

To run <strong>Fluidity</strong> in serial use the following comm<strong>and</strong>:<br />

/bin/fluidity foo.flml<br />

Here, foo.flml is a <strong>Fluidity</strong> configuration file which defines the options for the model. <strong>The</strong>se files<br />

are covered in detail in <strong>Chapter</strong> 8 <strong>and</strong> are set up using a simple Graphical User Interface, Diamond.<br />

See section 1.5 for more information on how to run Diamond.<br />

<strong>The</strong>re are other options that can be passed to the <strong>Fluidity</strong> executable. A full list can be obtained by<br />

running:<br />

/bin/fluidity<br />

This will produce the following output:<br />

ERROR: Unrecognized arguments!<br />

Revision: 13536M<br />

Compile date: May 31 2010 13:03:59<br />

Adaptivity support yes<br />

2D adaptivity support yes<br />

3D MBA support no<br />

CGAL support no<br />

MPI support yes<br />

Double precision yes<br />

CGNS support no<br />

NetCDF support yes

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!