Conversion algorithm from CAD model to MCNP geometric model based on STEP text

A technology for converting algorithms and files, applied in the fields of nuclear science and technology, CAD modeling, and physics, and can solve problems such as troublesome and expensive copyrights

Active Publication Date: 2015-07-22
LANZHOU UNIVERSITY
View PDF3 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The first one will cause a lot of trouble in the conversion process because the representation of the two conversions involves a lot of mathematical knowledge and computer graphics knowledge
The second type is too easily limited by the data structure definition of the software itself, and in general large-scale 3D modeling software such as CATIA and solidworks are commercial software, and the copyright is very expensive

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Conversion algorithm from CAD model to MCNP geometric model based on STEP text
  • Conversion algorithm from CAD model to MCNP geometric model based on STEP text
  • Conversion algorithm from CAD model to MCNP geometric model based on STEP text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] Embodiment 1, the present embodiment relates to the conversion method of general CAD generation file STEP file, its flow chart refers to figure 1 . The specific steps include extraction of STEP file information, cell tree construction, labeling of cells in the cell tree, surface card output and cell card output.

[0069] Step 1, STEP file information extraction

[0070] 1) Use a semicolon as the end mark, search for the string containing the keyword "CLOSED_SHELL" in the STEP file (such as #96=CLOSED_SHELL('',(#97,#98,#99,#100,#101,#102 ));), store all the index number characters in the brackets behind it plus the character "=" in a character array (ch[]={"#97=","#98=","#99=" , "#100=", "#101=", "#102="};), then search for the string containing ch[i] in the file (take ch[0] as an example below) to get "#97=ADVANCED_FACE ('',(#113),#105,.F.);)".

[0071] 2) For the string containing the keyword "ADVANCED_FACE", in order to avoid redundant information, only put the in...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a conversion algorithm from a CAD model to an MCNP geometric model based on an STEP text, and the algorithm relates to the technical fields of physics and nuclear science. The algorithm is based on the STEP text generated by CAD software, information extraction is carried out on the STEP text, then a geometric algorithm is used for restoring a real model structure, finally conversion is carried out on an INP text format which can be recognized by the MCNP. In order to solve complex model problems, all lattice cell information of a model is stored in a lattice cell tree by adopting a method for constructing the lattice cell tree by the algorithm, and by means of the traverse lattice tree, the INP text format which can be recognized by the MCNP can be output. Outputs of a hook face card and a lattice cell card are free from omission, the position is accurate, and the treatment is flexible.

Description

technical field [0001] The invention relates to the fields of physics, nuclear science and technology, CAD modeling, etc., and the core content is a conversion algorithm from a CAD model to an MCNP geometric model based on a STEP file. Background technique [0002] The Monte Carlo neutron-photon transport program MCNP (Monte Carlo N-Particle Code) is a Monte Carlo-based program developed by the Monte Carlo Group of the Applied Theoretical Physics Department of the Los Alamos National Laboratory in New Mexico after decades of research. Method for large-scale multifunctional Monte Carlo particle transport procedures. Because of its good particle transport properties, it has been widely used in the fields of physics and nuclear science. However, the structure of the input file (INP file) is complicated, and handwriting is prone to errors. There are many softwares that solve this problem in the world, such as Visual Editor, Moritz, DesignModeler, MCAM and other software. Becaus...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/30G06F17/50
Inventor 周庆国吴炯杨家明汪俊琼
Owner LANZHOU UNIVERSITY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products