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