Please login with a confirmed email address before reporting spam
Posted:
8 years ago
30 août 2016, 17:16 UTC−4
What you did in the MATLAB you can do same in JAVA methods using application builder.
What you did in the MATLAB you can do same in JAVA methods using application builder.
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
30 août 2016, 18:18 UTC−4
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
1 sept. 2016, 07:00 UTC−4
Thanks for your reply. We are trying with Java now
Thanks for your reply. We are trying with Java now
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
1 sept. 2016, 07:05 UTC−4
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
Thanks for your reply! Actually I also opened a "support case" about the same question. And the support engineer doesn't think there is a difference between "comsol with matlab" and Java: "Because the MATLAB Livelink internally uses the COMSOL API, I do not think that it would make a difference to create a java program".
[QUOTE]
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
[/QUOTE]
Thanks for your reply! Actually I also opened a "support case" about the same question. And the support engineer doesn't think there is a difference between "comsol with matlab" and Java: "Because the MATLAB Livelink internally uses the COMSOL API, I do not think that it would make a difference to create a java program".
Please login with a confirmed email address before reporting spam
Posted:
8 years ago
9 sept. 2016, 05:29 UTC−4
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
We have tried it with Java. And it seems to make no difference with "comsol with matlab". Is it possible to give us an example of your model? Thank you very much in advance!
[QUOTE]
I agree that the doing this in JAVA might be a good way to go. I've had some luck exporting projects with parametric sweeps in java format and looping them so that the geometry and mesh are only built once and so that I can change input parameters each time.
In java, you can just copy and paste the 'run' command to duplicate it. In between each run, you should be able to redefine the input variables using previous run output variables in between each run. Doing this in a loop would probably be the cleanest in terms of coding.
I hope this helps!
-Andy
[/QUOTE]
We have tried it with Java. And it seems to make no difference with "comsol with matlab". Is it possible to give us an example of your model? Thank you very much in advance!