Advanced Multi-Physics (AMP)
On-Line Documentation
Namespaces | Functions
SubchannelHelpers.h File Reference
#include "AMP/mesh/Mesh.h"
#include "AMP/mesh/MeshElement.h"
#include "AMP/operators/subchannel/SubchannelOperatorParameters.h"
#include "AMP/operators/subchannel/SubchannelPhysicsModel.h"
#include "AMP/vectors/Vector.h"
#include <string>
#include <vector>
Include dependency graph for SubchannelHelpers.h:

Go to the source code of this file.

Namespaces

namespace  AMP
 
namespace  AMP::Operator
 
namespace  AMP::Operator::Subchannel
 

Functions

std::shared_ptr< const SubchannelOperatorParametersAMP::Operator::Subchannel::convert (std::shared_ptr< const OperatorParameters >)
 
AMP::LinearAlgebra::Vector::shared_ptr AMP::Operator::Subchannel::getCladHydraulicDiameter (std::shared_ptr< AMP::Mesh::Mesh > clad, std::shared_ptr< AMP::Mesh::Mesh > subchannel, AMP::AMP_MPI comm)
 Function to get the hydraulic diameter on the clad surface.
 
void AMP::Operator::Subchannel::getCladProperties (AMP::AMP_MPI comm, std::shared_ptr< AMP::Mesh::Mesh > clad, std::vector< double > &x, std::vector< double > &y, std::vector< double > &diam)
 Function to get the coordinates of the clad.
 
std::vector< double > AMP::Operator::Subchannel::getHeatFluxClad (std::vector< double > z, std::vector< AMP::Mesh::MeshElementID > face_ids, double channelDiam, double reynolds, double prandtl, double fraction, std::shared_ptr< SubchannelPhysicsModel > subchannelPhysicsModel, AMP::LinearAlgebra::Vector::const_shared_ptr flow, AMP::LinearAlgebra::Vector::const_shared_ptr clad_temp)
 Function to get the heat flux of the rod.
 
std::vector< double > AMP::Operator::Subchannel::getHeatFluxGeneration (std::string shape, std::vector< double > z, double diam, double Q_tot)
 Function to get the heat flux of the rod.
 
std::vector< double > AMP::Operator::Subchannel::getHeatFluxGenerationWithDiscretizationError (std::string shape, std::vector< double > z, double diam, double Q_tot)
 Function to get the heat flux of the rod; uses a midpoint average, leading to discretization error.
 
size_t AMP::Operator::Subchannel::getNumberOfSubchannels (std::shared_ptr< AMP::Mesh::Mesh > subchannel)
 Function to get the number of subchannels from the mesh.
 
void AMP::Operator::Subchannel::getSubchannelProperties (std::shared_ptr< AMP::Mesh::Mesh > subchannel, const std::vector< double > &clad_x, const std::vector< double > &clad_y, const std::vector< double > &clad_d, std::vector< double > &x, std::vector< double > &y, std::vector< double > &area, std::vector< double > &diam, std::vector< double > &rod_diameter, std::vector< double > &channel_fraction)
 Function to get some basic properties for each subchannel based on the mesh.
 
std::shared_ptr< AMP::Mesh::MeshAMP::Operator::Subchannel::subsetForSubchannel (std::shared_ptr< AMP::Mesh::Mesh > subchannel, size_t i, size_t j)
 Function to subset the subchannel mesh for a particular subchannel.
 



Advanced Multi-Physics (AMP)
Oak Ridge National Laboratory
Idaho National Laboratory
Los Alamos National Laboratory
This page automatically produced from the
source code by doxygen
Last updated: Tue Mar 10 2026 13:06:41.
Comments on this page