I have successfully installed MaxFEM and the suggested version of Python(x,y) 2.7.3.1 and solved some of the examples. Now, when I run MaxFEM the "Materials Database" menu is no longer in the menu bar and so I can't use the program to solve anything. This was not happening before. I have tried uninstalling and reinstalling MaxFEM and Pythong(x,y) but the materials database menu is still missing.
I check my local folder and the materials.dat.xml file is there. The only thing I can think of is that I have installed salome which comes with a few components of python 2.7.3; when I reinstall Python(x,y) a screen pops up that says I have python installed already but I ignore it and install Python(x,y) anyways.
The original materials database should be located in
<installdir>/materialsDB, where <installdir> is the folder where you
installed MaxFEM. The first time you execute MaxFEM a LOCAL copy is located
in C:\Users\<user>\AppData\Roaming\MaxFEM, where <user> is the name of your
user. This ensures that the user has privileges to modify the materials
database.</user></user></installdir></installdir>
Every time you create a new working folder, a copy of the LOCAL materials
database is created in the working folder. This ensures that this working
folder can use the latest changes in the materials database and that the
future changes in the materials database will not be taken into account.
Please, check whether you have the local copy of the materials database in
the location related above. If not, create it. After that, make a new
working folder and a new execution to test it.
Best regards,
Fran
Last edit: Fran Pena 2018-04-03
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have check my C:\Users\<user>\AppData\Roaming\MaxFEM\materialsDB folder and it does exist. It contains a materials.xml file.</user>
When I make a new project folder, that folder contains a materials.dat.xml file.
The problem seems to be that I don't have 'Material Database' button in the menu bar. When I installed MaxFEM for the first time ever, that material database menu was there and I could click on a material to see the properties. Now that menu has disappeared (see the image below)... I don't know where it has gone. The materials list is also missing when assigning a material to a domain on the mesh (second image link below).
I tried uninstalling and reinstalling Pythonxy and maxFEM several times but that materials database hasn't reappeared!!
Thanks for you help, I'm going to uninstall salome, I wonder if that has been interferring with it.
Hi everyone, I found what the problem was. Apparently in my C:\Users\Rana\AppData\Roaming\MaxFEM\materialsDB my 'materials.xml' file was 0 kB in size... probably from during the installation. There was a 'materials.xml~' file in there too that is 537 kB in size, so I just renamed that one to '.xml' and started up MaxFEM.py and it works!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I have successfully installed MaxFEM and the suggested version of Python(x,y) 2.7.3.1 and solved some of the examples. Now, when I run MaxFEM the "Materials Database" menu is no longer in the menu bar and so I can't use the program to solve anything. This was not happening before. I have tried uninstalling and reinstalling MaxFEM and Pythong(x,y) but the materials database menu is still missing.
I check my local folder and the materials.dat.xml file is there. The only thing I can think of is that I have installed salome which comes with a few components of python 2.7.3; when I reinstall Python(x,y) a screen pops up that says I have python installed already but I ignore it and install Python(x,y) anyways.
I'm running Windows 7 64-bit.
http://postimg.org/image/54jp23edb/
Last edit: Ranvir 2015-11-21
Hi,
The original materials database should be located in
<installdir>/materialsDB, where <installdir> is the folder where you
installed MaxFEM. The first time you execute MaxFEM a LOCAL copy is located
in C:\Users\<user>\AppData\Roaming\MaxFEM, where <user> is the name of your
user. This ensures that the user has privileges to modify the materials
database.</user></user></installdir></installdir>
Every time you create a new working folder, a copy of the LOCAL materials
database is created in the working folder. This ensures that this working
folder can use the latest changes in the materials database and that the
future changes in the materials database will not be taken into account.
Please, check whether you have the local copy of the materials database in
the location related above. If not, create it. After that, make a new
working folder and a new execution to test it.
Best regards,
Fran
Last edit: Fran Pena 2018-04-03
Hello,
I have check my C:\Users\<user>\AppData\Roaming\MaxFEM\materialsDB folder and it does exist. It contains a materials.xml file.</user>
When I make a new project folder, that folder contains a materials.dat.xml file.
The problem seems to be that I don't have 'Material Database' button in the menu bar. When I installed MaxFEM for the first time ever, that material database menu was there and I could click on a material to see the properties. Now that menu has disappeared (see the image below)... I don't know where it has gone. The materials list is also missing when assigning a material to a domain on the mesh (second image link below).
I tried uninstalling and reinstalling Pythonxy and maxFEM several times but that materials database hasn't reappeared!!
Thanks for you help, I'm going to uninstall salome, I wonder if that has been interferring with it.
http://postimg.org/image/61lctezjt/b691b99e/
http://postimg.org/image/54jp23edb/
Hi everyone, I found what the problem was. Apparently in my C:\Users\Rana\AppData\Roaming\MaxFEM\materialsDB my 'materials.xml' file was 0 kB in size... probably from during the installation. There was a 'materials.xml~' file in there too that is 537 kB in size, so I just renamed that one to '.xml' and started up MaxFEM.py and it works!
Hi,
I am glad to hear that the problem was solved.
Best regards,
Fran
Last edit: Fran Pena 2018-04-03