13 #include "metaphysicl/raw_type.h" 22 "fvbcs",
"List of boundary conditions whose contribution we want to integrate.");
24 "Computes the side integral of different finite volume flux boundary conditions.");
44 .condition<AttribThread>(
_tid);
50 std::vector<FVFluxBC *> flux_bcs;
52 if (flux_bcs.size() == 0)
54 "The given FVFluxBC with name '",
56 "' was not found! This can be due to the boundary condition not existing in the " 57 "'FVBCs' block or the boundary condition not inheriting from FVFluxBC.");
69 "The given boundary condition with name ",
71 " does not have the same boundary restriction as this postprocessor!");
77 Real flux_value = 0.0;
80 bc_ptr->updateCurrentFace(*fi);
89 mooseError(
"We should never call this function!");
bool _qp_integration
Whether to integrate over quadrature points or FaceInfos.
virtual Real computeFaceInfoIntegral(const FaceInfo *fi) override
const std::vector< std::string > _bc_names
The names of the boundary conditions that we would like to integrate.
static InputParameters validParams()
virtual const std::string & name() const
Get the name of the class.
This data structure is used to store geometric and variable related metadata about each cell face in ...
registerMooseObject("MooseApp", SideFVFluxBCIntegral)
TheWarehouse & theWarehouse() const
static InputParameters validParams()
SideFVFluxBCIntegral(const InputParameters ¶meters)
This postprocessor computes a surface integral of the specified variable on a sideset on the boundary...
void paramError(const std::string ¶m, Args... args) const
Emits an error prefixed with the file and line number of the given param (from the input file) along ...
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
FEProblemBase & _fe_problem
Reference to the FEProblemBase for this user object.
Query query()
query creates and returns an initialized a query object for querying objects from the warehouse...
This postprocessor computes the side integral of different finite volume flux boundary conditions...
const THREAD_ID _tid
Thread ID of this postprocessor.
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
QueryCache & condition(Args &&... args)
Adds a new condition to the query.
virtual Real computeQpIntegral() override
virtual const std::set< BoundaryID > & boundaryIDs() const
Return the boundary IDs for this object.
std::vector< FVFluxBC * > _bc_objects
Pointers to the boundary conditions which will be integrated.