MOAB: Mesh Oriented datABase
(version 5.0.1)
|
#include <ReadRTT.hpp>
Public Attributes | |
int | sense |
std::string | name |
MOAB, a Mesh-Oriented datABase, is a software component for creating, storing and accessing finite element mesh data.
Copyright 2004 Sandia Corporation. Under the terms of Contract DE-AC04-94AL85000 with Sandia Coroporation, the U.S. Government retains certain rights in this software.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The RTT file format is used by the Attila deterministic radiation transport code. The specific mesh format can be found in Chapter 9 of the Attila manual. The format is defined by xml like, block/end block type syntax. The implementation at the time of writing supports a subset of the whole format, and even Attila does not support the entireity of its own mesh format.
The mesh contains several features, that as a whole allow the conversion from the RTT format, to a DAGMC geometry and a Tet Mesh for tallying.
Sides - Defines the 6 boundary condtions for top, bottom, front, back left and right, as well as internal and external. --------------------------------------------------------------------- Faces - Logically equivalent to surfaces in DAGMC, containers for triangles, includes the definition of the sense of the faces with respect to the Cells (volumes) which bound it.
The face syntax looks like
1 (+)Pyrex@14
This means Face (surface) 1 is used to define the insde of the Pyrex cell only
75 (+)Pyrex/(-)Fuel30@25
This means Face (surface) 75 is used by both Cell Pyrex and Cell Fuel 30, the + and - signs refer to the sense, i.e. the inside sense defines the Pyrex and the outside sense defines the Fuel. --------------------------------------------------------------------- Cells - Entityset like coillections of tetrahedra which define contiguous material properties
cell_flags 1 REGIONS 1 Pyrex end_cell_flags
Defines that there is 1 region called Pyrex --------------------------------------------------------------------- Nodes - Defines the vertices for facets and tets, the syntax of which is shown below
100 1.8900000000E+03 0.0000000000E+00 5.0000000000E+03 100
Defines that this is node 100, and has the coordinates 1890.0, 0.0 5000.0 cm --------------------------------------------------------------------- Side (element) - Triangles
1 3 874 132 154 3 6365
Defines that this is side element 1, it has 3 nodes, 874, 132 and 154, side ID 3 and surface number 6365 --------------------------------------------------------------------- Cells (element) - Tetrahedra
691 4 599 556 1218 1216 2
Defines that this is tet 691, it has 4 connections to nodes 599, 556, 1218, 1216 and belongs to cell number 2.
Definition at line 107 of file ReadRTT.hpp.
std::string boundary::name |
Definition at line 109 of file ReadRTT.hpp.
Referenced by moab::ReadRTT::get_side_data(), and moab::ReadRTT::split_name().
int boundary::sense |
Definition at line 108 of file ReadRTT.hpp.
Referenced by moab::ReadRTT::get_side_data(), and moab::ReadRTT::split_name().