Functions | |
| std::shared_ptr< const SubchannelOperatorParameters > | convert (std::shared_ptr< const OperatorParameters >) |
| AMP::LinearAlgebra::Vector::shared_ptr | 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 | 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 > | 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 > | 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 > | 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 | getNumberOfSubchannels (std::shared_ptr< AMP::Mesh::Mesh > subchannel) |
| Function to get the number of subchannels from the mesh. | |
| void | 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::Mesh > | subsetForSubchannel (std::shared_ptr< AMP::Mesh::Mesh > subchannel, size_t i, size_t j) |
| Function to subset the subchannel mesh for a particular subchannel. | |
Variables | |
| constexpr double | scaleAxialMassFlowRate |
| constexpr double | scaleEnthalpy |
| constexpr double | scaleLateralMassFlowRate |
| constexpr double | scalePressure |
| std::shared_ptr< const SubchannelOperatorParameters > AMP::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.
This function returns the hydraulic diameter of the subchannels on the clad surface
| clad | Clad mesh |
| subchannel | Subchannel mesh |
| comm | Communicator to use for operatation (must be >= comm of both clad and subchannel, may be comm_world) |
| 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.
This function returns the coordinates and diameter of the clad meshes across all processors
| [in] | comm | Communicator over which we want to gather the results (must be >= clad mesh comm) |
| [in] | clad | Multimesh containing the clad meshes |
| [out] | x | The x-coordinates of the clad |
| [out] | y | The y-coordinates of the clad |
| [out] | diam | The diameters 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.
This function returns the heat flux of the rod (W/m^2)
| z | The axial positions of the faces |
| face_ids | Element ids of the faces of interest (only used for source="averageCladdingTemperature") |
| channelDiam | The effective channel diameter |
| reynolds | The reynolds number |
| prandtl | The prandtl number |
| fraction | The fraction of a rod in the channel |
| subchannelPhysicsModel | The subchannel physics model |
| flow | The flow vector (h and P) (only used for source="averageCladdingTemperature") |
| clad_temp | The clad temperature mapped onto the faces (only used for source="averageCladdingTemperature") |
| 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.
This function returns the heat flux of the rod (W/m^2) assuming a given generation rate
| shape | The heat shape |
| z | The axial positions of the faces (m) |
| diam | The diameter of the fuel rods (m) |
| Q_tot | The total heat generation rate (W) |
| 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.
This function returns the heat flux of the rod (W/m^2) assuming a given generation rate
| shape | The heat shape |
| z | The axial positions of the faces (m) |
| diam | The diameter of the fuel rods (m) |
| Q_tot | The total heat generation rate (W) |
| size_t AMP::Operator::Subchannel::getNumberOfSubchannels | ( | std::shared_ptr< AMP::Mesh::Mesh > | subchannel | ) |
Function to get the number of subchannels from the mesh.
| [in] | subchannel | The subchannel 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.
This function returns some basic properties including the hydraulic diameter, subchannel area, etc from the mesh
| [in] | subchannel | The subchannel mesh |
| [in] | clad_x | The x-coordinates of the clad |
| [in] | clad_y | The y-coordinates of the clad |
| [in] | clad_d | The diameters of the clad |
| [out] | x | The x-coordinates of the subchannel boundaries (Nx+1) |
| [out] | y | The y-coordinates of the subchannel boundaries (Ny+1) |
| [out] | area | The flow area of the subchannels (Nx x Ny) |
| [out] | diam | The hydraulic diameter of the subchannels defined using the wetted rod perimeter (Nx x Ny) |
| [out] | rod_diameter | The average rod diameter for each subchannel (Nx x Ny) |
| [out] | channel_fraction | The fraction of the rod in each subchannel (Nx x Ny) |
| std::shared_ptr< AMP::Mesh::Mesh > AMP::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.
| [in] | subchannel | The subchannel mesh |
| [in] | i | The x-index of the subchannel of interest |
| [in] | j | The y-index of the subchannel of interest |
|
constexpr |
Definition at line 7 of file SubchannelConstants.h.
|
constexpr |
Definition at line 9 of file SubchannelConstants.h.
|
constexpr |
Definition at line 13 of file SubchannelConstants.h.
|
constexpr |
Definition at line 11 of file SubchannelConstants.h.
|
Advanced Multi-Physics (AMP) Oak Ridge National Laboratory Idaho National Laboratory Los Alamos National Laboratory |
This page automatically produced from the source code by Last updated: Tue Mar 10 2026 13:06:44. Comments on this page |