This is a MURE compound or multi-cellular object. More...
#include <ReactorChannel.hxx>
Public Member Functions | |
| ReactorChannel (int nzones=1, bool Hex=false, bool Maillage=false) | |
| Constructor standard //, double GazSpace. More... | |
| ~ReactorChannel () | |
| Delete standard. More... | |
| void | CreateShapes () |
| Create the Shapes of the Reactor Channel. More... | |
| void | CreateCells () |
| Create the Cells. (Maybe need to do this later with all other reactor channels). More... | |
| double | GetRodRadius () |
| returns the fuel rod radius More... | |
| double | GetCladdRadius () |
| returns the cladding radius More... | |
| double | GetHeight () |
| returns the height More... | |
| double | GetHeightStep () |
| returns the height step More... | |
| double | GetSide () |
| returns the side value More... | |
| double | GetSurface () |
| returns the global surface value More... | |
| bool | IsHexagon () |
| returns whether channel is a hexagon More... | |
| void | Translate (double dx, double dy, double dz) |
| translates the channel by dx, dy and dz More... | |
| void | Rotate (double phi, double theta=0, double psi=0, double *center=0) |
| translates the channel by dx, dy and dz More... | |
| void | CalculateGlobalSurface () |
| Calculates surface of rod (coolant+clad+fuel) More... | |
| void | SetSource (int ParticlesNumber, int ActivesCycles, int InactivesCycles) |
| Sets the source. More... | |
| void | SetVolumeSource () |
| Makes it a volume source. More... | |
| void | SetDimensions (double FuelRadius, double CladRadius, double VoidRadius, double Height, double Side, double ASide=0) |
| Set the channels dimensions. More... | |
| void | SetMaterials (Material *Fuel, Material *Cladding, Material *Coolant) |
| Set the Channel Materials. More... | |
| void | SetCenteredPosition (double dx=0., double dy=0.) |
| Horizontal deviation of the center of first meshing rod (allows correct geometry without cutting rods at border) More... | |
| void | AddGuideTube (int dx, int dy, int dz=-1, int NumOfGuideTube=0) |
| Add a guide tube in meshed geometry : relative position with regard to the center - If dz isn't gived it's constructed on all z axis (for z only : 0 is at the bottom) More... | |
| void | SetNumberOfDifferentGuideTube (int NumberOfDifferentGuideTube) |
| void | SetGuideTubeDimensions (double InnerRadius, double OuterRadius, int NumOfGuideTube=0) |
| Set the guide tubes dimensions. More... | |
| void | SetGuideTubeMaterials (Material *IntGuideTubesMat, Material *GuideTubesMat, Material *OutGuideTubesMat, int TubeNumber=0) |
| Set the guide tube materials. More... | |
| void | SetGuideTubeMaterials (Material *IntGuideTubesMat, Material *GuideTubesMat, int TubeNumber=0) |
| Set the guide tube materials - Simplified version : coolant guide = coolant ; no variation of temp in axial cells of Guide interior and Guide tube. More... | |
| void | SetNumberOfFuelRods (int N) |
| Set the number of fuel pins in the assembly (used for simplified geometry : the same rod in all the assembly is considered for TH) More... | |
| int | GetNumberOfFuelRods () |
| returns the number of fuel pins in the assembly (used for simplified geometry !!!) More... | |
| void | CreateGeometry () |
| Create the geometry. If more than 1 reactor channel, then shapes should be done before cells. More... | |
| void | SetExternalShape (Shape_ptr TheShape, int Nx=-1, int Ny=-1) |
| Method to pass an external shape to be paved by this reactor channel. More... | |
| void | SetZone (int z) |
| int | GetZone () |
| int | GetNZones () |
| returns number of cells in the z direction (determined by user at launch) More... | |
| int | GetRangesOfAssembly (int N) |
| returns range number in a direction in the assembly for the meshing (REP : 17x17 so range go from -9 to 9) More... | |
| bool | IsCoolantInGuideTube () |
| returns value of fCoolantInGuideTube More... | |
| void | SetCoolantDensityProfile (vector< double > Densities) |
| void | SetCoolantTemperatureProfile (vector< double > Temps) |
| void | SetFuelTemperatureProfile (vector< double > Temps) |
| void | SetReactorChannelNumber (int Number=0) |
| Set the number. More... | |
| int | GetReactorChannelNumber () |
| Get the number. More... | |
| void | SetSpatialZ (bool spatz=true) |
| set if Z spatial variables are needed or not More... | |
| vector< Cell * > | GetFuelCells () |
| Return a vector of the fuel rod cells. More... | |
| void | SetNumberOfRodToRemove (int NumberOfRodRemoved) |
Private Attributes | |
| int * | fNumberOfGuideTubeWithThisNum |
| int | fNumberOfDifferentGuideTube |
| int | fNumberOfRodRemoved |
| double | fFuelRadius |
| The radius of the fuel rod. More... | |
| double | fCladRadius |
| The radius of the cladding. More... | |
| double | fVoidRadius |
| The void radius, if there is a void in the middle of each rod (0 if not). More... | |
| double * | fGuideTubeInnerRadius |
| The inner radius of guide tubes. More... | |
| double * | fGuideTubeOuterRadius |
| The outer radius of guide tubes. More... | |
| double | fHeight |
| The height of the channel. More... | |
| double | fHeightStep |
| The height step of channels. More... | |
| double | fSide |
| The side dimension. More... | |
| double | fASide |
| The assembly side dimension for the case that Maillage is required. More... | |
| double | fAssemblySide |
| The assembly side dimension (tube guide case) More... | |
| int | fXNumberOfPins |
| Number of pins in X axis. More... | |
| int | fYNumberOfPins |
| Number of pins in Y axis. More... | |
| double | fSurface |
| Global surface of rod. More... | |
| double | fXDeviation |
| X translation of the center pin (instead of begining the mesh on 0,0,0) More... | |
| double | fYDeviation |
| Y translation of the center pin. More... | |
| bool | fHexagon |
| Whether the channel is hexagonal (default is Cuboid) More... | |
| bool | fMaillage |
| Whether we are going to use the channel to make a pavage of an assembly. More... | |
| bool | fGuideTube |
| default value = false ; if true : guide tube constuctor actived More... | |
| bool | fCoolantInGuideTube |
| default value = false ; if true : it means coolant material is putted in exterior of guide tube cell More... | |
| int | fNZones |
| The number of cells in the z direction (default = 1) More... | |
| bool | fExternalShape |
| If we provde the shape from the outside or build it inside (default=false) More... | |
| bool | fVoid |
| Is there a void in the middle of the fuel rods? (default = no) More... | |
| int | fZone |
| The cell group zone that the reactor channel sits. More... | |
| int | fNumberOfFuelRodsInAssembly |
| number of fuel pins in the assembly (used for simplified geometry !!! : the same rod in all the assembly) More... | |
| vector< Material * > | fFuels |
| the fuel materials More... | |
| vector< Material * > | fCoolants |
| the coolant materials More... | |
| vector< Material * > | fCladdings |
| the cladding materials More... | |
| vector< vector< Material * > > | fIntGuideTubesMat |
| the inside guide tube materials (coolant or control black or grey rod) More... | |
| vector< vector< Material * > > | fGuideTubesMat |
| the guide tube materials (generally Zry4) More... | |
| vector< Material * > | fOutGuideTubesMat |
| the ouside guide tube materials (coolant material quite like fCoolants) More... | |
| Material * | fVoidMat |
| the material inside the fuel rods with a void More... | |
| vector< double > | fTranslations |
| the distances to translate the segments More... | |
| vector< int > | fXpos |
| relative guide tube X position with regard to the center More... | |
| vector< int > | fYpos |
| relative guide tube Y position with regard to the center More... | |
| vector< int > | fZpos |
| relative guide tube Z position with regard to the center More... | |
| Shape_ptr * | fSegments |
| contains the water More... | |
| Shape_ptr * | fPavages |
| the paving shapes More... | |
| Shape_ptr * | fRods |
| the rods More... | |
| Shape_ptr * | fVoids |
| the voids, if fuel rods are hollow More... | |
| Shape_ptr * | fCladdingTubes |
| the tubes containing the cladding More... | |
| Shape_ptr * | fExtCladdingTubes |
| and their exteriors More... | |
| Shape_ptr ** | fIntGuideTubes |
| interior of guide tube : can be coolant or control black or grey rods More... | |
| Shape_ptr ** | fGuideTubes |
| guide tube structure More... | |
| Shape_ptr ** | fExtGuideTubes |
| exterior of the guide tube : "same" coolant as neighbor cells More... | |
| Shape_ptr | fExterior |
| The outside of everything. More... | |
| vector< Cell * > | fsegments |
| contains the water More... | |
| vector< Cell * > | fpavages |
| vector< Cell * > | frods |
| contains the fuel More... | |
| vector< Cell * > | fvoids |
| void in the center of rods (if needed) More... | |
| vector< Cell * > | fcladdingtubes |
| cladding More... | |
| vector< Cell * > | fextcladdingtubes |
| vector< Cell * > | fintguidetube |
| inside guide tube More... | |
| vector< Cell * > | fguidetubes |
| cladding More... | |
| vector< Cell * > | fextguidetubes |
| outside guide tube More... | |
| Cell * | fexterior |
| bool | fSpatialZ |
| Is true if we want separate Z spatial variables. More... | |
| int | fReactorChannelNumber |
| The number of this reactor channel. More... | |
| bool | fVolumeSource |
This is a MURE compound or multi-cellular object.
This Object defines the geometry for a basic square or hexagonal reactor channel with cylindrical fuel rod & cladding, split up into N sections in the Z direction.
| ReactorChannel::ReactorChannel | ( | int | nzones = 1, |
| bool | Hex = false, |
||
| bool | Maillage = false |
||
| ) |
Constructor standard //, double GazSpace.
| ReactorChannel::~ReactorChannel | ( | ) |
Delete standard.
| void ReactorChannel::AddGuideTube | ( | int | dx, |
| int | dy, | ||
| int | dz = -1, |
||
| int | NumOfGuideTube = 0 |
||
| ) |
Add a guide tube in meshed geometry : relative position with regard to the center - If dz isn't gived it's constructed on all z axis (for z only : 0 is at the bottom)
| void ReactorChannel::CalculateGlobalSurface | ( | ) |
Calculates surface of rod (coolant+clad+fuel)
| void ReactorChannel::CreateCells | ( | ) |
Create the Cells. (Maybe need to do this later with all other reactor channels).
|
inline |
Create the geometry. If more than 1 reactor channel, then shapes should be done before cells.
| void ReactorChannel::CreateShapes | ( | ) |
Create the Shapes of the Reactor Channel.
|
inline |
returns the cladding radius
|
inline |
Return a vector of the fuel rod cells.
|
inline |
returns the height
|
inline |
returns the height step
|
inline |
returns the number of fuel pins in the assembly (used for simplified geometry !!!)
|
inline |
returns number of cells in the z direction (determined by user at launch)
| int ReactorChannel::GetRangesOfAssembly | ( | int | N | ) |
returns range number in a direction in the assembly for the meshing (REP : 17x17 so range go from -9 to 9)
|
inline |
Get the number.
|
inline |
returns the fuel rod radius
|
inline |
returns the side value
|
inline |
returns the global surface value
|
inline |
|
inline |
returns value of fCoolantInGuideTube
|
inline |
returns whether channel is a hexagon
| void ReactorChannel::Rotate | ( | double | phi, |
| double | theta = 0, |
||
| double | psi = 0, |
||
| double * | center = 0 |
||
| ) |
translates the channel by dx, dy and dz
|
inline |
Horizontal deviation of the center of first meshing rod (allows correct geometry without cutting rods at border)
| void ReactorChannel::SetCoolantDensityProfile | ( | vector< double > | Densities | ) |
| void ReactorChannel::SetCoolantTemperatureProfile | ( | vector< double > | Temps | ) |
| void ReactorChannel::SetDimensions | ( | double | FuelRadius, |
| double | CladRadius, | ||
| double | VoidRadius, | ||
| double | Height, | ||
| double | Side, | ||
| double | ASide = 0 |
||
| ) |
Set the channels dimensions.
| void ReactorChannel::SetExternalShape | ( | Shape_ptr | TheShape, |
| int | Nx = -1, |
||
| int | Ny = -1 |
||
| ) |
Method to pass an external shape to be paved by this reactor channel.
| void ReactorChannel::SetFuelTemperatureProfile | ( | vector< double > | Temps | ) |
| void ReactorChannel::SetGuideTubeDimensions | ( | double | InnerRadius, |
| double | OuterRadius, | ||
| int | NumOfGuideTube = 0 |
||
| ) |
Set the guide tubes dimensions.
| void ReactorChannel::SetGuideTubeMaterials | ( | Material * | IntGuideTubesMat, |
| Material * | GuideTubesMat, | ||
| Material * | OutGuideTubesMat, | ||
| int | TubeNumber = 0 |
||
| ) |
Set the guide tube materials.
| void ReactorChannel::SetGuideTubeMaterials | ( | Material * | IntGuideTubesMat, |
| Material * | GuideTubesMat, | ||
| int | TubeNumber = 0 |
||
| ) |
Set the guide tube materials - Simplified version : coolant guide = coolant ; no variation of temp in axial cells of Guide interior and Guide tube.
Set the Channel Materials.
| void ReactorChannel::SetNumberOfDifferentGuideTube | ( | int | NumberOfDifferentGuideTube | ) |
|
inline |
Set the number of fuel pins in the assembly (used for simplified geometry : the same rod in all the assembly is considered for TH)
|
inline |
|
inline |
Set the number.
| void ReactorChannel::SetSource | ( | int | ParticlesNumber, |
| int | ActivesCycles, | ||
| int | InactivesCycles | ||
| ) |
Sets the source.
|
inline |
set if Z spatial variables are needed or not
|
inline |
Makes it a volume source.
|
inline |
| void ReactorChannel::Translate | ( | double | dx, |
| double | dy, | ||
| double | dz | ||
| ) |
translates the channel by dx, dy and dz
|
private |
The assembly side dimension for the case that Maillage is required.
|
private |
The assembly side dimension (tube guide case)
|
private |
the cladding materials
|
private |
the tubes containing the cladding
|
private |
cladding
|
private |
The radius of the cladding.
|
private |
default value = false ; if true : it means coolant material is putted in exterior of guide tube cell
|
private |
the coolant materials
|
private |
and their exteriors
|
private |
|
private |
The outside of everything.
|
private |
|
private |
If we provde the shape from the outside or build it inside (default=false)
|
private |
exterior of the guide tube : "same" coolant as neighbor cells
|
private |
outside guide tube
|
private |
The radius of the fuel rod.
|
private |
the fuel materials
|
private |
default value = false ; if true : guide tube constuctor actived
|
private |
The inner radius of guide tubes.
|
private |
The outer radius of guide tubes.
|
private |
guide tube structure
|
private |
cladding
|
private |
the guide tube materials (generally Zry4)
|
private |
The height of the channel.
|
private |
The height step of channels.
|
private |
Whether the channel is hexagonal (default is Cuboid)
|
private |
inside guide tube
|
private |
interior of guide tube : can be coolant or control black or grey rods
|
private |
the inside guide tube materials (coolant or control black or grey rod)
|
private |
Whether we are going to use the channel to make a pavage of an assembly.
|
private |
|
private |
number of fuel pins in the assembly (used for simplified geometry !!! : the same rod in all the assembly)
|
private |
|
private |
|
private |
The number of cells in the z direction (default = 1)
|
private |
the ouside guide tube materials (coolant material quite like fCoolants)
|
private |
the paving shapes
|
private |
|
private |
The number of this reactor channel.
|
private |
the rods
|
private |
contains the fuel
|
private |
contains the water
|
private |
contains the water
|
private |
The side dimension.
|
private |
Is true if we want separate Z spatial variables.
|
private |
Global surface of rod.
|
private |
the distances to translate the segments
|
private |
Is there a void in the middle of the fuel rods? (default = no)
|
private |
the material inside the fuel rods with a void
|
private |
The void radius, if there is a void in the middle of each rod (0 if not).
|
private |
the voids, if fuel rods are hollow
|
private |
void in the center of rods (if needed)
|
private |
|
private |
X translation of the center pin (instead of begining the mesh on 0,0,0)
|
private |
Number of pins in X axis.
|
private |
relative guide tube X position with regard to the center
|
private |
Y translation of the center pin.
|
private |
Number of pins in Y axis.
|
private |
relative guide tube Y position with regard to the center
|
private |
The cell group zone that the reactor channel sits.
|
private |
relative guide tube Z position with regard to the center