conversion of computer aided design (cad) output …mcnpvised.com › cad ›...

24
CONVERSION OF COMPUTER AIDED CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT FILES TO MONTE DESIGN (CAD) OUTPUT FILES TO MONTE CARLO N CARLO N - - PARTICLE (MCNP) INPUT FILES PARTICLE (MCNP) INPUT FILES 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

Upload: others

Post on 25-Jun-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

CONVERSION OF COMPUTER AIDED CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT FILES TO MONTE DESIGN (CAD) OUTPUT FILES TO MONTE CARLO NCARLO N--PARTICLE (MCNP) INPUT FILESPARTICLE (MCNP) INPUT FILES

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: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

OverviewOverview

Export 2D Export 2D DrawingDrawing eXchangeeXchange Format (DXF) Format (DXF) files from CADfiles from CAD–– Convert to MCNP using the MCNP Visual EditorConvert to MCNP using the MCNP Visual Editor

Export 3D Export 3D Standard ACIS Text (SAT) Standard ACIS Text (SAT) files files from CADfrom CAD–– Convert to MCNP using the MCNP Visual EditorConvert to MCNP using the MCNP Visual Editor

Page 3: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Complete Interface for MCNPComplete Interface for MCNP

Page 4: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

The Visual EditorThe Visual EditorGraphical User Interface for MCNPGraphical User Interface for MCNP

Display Geometries with 2D viewsDisplay Geometries with 2D viewsCreate geometriesCreate geometries

Universes, fills, latticesUniverses, fills, lattices

Some support for data cardsSome support for data cardsMaterials, transformations,Materials, transformations, importancesimportances

Plot particle tracksPlot particle tracksSDEF Source generation pointsSDEF Source generation pointsCollision pointsCollision pointsKCODE source point generationKCODE source point generation

3D plots3D plotsNormal, Radiograph, TransparentNormal, Radiograph, Transparent

Tally plotsTally plots

Page 5: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

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: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Visual Editor Visual Editor CapabilitesCapabilitesLattice Display/CreationLattice Display/Creation

Page 7: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Visual Editor Visual Editor CapabilitesCapabilites3D Ray Traced Imaging3D Ray Traced Imaging

Page 8: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Visual Editor Visual Editor CapabilitesCapabilites3D Plots of Lattice Geometries3D Plots of Lattice Geometries

Page 9: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Visual EditorVisual Editor CapabilitesCapabilitesCollision PlotsCollision Plots

Page 10: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionGenerate in CAD Generate in CAD

Export as a DXF FileExport as a DXF File

Page 11: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionRead 2D Read 2D dxf dxf File into Visual Editor File into Visual Editor

Page 12: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionRemoved Unwanted Surfaces Removed Unwanted Surfaces

Remove this ellipse

Using Scan-Delete

Page 13: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionSegment the surfaces Segment the surfaces

Segment the surface

Page 14: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionConvert to MCNP Convert to MCNP

Page 15: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

2D CAD conversion2D CAD conversionLimitations Limitations

Can not convert intersecting circles/ellipsesCan not convert intersecting circles/ellipsesAll geometries are extruded axially All geometries are extruded axially Different geometries have same axial cross Different geometries have same axial cross section section –– Axial cross section of a cylinder converts to a Axial cross section of a cylinder converts to a

box.box.–– Spheres convert to cylinders. Spheres convert to cylinders.

Page 16: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

3D CAD conversion3D CAD conversionGenerate in CAD Generate in CAD

Export as a SAT file Export as a SAT file

Page 17: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

3D CAD conversion3D CAD conversionRead SAT File into Visual Editor Read SAT File into Visual Editor

3D View of CAD Geometry Displayed3D View of CAD Geometry Displayed

Page 18: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

3D CAD conversion3D CAD conversionConvert to MCNP Convert to MCNP

Page 19: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

3D CAD conversion3D CAD conversionView MCNP Geometry in 3D View MCNP Geometry in 3D

Page 20: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

3D CAD conversion3D CAD conversionTwo Different Modes Two Different Modes

Use CAD to Create the MCNP geometry.Use CAD to Create the MCNP geometry.–– Define the geometry without using subtractions Define the geometry without using subtractions

or unionsor unions–– Conversion program will determine the Conversion program will determine the

subtractions and unions.subtractions and unions.

Read an already existing fully defined Read an already existing fully defined geometrygeometry–– All space must be definedAll space must be defined–– May need to simplify overly complex cellsMay need to simplify overly complex cells

Page 21: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Example 3D CAD conversionExample 3D CAD conversionBuilding Building

Page 22: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Example 3D CAD conversionExample 3D CAD conversionBuilding Building

Page 23: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Example 3D CAD conversionExample 3D CAD conversionDuct with 3 Bends Duct with 3 Bends

Page 24: CONVERSION OF COMPUTER AIDED DESIGN (CAD) OUTPUT …mcnpvised.com › CAD › vised_cad_mc2005.pdf · How the Visual Editor works Visual C++ code is linked to the MCNP . Fortran code

Request for Test GeometriesRequest for Test Geometries

Test 2D and 3D conversion on Test 2D and 3D conversion on complex geometries.complex geometries.–– Send geometries to Randy SchwarzSend geometries to Randy Schwarz

www.www.mcnpvisedmcnpvised.com.com