31#ifndef OUTPUTBOUNDARYFLUXGNU_H
32#define OUTPUTBOUNDARYFLUXGNU_H
50 void writeResults(std::vector<CellInterface*>* cellInterfacesLvl)
override;
54 double getFlux(std::vector<CellInterface*>* cellInterfacesLvl);
FluxType
Definition OutputBoundaryFluxGNU.h:37
@ POWERFLUX
Definition OutputBoundaryFluxGNU.h:39
@ MASSFLOW
Definition OutputBoundaryFluxGNU.h:38
Definition CellInterface.h:48
double m_flux
Flux recorded through boundary either massflow (kg.s-1) or power flux (W).
Definition OutputBoundaryFluxGNU.h:72
FluxType m_fluxType
Flux type could be either massflow or power flux.
Definition OutputBoundaryFluxGNU.h:71
~OutputBoundaryFluxGNU() override
Definition OutputBoundaryFluxGNU.cpp:60
double computeTotalEnthalpyFluxFace(CellInterface *bound)
Compute the enthalpy flux contribution of a single cell interface.
Definition OutputBoundaryFluxGNU.cpp:171
void initializeSpecificOutputBound() override
Definition OutputBoundaryFluxGNU.cpp:64
double getFlux(std::vector< CellInterface * > *cellInterfacesLvl)
Get flux either massflow or enthalpy through the boundary.
Definition OutputBoundaryFluxGNU.cpp:91
void writeResults(std::vector< CellInterface * > *cellInterfacesLvl) override
Definition OutputBoundaryFluxGNU.cpp:206
double computeMassflowFace(CellInterface *bound)
Compute the massflow contribution of a single cell interface.
Definition OutputBoundaryFluxGNU.cpp:158
double computeTotalEnthalpyFluxFaceMRF(CellInterface *bound)
Compute the enthalpy flux contribution of a single cell interface when MRF is activated.
Definition OutputBoundaryFluxGNU.cpp:185
double extractMassflow(std::vector< CellInterface * > *cellInterfacesLvl)
Extract massflow throught the whole boundary surface.
Definition OutputBoundaryFluxGNU.cpp:106
double extractEnthalpyFlux(std::vector< CellInterface * > *cellInterfacesLvl)
Extract enthalpy flux throught the whole boundary surface.
Definition OutputBoundaryFluxGNU.cpp:123
OutputBoundaryFluxGNU(std::string casTest, std::string run, tinyxml2::XMLElement *element, std::string fileName, Input *entree)
Definition OutputBoundaryFluxGNU.cpp:35
OutputBoundaryGNU(std::string casTest, std::string run, tinyxml2::XMLElement *element, std::string fileName, Input *entree)
Definition OutputBoundaryGNU.cpp:36
Definition tinyxml2.h:1148