Jeff Hiller
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jan 2, 2020, 10:34 a.m. EST
Hello Fernando,
If your file created with version 5.4 only uses features that existed in version 5.3, yes. This thread should help.
Best regards,
Jeff
-------------------
Jeff Hiller
Hello Fernando,
If your file created with version 5.4 only uses features that existed in version 5.3, yes. [This thread](https://www.comsol.com/forum/thread/163681/save-a-model-as-older-version?last=2018-02-07T12:01:36Z) should help.
Best regards,
Jeff
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jan 2, 2020, 10:42 a.m. EST
It's interesting to know such a possibility. Thanks!
According to the thread, one should save the .mph model file as a .java file and then compile it with a lower version compiler. But could a lower version .mph file be recovered from the .java file?
-------------------
ZHANG, Pu
School of Physics,
Huazhong University of Science and Technology
It's interesting to know such a possibility. Thanks!
According to the thread, one should save the .mph model file as a .java file and then compile it with a lower version compiler. But could a lower version .mph file be recovered from the .java file?
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
Jan 3, 2020, 3:35 a.m. EST
Hi Pu,
The compilation process as such should in principle be version independent. It is just a matter of getting a .class file from a .java file.
When you later run the .class file from a certain COMSOL Multiphysics version, and then save the model, the .mph file gets its version number. In principle, you could thus create several .mph file versions from a single .class file.
Regards,
Henrik
-------------------
Henrik Sönnerlind
COMSOL
Hi Pu,
The compilation process as such should in principle be version independent. It is just a matter of getting a .class file from a .java file.
When you later run the .class file from a certain COMSOL Multiphysics version, and then save the model, the .mph file gets its version number. In principle, you could thus create several .mph file versions from a single .class file.
Regards,
Henrik