Skip to content

Commit 55ef221

Browse files
committed
add exodus installation information to demo doc
exodus install flag not supported in firedrake-update
1 parent 181de5a commit 55ef221

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

demos/immersed_fem_cubit/immersed_fem_cubit.py.rst

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,19 @@ please refer to the documentation on the
1212
Sandia Engineering Analysis Code Access System (SEACAS) project's
1313
`homepage <https://gsjaardema.github.io/seacas-docs/sphinx/html/index.html>`_ or
1414
`their GitHub page <https://github.com/gsjaardema/seacas>`_.
15+
1516
While this demo focuses on using CUBIT and/or Coreform Cubit for constructing
1617
Exodus meshes, the SEACAS page provides utilities and detailed information
1718
for creating Exodus meshes programmatically. For example, the user could
1819
use any mesh-generation library available in Matlab, Python, Julia, C++, Fortran, etc.,
1920
construct the proper datatype in said language, and then export directly to
2021
the Exodus format. This excercise is left to the reader.
2122

22-
As example, we will construct and mesh a rectangle with a disc
23+
**Note:** In order to use Exodus files, the Exodus library must first be installed.
24+
This can be done simply by adding the flag ``--with-exodusii`` to the
25+
``firedrake-install`` command.
26+
27+
Beginning the demonstration, we will construct and mesh a rectangle with a disc
2328
in the middle as shown in the below image
2429

2530
.. image:: immersed_geom_cubit.png

docs/source/variational-problems.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ object like so:
3333
This works in both serial and parallel, Firedrake takes care of
3434
decomposing the mesh among processors transparently.
3535

36+
**Note:** To read meshes in the Exodus format, you need to build
37+
Firedrake with the ``--with-exodusii`` flag in the ``firedrake-install`` command.
38+
For more information example and an example of generating an Exodus
39+
mesh see: :doc:`Creating Firedrake-compatible meshes in Cubit<demos/immersed_fem_cubit.py>`
40+
3641
Reordering meshes for better performance
3742
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3843

0 commit comments

Comments
 (0)