39 string AssemblyName=
"A",
51 void SetExternalShape(
58 ) {fSAssemblyZone = TheShape;}
73 void SetSpecialDimensions(
82 double InnerCladRadius,
89 double CRCladThickness,
90 double CoolantGapThickness,
98 ) {fXDeviation+=dx; fYDeviation+=dy;fXCenterDeviationOfMesh=dx;fYCenterDeviationOfMesh=dy;}
100 void SetGasSpaceData(
101 double GasThickness=0,
102 double GasPressure=0,
132 void AddSpecialMaterials(
163 void AddCircleZoneRadius(
216 void ForcedPinCloseToBorder(
int PinZoneForItsDimension=-1){fForcedPinCloseToBorder=
true;fZoneOfThePinsCloseToBorder=PinZoneForItsDimension;}
226 void CreateGeometry();
242 int ActivesCycles=100,
243 int InactivesCycles=100
246 void UpdatePointer();
248 void SetPlenum(
double PlenumThickness){fPlenumThickness=PlenumThickness;fIsPlenum=
true;}
271 void FillSquaredCells();
273 void FillTriangularCells();
284 int ZoneDiscretization(
296 void InitializeLatticeDiagram();
298 void CreateGuideTubesCells();
300 void CreateControlRodsCells();
302 int CheckFillZoneOfPin(
vector< vector< Cell * > > fCCRExtCladding
Matrix containing CR external cladding cells.
Definition: ReactorMesh.hxx:439
Cell * fCLatticeGen
Lattice mesh generator (cell)
Definition: ReactorMesh.hxx:383
vector< Shape_ptr * > fSCladding
Matrix containing cladding shapes.
Definition: ReactorMesh.hxx:418
vector< double > fCladThickness
The thickness of the cladding of a zone.
Definition: ReactorMesh.hxx:324
bool fIsSpecialPins
Whether there is special pins in the geometry.
Definition: ReactorMesh.hxx:322
vector< Shape_ptr * > fSCRMat
Matrix containing CR shapes.
Definition: ReactorMesh.hxx:424
A Cell is a MCNP cell.
Definition: Cell.hxx:48
double fYDeviation
Y translation of the center pin.
Definition: ReactorMesh.hxx:341
vector< double > fCRCoolantGapThickness
The CR Coolant gap thickness.
Definition: ReactorMesh.hxx:330
vector< int > fNumberOfGTInZone
Number of guide tubes in each zone.
Definition: ReactorMesh.hxx:451
int fZmax
Maximum Z range of lattice.
Definition: ReactorMesh.hxx:354
double fZTrans
Assembly Z translation value.
Definition: ReactorMesh.hxx:372
vector< bool > fZonesOfCR
Zones containing control rods.
Definition: ReactorMesh.hxx:365
vector< vector< Material * > > fMFuels
Matrix containing fuel materials.
Definition: ReactorMesh.hxx:405
double fYTrans
Assembly Y translation value.
Definition: ReactorMesh.hxx:371
vector< vector< Cell * > > fCCROutside
Matrix containing CR outside cells.
Definition: ReactorMesh.hxx:440
vector< double > fCZR
Fictitious circles' radius needed to an automatic defining of cells zones.
Definition: ReactorMesh.hxx:387
vector< bool > fZonesOfGT
Zones containing guide tubes.
Definition: ReactorMesh.hxx:364
vector< Shape_ptr * > fSCRCladding
Matrix containing CR cladding shapes.
Definition: ReactorMesh.hxx:425
bool fInitVectors
Flag used to initialize vectors if necessary (defaut = false)
Definition: ReactorMesh.hxx:441
vector< double > fFuelRadius
The radius of the fuel rod of a zone.
Definition: ReactorMesh.hxx:323
vector< vector< Cell * > > fCCRMat
Matrix containing CR cells.
Definition: ReactorMesh.hxx:436
vector< vector< Material * > > fMCRMat
Matrix containing CR materials.
Definition: ReactorMesh.hxx:412
vector< bool > fZonesOfSP
Zones containing Specials Pins.
Definition: ReactorMesh.hxx:369
vector< double > fCRExtCladThickness
The CR external Cladding thickness.
Definition: ReactorMesh.hxx:331
double fXCenterDeviationOfMesh
Storage of the X translation of the center pin for the mesh inside the assembly.
Definition: ReactorMesh.hxx:343
vector< Shape_ptr * > fSSpec1
Matrix containing special shapes.
Definition: ReactorMesh.hxx:420
bool fIsPinPos
Whether some pin are manually set.
Definition: ReactorMesh.hxx:319
vector< vector< Cell * > > fCSpec1
Matrix containing special cells.
Definition: ReactorMesh.hxx:432
double fZDeviation
Z translation of the center pin.
Definition: ReactorMesh.hxx:342
vector< vector< Cell * > > fCCoolants
Matrix containing coolant cells.
Definition: ReactorMesh.hxx:431
vector< int > fSPYpos
Relative special pin Y position with regard to the center.
Definition: ReactorMesh.hxx:367
int fZmin
Minimum Z range of lattice.
Definition: ReactorMesh.hxx:353
vector< int > fGTYpos
Relative guide tube Y position with regard to the center.
Definition: ReactorMesh.hxx:359
vector< vector< Cell * > > fCFuels
Matrix containing fuel cells.
Definition: ReactorMesh.hxx:429
bool fForcedPinCloseToBorder
True if user force pins closed to the border (lattice hexagonal mesh at the border will be cutted by ...
Definition: ReactorMesh.hxx:459
bool fIsControlRods
Whether there is control rods in the geometry.
Definition: ReactorMesh.hxx:321
vector< vector< Cell * > > fCGTInside
Matrix containing Guide Tubes inside cells.
Definition: ReactorMesh.hxx:433
double fYCenterDeviationOfMesh
Storage of the Y translation of the center pin.
Definition: ReactorMesh.hxx:344
vector< double > fGTCladThickness
The thickness of the guide tube cladding of a zone.
Definition: ReactorMesh.hxx:326
int fRadialZones
The number of radial zones (number of differents cells in x,y direction)
Definition: ReactorMesh.hxx:316
double fXeFraMol
Molar fraction of Xenon in the gas.
Definition: ReactorMesh.hxx:348
vector< vector< Cell * > > fCGTOutside
Matrix containing Guide Tubes outside cells.
Definition: ReactorMesh.hxx:435
Shape_ptr fSAssemblyZone
Assembly shape.
Definition: ReactorMesh.hxx:380
double fXDeviation
X translation of the center pin (instead of begining the mesh on 0,0,0)
Definition: ReactorMesh.hxx:340
double fAssemblyHeight
The assembly height.
Definition: ReactorMesh.hxx:337
vector< vector< Cell * > > fCCRCoolantGap
Matrix containing CR coolant gap cells.
Definition: ReactorMesh.hxx:438
int fYNumberOfPins
Number of pins in Y axis.
Definition: ReactorMesh.hxx:339
bool fIsHexagon
Whether the channel is hexagonal (default is Cuboid)
Definition: ReactorMesh.hxx:317
vector< int > fSPXpos
Relative special pin X position with regard to the center.
Definition: ReactorMesh.hxx:366
vector< Shape_ptr * > fSGTOutside
Matrix containing Guide Tubes outside shapes.
Definition: ReactorMesh.hxx:423
int fAxialLevels
The number of axial levels (number of differents cells in z direction)
Definition: ReactorMesh.hxx:315
void SetCenteredPosition(double dx=0., double dy=0.)
Horizontal deviation of the center of first meshing rod (allows correct geometry without cutted rods ...
Definition: ReactorMesh.hxx:95
bool fIsGuideTubes
Whether there is guide tubes in the geometry.
Definition: ReactorMesh.hxx:320
vector< Shape_ptr * > fSCoolants
Matrix containing coolant shapes.
Definition: ReactorMesh.hxx:419
double fGasPressure
Cold fill gas pressure (Pa)
Definition: ReactorMesh.hxx:346
vector< vector< Material * > > fMGTCladdings
Matrix containing Guide Tubes cladding materials.
Definition: ReactorMesh.hxx:410
vector< vector< Material * > > fMCoolants
Matrix containing coolant materials.
Definition: ReactorMesh.hxx:407
void SetSpecialExternalShape(Shape_ptr TheShape)
Assembly delimitation but with a node (not a simple shape like a brick)
Definition: ReactorMesh.hxx:56
vector< int > fCRZpos
Absolute control rod Z position (first at the bottom)
Definition: ReactorMesh.hxx:363
double fHeFraMol
Molar fraction of Helium in the gas.
Definition: ReactorMesh.hxx:347
Shape_ptr fSLatticeGen
Lattice mesh generator (shape)
Definition: ReactorMesh.hxx:381
vector< Shape_ptr * > fSGTCladdings
Matrix containing Guide Tubes cladding shapes.
Definition: ReactorMesh.hxx:422
vector< vector< Material * > > fMGTInside
Matrix containing Guide Tubes inside materials.
Definition: ReactorMesh.hxx:409
Cell * fCPlenumUp
Top Plenum cell.
Definition: ReactorMesh.hxx:392
double fAssemblyWidth
The assembly width (brick case) X axis.
Definition: ReactorMesh.hxx:334
vector< vector< Material * > > fMCRCladding
Matrix containing CR cladding materials.
Definition: ReactorMesh.hxx:413
double fAssemblyLength
The assembly length (brick case) Y axis.
Definition: ReactorMesh.hxx:335
vector< vector< Material * > > fMCRCoolantGap
Matrix containing CR coolant gap materials.
Definition: ReactorMesh.hxx:414
vector< Shape_ptr * > fSCROutside
Matrix containing CR outside shapes.
Definition: ReactorMesh.hxx:428
vector< ofstream * > fFiles
Output files.
Definition: ReactorMesh.hxx:453
Shape_ptr * fSWhole
Fictitious channel shape near the border (used only for lattices fill)
Definition: ReactorMesh.hxx:385
int fXmin
Minimum X range of lattice.
Definition: ReactorMesh.hxx:349
vector< int > fCRYpos
Relative control rod Y position with regard to the center.
Definition: ReactorMesh.hxx:362
int fYmax
Maximum Y range of lattice.
Definition: ReactorMesh.hxx:352
Cell * fCAssemblyZone
Assembly cell.
Definition: ReactorMesh.hxx:382
vector< vector< vector< int > > > fLatticeZ
Matrix containing lattice mesh data and the zone of each one.
Definition: ReactorMesh.hxx:454
A Material constituing a Cell.
Definition: Material.hxx:53
vector< Shape_ptr * > fSFuels
Matrix containing fuel shapes.
Definition: ReactorMesh.hxx:417
vector< double > fRadius1
Radius of a rod part of a zone.
Definition: ReactorMesh.hxx:327
double fChannelHeight
The height of the channel (not the reactor height) - Is the same for all.
Definition: ReactorMesh.hxx:333
vector< int > fNumberOfCRInZone
Number of control rods in each zone.
Definition: ReactorMesh.hxx:452
vector< int > fCRXpos
Relative control rod X position with regard to the center.
Definition: ReactorMesh.hxx:361
vector< vector< Material * > > fMCladdings
Matrix containing cladding materials.
Definition: ReactorMesh.hxx:406
vector< Shape_ptr * > fSCRCoolantGap
Matrix containing CR coolant gap shapes.
Definition: ReactorMesh.hxx:426
vector< int > fYpos
Relative pin Y position with regard to the center.
Definition: ReactorMesh.hxx:356
vector< int > fXpos
Relative pin X position with regard to the center.
Definition: ReactorMesh.hxx:355
vector< Shape_ptr * > fSGTInside
Matrix containing Guide Tubes inside shapes.
Definition: ReactorMesh.hxx:421
vector< Material * > fMWhole
Channel material near the border == material of border zone (needed due to lattices fill) ...
Definition: ReactorMesh.hxx:384
double fPitch
The pitch of channels.
Definition: ReactorMesh.hxx:332
string fAssemblyName
Identification name of the assembly.
Definition: ReactorMesh.hxx:449
vector< double > fCRRadius
The CR pin radius.
Definition: ReactorMesh.hxx:328
vector< vector< Material * > > fMGTOutside
Matrix containing Guide Tubes outside materials.
Definition: ReactorMesh.hxx:411
string fExternalShapeType
Type of the external shape.
Definition: ReactorMesh.hxx:455
bool fIsGasSpace
Whether gas space is simulated between cladding and fuel pin.
Definition: ReactorMesh.hxx:318
double fPlenumThickness
Width of the plenum up and down.
Definition: ReactorMesh.hxx:394
Shape_ptr fSPlenumDown
Bottom Plenum shape.
Definition: ReactorMesh.hxx:389
vector< vector< Cell * > > & GetFuelCell()
returns the Fuel (evolving) Cell vector[Nradial][Naxial].
Definition: ReactorMesh.hxx:252
vector< Shape_ptr * > fSCRExtCladding
Matrix containing CR external cladding shapes.
Definition: ReactorMesh.hxx:427
Shape_ptr fSPlenumUp
Top Plenum shape.
Definition: ReactorMesh.hxx:388
int fYmin
Minimum Y range of lattice.
Definition: ReactorMesh.hxx:351
vector< vector< Material * > > fMCROutside
Matrix containing CR outside materials.
Definition: ReactorMesh.hxx:416
int fZoneOfThePinsCloseToBorder
If fuel pins haven't the same radius, force the zone number of these pins closed to the border to sel...
Definition: ReactorMesh.hxx:460
bool fIsPlenum
True if plenum up and down are needed.
Definition: ReactorMesh.hxx:456
vector< double > fGTRadius
The inner radius of the guide tube rod of a zone or the radius of control rod.
Definition: ReactorMesh.hxx:325
vector< double > fGasThickness
Thickness of the gas space.
Definition: ReactorMesh.hxx:345
vector< Cell * > fCWhole
Fictitious channel cell near the border (used only for lattices fill)
Definition: ReactorMesh.hxx:386
vector< vector< Cell * > > fCCRCladding
Matrix containing CR cladding cells.
Definition: ReactorMesh.hxx:437
int fXmax
Maximum X range of lattice.
Definition: ReactorMesh.hxx:350
void SetPlenum(double PlenumThickness)
Sets plenum at the top and at the bottom - MUST be used BEFORE SetExternalShape() !!!!! ...
Definition: ReactorMesh.hxx:248
vector< int > fGTZpos
Absolute guide tube Z position (first at the bottom)
Definition: ReactorMesh.hxx:360
double fAssemblySide
The length of a hexagon side (hexagon case)
Definition: ReactorMesh.hxx:336
vector< vector< Material * > > fMCRExtCladding
Matrix containing CR external cladding materials.
Definition: ReactorMesh.hxx:415
vector< vector< Material * > > fMSpec1
Matrix containing special materials.
Definition: ReactorMesh.hxx:408
vector< vector< Cell * > > fCGTCladdings
Matrix containing Guide Tubes cladding cells.
Definition: ReactorMesh.hxx:434
vector< bool > fAxialCrushSecurityHeterogeneity
True if an heterogeneity is called - safeguard againt material crushing (one per zone) ...
Definition: ReactorMesh.hxx:458
vector< double > fCRCladThickness
The CR Cladding thickness.
Definition: ReactorMesh.hxx:329
Material * fMPlenumUp
Top Plenum material.
Definition: ReactorMesh.hxx:390
double fXTrans
Assembly X translation value.
Definition: ReactorMesh.hxx:370
vector< int > fNumberOfPinInZone
Number of pins in each zone.
Definition: ReactorMesh.hxx:450
void ForcedPinCloseToBorder(int PinZoneForItsDimension=-1)
Force pins closed to the border for hexagonal lattice geometry.
Definition: ReactorMesh.hxx:216
Cell * fCPlenumDown
Bottom Plenum cell.
Definition: ReactorMesh.hxx:393
vector< int > fGTXpos
Relative guide tube X position with regard to the center.
Definition: ReactorMesh.hxx:358
Manages filled assembly geometry - can be used for a coupled analysis with thermal hydraulics (cf...
Definition: ReactorMesh.hxx:28
vector< int > fZonepos
Zone number of this pin.
Definition: ReactorMesh.hxx:357
vector< int > fZSP
Zones of Specials Pins.
Definition: ReactorMesh.hxx:368
int fXNumberOfPins
Number of pins in X axis.
Definition: ReactorMesh.hxx:338
bool fIsCOBRA
True if COBRA is calling ReactorMesh.
Definition: ReactorMesh.hxx:457
vector< vector< Cell * > > fCCladdings
Matrix containing cladding cells.
Definition: ReactorMesh.hxx:430
virtual ReactorMesh * Clone()
Definition: ReactorMesh.hxx:42
bool IsACOBRAObject()
Test on real type of object.
Definition: ReactorMesh.hxx:250
Material * fMPlenumDown
Bottom Plenum material.
Definition: ReactorMesh.hxx:391