3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

45
3 3 - - D PLOTTING D PLOTTING CAPABILITIES IN THE CAPABILITIES IN THE VISUAL EDITOR FOR VISUAL EDITOR FOR RELEASE 5 OF MCNP RELEASE 5 OF MCNP A. L. Schwarz and R. A. Schwarz A. L. Schwarz and R. A. Schwarz Visual Editor Consultants Visual Editor Consultants L. L. Carter L. L. Carter Carter M. C. Analysis Carter M. C. Analysis

Transcript of 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Page 1: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

33--D PLOTTING D PLOTTING CAPABILITIES IN THE CAPABILITIES IN THE VISUAL EDITOR FOR VISUAL EDITOR FOR RELEASE 5 OF MCNPRELEASE 5 OF MCNP

A. L. Schwarz and R. A. SchwarzA. L. Schwarz and R. A. SchwarzVisual Editor ConsultantsVisual Editor Consultants

L. L. CarterL. L. CarterCarter M. C. AnalysisCarter M. C. Analysis

Page 2: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Complete Interface for MCNPComplete Interface for MCNP

Page 3: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

The Visual EditorThe Visual EditorInput File Creation CapabilitiesInput File Creation Capabilities

Display Geometries with 2D Views.Display Geometries with 2D Views.Create GeometriesCreate Geometries–– UniversesUniverses–– FillsFills–– LatticesLattices

Some support for data cards.Some support for data cards.–– MaterialsMaterials–– TransformationsTransformations–– ImportancesImportances

Page 4: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

The Visual EditorThe Visual EditorOutput Visualization FeaturesOutput Visualization Features

Plot Particle TracksPlot Particle Tracks–– SDEF Source generation pointsSDEF Source generation points–– Collision PointsCollision Points–– KCODE generation pointsKCODE generation points

3D Plots.3D Plots.Tally Plots.Tally Plots.

Page 5: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

How the Visual Editor worksHow the Visual Editor works

Visual C++ code is linked to the MCNP Visual C++ code is linked to the MCNP Fortran code.Fortran code.The Visual Editor Fortran modifications The Visual Editor Fortran modifications are now a part of the LANL Version 5 are now a part of the LANL Version 5 Fortran code.Fortran code.The C++ and Fortran share data and The C++ and Fortran share data and memory. memory.

Page 6: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Advanced FeaturesAdvanced FeaturesCreate, modify, or display surface information from the plot Create, modify, or display surface information from the plot

screen.screen.

Page 7: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Advanced FeaturesAdvanced FeaturesCreate, modify, or display cell information from the plot Create, modify, or display cell information from the plot

screen.screen.

Page 8: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Advanced FeaturesAdvanced FeaturesCan create a lattice from the pitch and number of rows.Can create a lattice from the pitch and number of rows.

Page 9: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Advanced FeaturesAdvanced FeaturesSplit a cell into a number of smaller sections for particle biasSplit a cell into a number of smaller sections for particle biasing.ing.

Page 10: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Advanced FeaturesAdvanced FeaturesSet Set importancesimportances from the plot screen.from the plot screen.

Page 11: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

New Features in Version 5 ReleaseNew Features in Version 5 ReleaseCan make Tally Plots (MCPLOT capability)Can make Tally Plots (MCPLOT capability)

Page 12: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

New Features in Version 5 ReleaseNew Features in Version 5 ReleaseCan run MCNP (both interactively and in batch).Can run MCNP (both interactively and in batch).

Page 13: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

New Features in Version 5 ReleaseNew Features in Version 5 ReleaseCan create 3Can create 3--D plots D plots –– Visualization and RadiographicVisualization and Radiographic

Page 14: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

3D Plot Background3D Plot Background

MCNP was made for ray tracing.MCNP was made for ray tracing.Lee created a patch to generate a Lee created a patch to generate a source.source.Took Lee about 2 weeks to implement.Took Lee about 2 weeks to implement.

Page 15: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

How 3D Plots WorkHow 3D Plots Work

Sends particle tracks through the Sends particle tracks through the geometry.geometry.Hits the specified cellHits the specified cellHits the outside worldHits the outside worldHits the plot plane (if requested)Hits the plot plane (if requested)

