Quantcast
Channel: Latest Discussions - COMSOL Forums
Browsing latest articles
Browse All 71 View Live

Running 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 Article



The 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 Article

Making 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 Article

Comsol 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 Article

Comsol 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 Article


Save 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 Article

Unable 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 Article

JAVA 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 Article


Question 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


Using 'Convert to Solid' Object in Matlab Livelink: specifying a selection

I am scripting a simulation using the Matlab Livelink interface. I am able to build a geometry using and import object surface combined with parametric surfaces and I would like to convert this into a...

View Article

Retrieving Boundary Topology in Simulation Applications

Hello Everyone,I am currently trying to create an application which gives users access to the custom physics interface\study steps I have created. However, the geometries I want the user to be able to...

View Article

Prevent server from closing upon disconnect in java API

I am building a program in java that runs a COMSOL model in server mode. This program is executed multiple times by another external program and java needs to terminate each time. As such, I need to...

View Article

COMSOL model into microcontroller

Can we execute the comsol model into c language or any microcontroller platform. This COMSOL model can be used parameter estimation in MATLAB.

View Article


Matlab mph functions calling a selection

Hi everyone,I get into a problem, that I cant fix after half a day trying. I created a matlab instance of a comsol simulation, which I then manipulated. Now I want to access the model after I run...

View Article

Is there any way for my software client to access an App on a COMSOL server?

Besides embedding a COMSOL Server App web page into my software, is there any other way to use COMSOL Server App from another software? Is there any http interfaces?Fot example, a customized App has...

View Article


Generic COM API Error

Hi,I found and adapted a COM based connection to the Comsol server to use with different prog. languages (mainly python). The original author and version is from git ("cmphy"). I can start the server,...

View Article

Output of getVertexElements()

Hi Everyone,I am trying to extract results at the gauss points of tri elements. The problem is: I am having trouble assigning each gauss point to its corresponding element. A snapshot from my code in...

View Article


How to couple my MATLAB solver to the COMSOL's Segreated-step solver

Suppose I have a multiphysics coupling model, heat transfer and electrical field. It is a time-dependent problem. At each time step, I suppose to use the segreated scheme to deal with the coupling...

View Article

File access using Java API in batch mode

Hi,I am currently experimenting with Java API for using COMSOL. I have discovered that I have a problem with external files when using comsolbatch.The following code (see bottom of post) is for a...

View Article

Where can we find COMSOL API, Thank you!

when I read LiveLinkForMATLABUsersGuide.pdf, when I click some links, it shows me "C:\Program Files\COMSOL53a\Multiphysics\doc\pdf\LiveLink_for_MATLAB..\COMSOL_Multiphysics\comsol_api_geom.pdf File not...

View Article
Browsing latest articles
Browse All 71 View Live




Latest Images