Project

General

Profile

Bug #1186

Failed to parse geometry

Added by Rogers, Chris almost 11 years ago. Updated about 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Geometry
Target version:
Start date:
07 December 2012
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

MAUS failed to parse default geometry download. I did (latest revision of trunk)

bin/utilities/download_geometry.py
bin/simulate_mice.py --simulation_geometry_filename files/geometry/download/ParentGeometryFile.dat

and get an error like

Error parsing MiceModule ParentGeometryFile.dat/Q1 property FieldStrength. Error was reported as 'Failed to evaluate expression "T/M"'

This is correct, units should be T/m (units are case sensitive).

#1

Updated by Bayes, Ryan almost 11 years ago

Rogers, Chris wrote:

MAUS failed to parse default geometry download. I did (latest revision of trunk)

[...]

and get an error like

[...]

This is correct, units should be T/m (units are case sensitive).

I got this error initially as well.

I made sure that I downloaded the "current" geometry (ie in the config file ensure that you have the line "geometry_download_by = 'current'") before running the simulation using the same command line argument as above. This works to first order --- but is it right?

The current geometry has the FieldStrength listed as "T". I agree that it should be "T/m". Could this raise a backward compatibility issue (Matt?).

#2

Updated by Rogers, Chris almost 11 years ago

Ah, my mistake. It's allowed, although a bit naughty, to do units of "T" rather than "T/m" (code interprets as "T/mm" - MAUS is not clever enough to know what units a variable is expecting and just multiplies).

#3

Updated by Littlefield, Matthew almost 11 years ago

I'm not sure where this has come from. I think it is from the maus_information file that I have uploaded. I shall check it out :-) Should all fields be in "T/m"?

#4

Updated by Rogers, Chris almost 11 years ago

I don't know what the typical values are in MICE. One would expect fields of order few T/m (shouldn't be more than, say, 1 T at the coil. Aperture is 0.17 m. So 5 T/m = 0.85 T at the coil.)

#5

Updated by Littlefield, Matthew almost 11 years ago

I've found the problem, the Maus_Information.gdml file which is uploaded with the geometry has the Field Strength in T not T/m. Its not in the code so I shall upload the geometry again and back date it

#6

Updated by Littlefield, Matthew almost 11 years ago

Just uploaded a corrected geometry. Try downloading the new version :-)

#7

Updated by MOM, Mice Operations Manager over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100
#8

Updated by Rajaram, Durga about 10 years ago

  • Target version changed from Future MAUS release to MAUS-v0.5.5

Also available in: Atom PDF