trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Report any suspected bugs and unexpected behavior here
Post Reply
User avatar
sjjamsa
Posts: 17
Joined: Mon Feb 24, 2020 11:00 am
Security question 1: No
Security question 2: 7

trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by sjjamsa » Wed Aug 12, 2020 12:58 pm

Hi!

It seems that changing

Code: Select all

surf scifiDet0Surface           cylx 0.0 0.0  61.5 850.0 1147.0 
trans S scifiDet0Surface           0.0 0.0 0.0  0.0 0.0 0.0 2
to

Code: Select all

surf scifiDet0Surface           cylx 0.0 0.0  61.5 850.0 1147.0 
trans S scifiDet0Surface           0.0 0.0 0.0  0.0 0.0 0.00036 2
Mirrors my grey cylx-cylinder! What is going on here? (I didn't notice the same issue with the magenta cyly, or did I? I did need to specify a negative rotation angle to get the rotation I expected.).

Inputs and plots attached.

Thank you very much!
- Simppa -
Attachments
trans.zip
(6.91 KiB) Downloaded 55 times
ang_0_symmetry_test_geom1.png
ang_0_symmetry_test_geom1.png (3.28 KiB) Viewed 856 times
ang_pos_symmetry_test_geom1.png
ang_pos_symmetry_test_geom1.png (3.27 KiB) Viewed 856 times

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

Re: trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by Ana Jambrina » Fri Aug 14, 2020 1:15 pm

It might be the case that what is happening with cylx is also happening with cyly, but it is not that obvious.
When you set 0, there is not rotation at all, so, the cylinder keeps its original position.
Maybe it is easier if you visually ‘split’ the transformation:
For cylinder y:
- (1) cylinder centred origin (0.0); radius 100; zmin, zmax = (0, 1570.8) non-displacement
- (2) cylinder centred (500,0); radius 100; zmin, zmax = (0, 1570.8) non-displacement
- (3) cylinder centred (500,0); radius 100; zmin, zmax = (-785.4, 785.4) displacement

For cylinder x:
- (1) cylinder centred origin (0.0); radius 61.12; zmin, zmax = (0, 2970) non-displacement
- (2) cylinder centred origin (0.0); radius 100; zmin, zmax = (8500, 1147.0) displacement
** instead of an angle of 0.00036, let’s use i.e. 36 (however, the same applies to 0.00036)

Color-code: (non transformation) - green; (positive angle) - blue; (negative angle) - red --> See figures
Attachments
trans.png
trans.png (111.08 KiB) Viewed 837 times
- Ana

User avatar
sjjamsa
Posts: 17
Joined: Mon Feb 24, 2020 11:00 am
Security question 1: No
Security question 2: 7

Re: trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by sjjamsa » Mon Aug 17, 2020 10:49 am

Thank you for the further testing and the colourful pictures.

Do I interpret your message correctly: "You confirm that you can recreate the bug."?

Cheerio!

- Simppa -

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

Re: trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by Ana Jambrina » Wed Aug 19, 2020 11:31 am

I think it might be. Checking it! (BTW, which version of Serpent are you using?)
- Ana

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

Re: trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by Ana Jambrina » Sat Aug 22, 2020 1:57 pm

Some modifications were made related to cylinder transformations. Those will be included in the upcoming Serpent 2.1.32 version.
- Ana

User avatar
sjjamsa
Posts: 17
Joined: Mon Feb 24, 2020 11:00 am
Security question 1: No
Security question 2: 7

Re: trans S s1 0 0 0 0.0 0.0 0.0000001 2 mirrors!

Post by sjjamsa » Fri Mar 05, 2021 11:57 am

I re-tested with an unmodified version of 2.1.32 and I don't see the issue any more. Thank you for the help!

Post Reply