Comsol java program doesn't stop when run in eclipse
Hi, I would like to run COMSOL java file externally in eclipse. I saved the comsol file as java and run it into eclipse. I also added "ModelUtil.initStandalone(false);" before run() method but program...
View ArticleAutomate Tasks with the COMSOL API for use with Java
Hello, We work on a project using comsol and we want to automate our tasks using java. We understand the article on the comsol website www.comsol.com/blogs/automate-...ing-tasks-comsol-api-use-java/...
View ArticleImport Java Packages in a method for App builder
Hi, I am performing data manipulation via a method in the app builder. My code requires additional Java packages to run. For example: import java.io.IOException; import java.util.List; Has anyone...
View Articleuser-defined solver in COMSOL
Can I program my own solver and use it with the COMSOL API?
View Articlecomsolbatch javafile(.java): error in reading a txt file
I met a error when i try to use comsolbatch with javafile(.class), and i really don't know how to solve it. At first i made a .java code file just by a comsol model which can be ran succeefully in...
View ArticleCan I extract the algorithm that corresponds to the COMSOL solution?
Hi! I would like to extract the code of a COMSOL file so that I can interfere when ever I want, How can I do that? Is there any idea? Thank you in advance! PD
View ArticleComsol java program doesn't stop when run in eclipse
Hi, I would like to run COMSOL java file externally in eclipse. I saved the comsol file as java and run it into eclipse. I also added "ModelUtil.initStandalone(false);" before run() method but program...
View ArticleBandgap of a 2D photonic crystal by COMSOL MATLAB scripting
I would like to share my MATLAB script that reproduces Figure 6.8 of the textbook @book{maldovan2009periodic, title={Periodic materials and interference lithography: for photonics, phononics and...
View ArticleAutomate Tasks with the COMSOL API for use with Java
Hello, We work on a project using comsol and we want to automate our tasks using java. We understand the article on the comsol website www.comsol.com/blogs/automate-modeling-tasks-comsol-api-use-java/...
View ArticleImport Java Packages in a method for App builder
Hi, I am performing data manipulation via a method in the app builder. My code requires additional Java packages to run. For example: import java.io.IOException; import java.util.List; Has anyone...
View Articleuser-defined solver in COMSOL
Can I program my own solver and use it with the COMSOL API?
View ArticleRunning Comsol in batch mode: File Access
The below post is related to an archived discussionI am referring to the discussion above. I am running comsol with Java as a batch job, but I am getting the error:Error running java class. - Detail:...
View ArticleThe Java application works fine but the JAR file doesnt work.
Hi,I'm working on a Comsol GUI application with the Java API. I used NetBeans and for begining i tried the beam model. I created the DemoBeamModel.java according to the Comsol Documentation. It works...
View ArticleMaking a executable exe file from BeamModel.mph in windows
Hi,I'm working on Comsol Java API and trying to make a exeutable exe file in windows from BeamModel.mph as i can double click and run it in windows or linux. any idea? is there any way to make it?
View ArticleComsol Java API
Hi,Anybody knows if comsol Javs API models (like BeamModel.java) are runnable by NetBeans/Ecilipse in Linux(ubunto)? I tried and i got some errors. I still couldnt figure it out how to fix it. Any help...
View ArticleComsol model in java
Hi,I'm working on a Comsol GUI application with the Java API. I used NetBeans and started with the beam model according to the Comsol Documentation (comsol-programmingReferencesManual.pdf pg.635) It...
View ArticleSave Solution in a Java File for copying result plots
Hi,I have a few of the exact same models (same domains, mesh, physics, etc), run with different inputs. One of these models has a lot of result plot groups which took a lot of time to set up. It would...
View ArticleUnable to Save model. "Error: Content not allowed in prolog."
I keep receiving the attached error "Content is not allowed in prolog." when I try to save a certain model file. I've tried clearing all solutions and meshes, resetting the solvers, compacting the...
View ArticleJAVA API for the image export
The below post is related to an archived discussionI enter the comsolserver -graphics command in the cmd, it did not emerge any errors, is it that means I am in the server mode? when I continue to run...
View ArticleQuestion about the Application builder
Hello, I would like to get an evaluated value by the « global evaluation », in the “results” section, into a variable defined in the application builder, section “methods”.Please see the atatched...
View Article