Page 16: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

33--D Plots in the Version 5 ReleaseD Plots in the Version 5 Release

Page 17: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Restrictions on 3D PlottingRestrictions on 3D Plotting

Must have a complete input file.Must have a complete input file.Viewpoint can not be in a zero Viewpoint can not be in a zero importance cell.importance cell.Extents and Origin taken from the 2D Extents and Origin taken from the 2D PlotPlotColor set by the color of the cell Color set by the color of the cell (material) or surface.(material) or surface.

Page 18: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

MacrobodiesMacrobodies available in 3D.available in 3D.

Page 19: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

3D Plots of Lattice Geometries3D Plots of Lattice Geometries

Page 20: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

3D Plot Panel3D Plot Panel

Page 21: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Complex Source in a Complex Source in a GloveboxGlovebox

Page 22: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

3D View of Complex Source3D View of Complex Source

Page 23: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Close up of Glove Box PipingClose up of Glove Box Piping

Page 24: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Set the Viewpoint in 2DSet the Viewpoint in 2D

Page 25: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Draw lines around objectsDraw lines around objects

Page 26: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Color by surfaceColor by surface

Page 27: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Turn off Distance ShadingTurn off Distance Shading

Page 28: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Turn off 3D ShadingTurn off 3D Shading

Page 29: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Use a Plane SourceUse a Plane Source

Page 30: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Stop at the Plot PlaneStop at the Plot Plane

Page 31: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Show Cookie CutterShow Cookie Cutter

Page 32: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Reduce Resolution (500Reduce Resolution (500--50)50)

Page 33: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Combine OptionsCombine Options

Page 34: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Using Cookie Cutters to Remove Using Cookie Cutters to Remove GeometryGeometry

Page 35: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Set the Basis in 2D and Get the Set the Basis in 2D and Get the ViewpointViewpoint

Page 36: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Enable the Cookie CutterEnable the Cookie Cutter

Page 37: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Radiographic Plot of a Radiographic Plot of a CaskCask

Page 38: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Radiographic PlotsRadiographic Plots

Need to specify maximum ray lengthNeed to specify maximum ray length–– Code will calculate this if not known.Code will calculate this if not known.Can optionally set an incident energy Can optionally set an incident energy for the source. With this option, for the source. With this option, darkness represents incident energy darkness represents incident energy times the cross section. (Density Plot)times the cross section. (Density Plot)Show Darkness as a function of ray Show Darkness as a function of ray length inside a body.length inside a body.

Page 39: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Radiographic options in 3D Plot PanelRadiographic options in 3D Plot Panel

Page 40: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Radiographic Plot with 5 Radiographic Plot with 5 MevMev Incident Incident SourceSource

Page 41: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Future Visual Editor DevelopmentsFuture Visual Editor Developments

Upgrade Version 5 to LinuxUpgrade Version 5 to Linux–– Linux currently only available for 4C2Linux currently only available for 4C2

Include Source CreationInclude Source CreationInclude Tally CreationInclude Tally CreationInclude Support for other Data Cards.Include Support for other Data Cards.CAD import.CAD import.

Page 42: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Currently Working on CAD ConversionCurrently Working on CAD Conversion

Page 43: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Currently Working on CAD ConversionCurrently Working on CAD Conversion

Page 44: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

How to Get the Visual EditorHow to Get the Visual Editor

Executable is being released with Version 5 Executable is being released with Version 5 of MCNP.of MCNP.–– Only has a Windows executable.Only has a Windows executable.–– MCNP release more recent than the MCNP release more recent than the VisedVised

executable.executable.

Linux can be obtained from the Linux can be obtained from the VisedVised 4C2 4C2 package.package.–– Linux executable.Linux executable.–– Linux source codes.Linux source codes.

Page 45: 3-D PLOTTING CAPABILITIES IN THE VISUAL EDITOR FOR …

Additional InformationAdditional InformationDevelopment Web Site.Development Web Site.

www.www.mcnpvisedmcnpvised.com.comFuture ClassesFuture Classes–– June 2June 2--66–– September 8September 8--1212