[Gate-users] Problem in MaterialDatabase
thibaultmauxion
thibault.mauxion at gmail.com
Mon Jan 13 05:30:40 CET 2014
Hi Smita ,
I believe you're following the Material section of this http://wiki.opengatecollaboration.org/index.php/UsersGuide?
The messages states that the file named MyMaterialDatabase.db can't be found in the current directory (where you execute the app).
Do you actually have a file named MyMaterialDatabase.db?
This file should be inspired (or even simply duplicated) from the GateMaterials.db file you can find in the examples ( see file attached).
For whatever material you want to use, you need to define it in your material file (no matter how you name it) with the proper name and directory reported in your macro.
Hope this helps.
Thibault
Post-doctoral fellow
Division of Medical Imaging Physics
Johns Hopkins Medical Institutions
JHOC 4260, 601 N. Caroline street, Baltimore, MD, 21287
Tel: +1 410 502 3772
Fax: +1 410 614 1060
http://www.hopkinsradiology.org/dmip/
On Jan 12, 2014, at 10:56 PM, Tasneem Rahman <Tasneem.Rahman at student.adfa.edu.au> wrote:
> Dear GATE users,
>
> I am following wiki Users Guide V6.1.
>
> I am trying to run the following command:
>
> /gate/geometry/setMaterialDatabase MyMaterialDatabase.db
>
> But I am getting the following error message:
>
> GateMDBFile: : GateMDBFile:
> Could not find material database file ‘MyMaterialDatabase.db’.
> Computation aborted.
>
> *** G4Exception: Aborting execution ***
>
> I am wondering whether I should be able to access the material database or I need to create materials each time I want. Please let me know how can I resolve this issue.
>
>
> Thanks,
> Smita
>
> _______________________________________________
> Gate-users mailing list
> Gate-users at lists.opengatecollaboration.org
> http://lists.opengatecollaboration.org/mailman/listinfo/gate-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140112/2ab23ec7/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GateMaterials.db
Type: application/octet-stream
Size: 14541 bytes
Desc: not available
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140112/2ab23ec7/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opengatecollaboration.org/mailman/private/gate-users/attachments/20140112/2ab23ec7/attachment-0003.html>
More information about the Gate-users
mailing list