11#include "libmesh/exodusII_io.h"
12#include "libmesh/exodusII_io_helper.h"
22 params.
addClassDescription(
"Heat structure component that loads a 3D mesh from an ExodusII file");
registerMooseObject("ThermalHydraulicsApp", HeatStructureFromFile3D)
virtual void init()
Initializes the component.
void logError(Args &&... args) const
Logs an error.
virtual void check() const
Check the component integrity.
@ MESH_PREPARED
mesh set up
void checkSetupStatus(const EComponentSetupStatus &status) const
Throws an error if the supplied setup status of this component has not been reached.
Loads a mesh from an ExodusII file without adding physics.
const FileName & _file_name
The name of the ExodusII file to load the mesh from.
std::vector< std::string > buildMesh()
Loads the ExodusII file into the global mesh and returns the subdomain names (before prepending compo...
static InputParameters validParams()
const bool _file_is_readable
Is the file readable?
Heat structure component that loads the mesh from an ExodusII file.
static InputParameters validParams()
virtual void addVariables() override
virtual void check() const override
Check the component integrity.
virtual void addMooseObjects() override
bool hasRegion(const std::string ®ion) const
Has the given region?
HeatStructureFromFile3D(const InputParameters ¶ms)
virtual void init() override
Initializes the component.
virtual void setupMesh() override
Performs mesh setup such as creating mesh or naming mesh sets.
std::vector< std::string > _region_names
Region names.
Interface class for heat structure components.
void addMooseObjects()
Method to be called in the component's addMooseObjects() method.
void check() const
Method to be called in the component's check() method.
void init()
Method to be called in the component's init() method.
void addVariables()
Method to be called in the component's addVariables() method.
static InputParameters validParams()
void read_and_store_header_info()
void open(const char *filename, bool read_only)