Java Out of Memory Error
Running a parametric sweep of a 2d electrostatic model. Sweeping two parameters results in 80 configurations. The computer this runs on has 12 Gb of ram. The analysis never goes over 1 Gb for the...
View ArticleSave as java file
Hello On Comsol 4.1: I'm trying to use java editing to build a dynamic model with subsequent changes in the geometry based on results of previous simulations. I would like to start from a model I...
View ArticleCreating a Random Distribution of Nanowires (Random Geometry Feature and Java...
Hi all, I am new user of COMSOL and Programming languages (in general). I want to model a random distribution of nanowires in a rectangular area. I have two questions.... 1) Is it possible using COMSOL...
View ArticlePassing global variables from COMSOL to java
Hi, I'm currently using COMSOL 4.2 with java and am having difficulty extracting the values of several variables. I can evaluate the variables in the derived values section of results, but I am not...
View ArticleRunning COMSOL with Java externally
I know the COMSOL API reference guide discusses this, but the instructions are unclear for someone like me with no background in Java/Eclipse. I know you can export COMSOL models as Java files. How do...
View ArticleRun COMSOL @ remote PC -> JAVA error!!!
Hi guys! I'm trying to run COMSOL to simulate myscript.m file, which works perfectly on my PC, in another PC. This is what I did: ssh -X etc etc cd myfolder nohup ./mybash.sh & in mybash.sh I got...
View ArticleComsol 3.5 and Eclipse
Usage Java SDK 1.4.2 for Windows for application development using Comsol 3.5 API is describe in the Comsol help. What should I do to use Eclipse instead? Thanks!
View Articleplotwhilesolving using java API
I followed the end of the java guide for setting up a gui to run comsol. that worked perfectly. Then, I managed to do it for a time dependent study where it shows the progress bar and everything and...
View Articlerunning java file using eclipse
Hi all, I am trying to running a java file (directly savd from COMSOL desktop) using Eclipse. I followed all the instructions and apparently eclipse connect and disconnect to/from COMSOL server...
View ArticleLoad materials from library with Java API
Hello COMSOL aficianados, We are working with the Java API for COMSOL here. Let's say you want to load the material copper into your model. It seems, according to the manual, that the only way to get...
View ArticleHow to set classpath from GUI, or use multiple classes
Hello, I am using a Windows 7, 64 bit machine. I believe that I have the same question as the person from this thread:www.comsol.com/community/forums/general/thread/41459 I developed a main.class file...
View ArticleJava Program works on Windows, not Linux
I'm working on a COMSOL GUI application with the Java API, and I've gone through the beam model tutorial. Everything works when I run it from Eclipse directly, but when I export the program to a...
View ArticleJava Out of Memory Error
Running a parametric sweep of a 2d electrostatic model. Sweeping two parameters results in 80 configurations. The computer this runs on has 12 Gb of ram. The analysis never goes over 1 Gb for the...
View ArticleSave as java file
Hello On Comsol 4.1: I'm trying to use java editing to build a dynamic model with subsequent changes in the geometry based on results of previous simulations. I would like to start from a model I...
View ArticleCreating a Random Distribution of Nanowires (Random Geometry Feature and Java...
Hi all, I am new user of COMSOL and Programming languages (in general). I want to model a random distribution of nanowires in a rectangular area. I have two questions.... 1) Is it possible using COMSOL...
View ArticlePassing global variables from COMSOL to java
Hi, I'm currently using COMSOL 4.2 with java and am having difficulty extracting the values of several variables. I can evaluate the variables in the derived values section of results, but I am not...
View ArticleRunning COMSOL with Java externally
I know the COMSOL API reference guide discusses this, but the instructions are unclear for someone like me with no background in Java/Eclipse. I know you can export COMSOL models as Java files. How do...
View ArticleRun COMSOL @ remote PC -> JAVA error!!!
Hi guys! I'm trying to run COMSOL to simulate myscript.m file, which works perfectly on my PC, in another PC. This is what I did: ssh -X etc etc cd myfolder nohup ./mybash.sh & in mybash.sh I got...
View ArticleComsol 3.5 and Eclipse
Usage Java SDK 1.4.2 for Windows for application development using Comsol 3.5 API is describe in the Comsol help. What should I do to use Eclipse instead? Thanks!
View Articleplotwhilesolving using java API
I followed the end of the java guide for setting up a gui to run comsol. that worked perfectly. Then, I managed to do it for a time dependent study where it shows the progress bar and everything and...
View Article