## How to draw somewhat complicated model?

Discussion on physics, models and calculation methods
ahmed
Posts: 29
Joined: Mon Feb 17, 2020 2:22 am
Security question 1: No
Security question 2: 7

### How to draw somewhat complicated model?

Hello everyone.

I really want help in drawing this model for a new research reactor, which consists of two different types of fuel assemblies as in figure .
How to place fuel assemblies in the form of a triangular prism next to another of the hexagonal type in one lattice?
Attachments Untitled.png (138.08 KiB) Viewed 445 times

Ana Jambrina
Posts: 551
Joined: Tue May 26, 2020 5:32 pm
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

A lattice, by definition, implies regularity; mixing two types of elements (assemblies) within the same lattice would mean uneven positions due to differences in pitches and/or number of elements, etc.

From the top of my head, a simple/straight-forward approach(s):
- An idea might be to split the hexagonal assemblies into triangular ones (like triangular sub-assemblies), and, from there, build a triangular lattice (assuming some common properties between the original hexagonal/triangular assemblies) - some transformations and/or intermediate processing of the hexagonal assemblies might be needed.
- Since the core seems to be not too large, it might be doable to not use a lattice to place the different assemblies within the core; instead locate each of them (hexagonal/triangular prisms) at the given position.

Note: (equilateral) triangular surface and X-type triangular lattice are new features of Serpent 2.1.32. Following, a brief syntax description (not yet included in the Wiki):
• X-triangular lattice would correspond with a simple type of lattice, following the same syntax description as square, X-type hexagonal, Y-type hexagonal lattices. X-type triangular lattice type is 14, and it is composed by (X-type) triangular elements. The lattice is infinite in z-direction. [lat UNI TYPE X0 Y0 NX NY PITCH UNI1 UNI2 …]
• (Equilateral) triangular surface, 'tric', would correspond with a x-y triangular prism, parallel to z-axis, centered at (x0, y0). Infinite and truncated triangular prisms use the same name, and are composed by 3 planes (+ 2 planes), respectively. The definitions would be as follow:

tric x0 y0 r [ori]: infinite (equilateral) triangular prism, parallel to z-axis, centered at (x0, y0), with incircle radius r, and orientation ori (optional).

tric x0 y0 r ori z0 z1: truncated (equilateral) triangular prism, parallel to z-axis, centered at (x0, y0), with incircle radius r, and orientation ori, truncated between [z0, z1].

Orientation, ‘ori’, corresponds to the cardinal direction of the non-aligned vertex of the triangle. Default orientation is North. It follows the scheme: W-S-E-N (W=1, S=2, E=3, N=4).
- Ana

ahmed
Posts: 29
Joined: Mon Feb 17, 2020 2:22 am
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

can you please write here example for X-triangular lattice ?

Ana Jambrina
Posts: 551
Joined: Tue May 26, 2020 5:32 pm
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

The X-triangular lattice syntax is: lat UNI TYPE X0 Y0 NX NY PITCH UNI1 UNI2 …, type = 14 (there is nothing special about it - it follows the same rules as the other simple regular lattices: type = 1, 2, 3).
Basically, as always, it depends on the model you want to build: e.g. you can create each of the elements of the X-triangular lattice as part of or derived from a hexagonal lattice (see attachment) - based on the approach, some additional effort might be needed.
Attachments xtrig_based_hexy.png (230.85 KiB) Viewed 403 times
- Ana

ahmed
Posts: 29
Joined: Mon Feb 17, 2020 2:22 am
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

can you please copy and past the input syntax for this example? (only for triangle cell not the full input)

Ana Jambrina
Posts: 551
Joined: Tue May 26, 2020 5:32 pm
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

- Ana

ahmed
Posts: 29
Joined: Mon Feb 17, 2020 2:22 am
Security question 1: No
Security question 2: 7

### Re: How to draw somewhat complicated model?

Thank you very much.