Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Save a model as older version
Posted 12.01.2018, 16:54 GMT-5 General Version 5.3 6 Replies
Please login with a confirmed email address before reporting spam
Hi,
Is it possible to save a model as older version? I have 5.3 and I would like to save model for previous vesion, e.g. 5.2.
Please login with a confirmed email address before reporting spam
As far as I know it is not possible to do so.
-------------------ZHANG, Pu
School of Physics,
Huazhong University of Science and Technology
Please login with a confirmed email address before reporting spam
Hi,
For obvious reasons, this cannot be done if you have used functionality which was not available, or has been significanly changed since version 5.2. In many cases, it is however possible:
Save the model as a Java file, compile it, and run the generated class file from the older version. This will work as long as there is nothing in that Java file which is not supported. A few such things can also be fixed by editing the Java file. So it may be worth trying.
Regards,
Henrik
-------------------Henrik Sönnerlind
COMSOL
Please login with a confirmed email address before reporting spam
Hi,
If I want to send my simulation to someone who have version 5.2, what do I need to send? This .class and .mph, or just .class, or something else?
Thanks, Milana
Please login with a confirmed email address before reporting spam
Hi Milana,
If we assume that you do not have 5.2, and your collegue has that version, the best would be that you sava as Java (preferably after having done a Compact History). You then send the Java file, so that the other user has a possibilty to edit it, if necessary.
Regards,
Henrik
-------------------Henrik Sönnerlind
COMSOL
Please login with a confirmed email address before reporting spam
Hi Henrik,
I have saved my model as java file
I don't know how to compile it , Can you please tell me the steps to compile a java file before openning it in the older version?
I searched for it and it said to enter compile command in the comsol server but I don't how that can be done for a spesific java file that already saved
Can you please help me with that ?
Thank You
Regards, Abdul
Please login with a confirmed email address before reporting spam
Hi Abdul,
You can use the comsolcompile command from a console window. If you have the binaries directory in the search path, then it is just
comsolcompile my_model.java
Without the path set, you can do something like (on Windows)
C:\"Program Files"\COMSOL\COMSOL53a\Multiphysics\bin\win64\comsolcompile my_model.java
Regards,
Henrik
-------------------Henrik Sönnerlind
COMSOL
Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.
Suggested Content
- FORUM Save A Model Made On A New Version To An Older Version
- FORUM save a model made on a new version to an older version
- BLOG Exploiting Hardware Parallelism with COMSOL® Batch Sweeps
- KNOWLEDGE BASE How can I Migrate my Local Model Manager to the Database of a Model Manager Server
- BLOG Now Available: COMSOL Multiphysics® Version 6.0
