COMSOL Mutiphysics and External MATLAB function
Dear All, I am using COMSOL Multiphysics(version 5.2) for solving the models(time dependent) which calls external MATLAB functions. The objective of external MATLAB functions is to resolve ODE and give...
View ArticleProblems syncing geometry using livelink for autocad
I am trying to build a simple 3D model in Autocad (for simplicity's sake, assume a cube). However, objects can not be parametrized in 3D, so I am confused as to how I am supposed to access dimensions...
View ArticleAutomatically import parameters and export simulation data
Hi! I'd like to do the following. I would like my Comsol model to automatically import simulation parameters (e.g. geometrical dimensions, charge density on a surface, etc.), run an auxiliary sweep and...
View ArticlePossibility to import a 2D CAD file to COMSOL?
Hello, I am running the last version of COMSOL (4.3b). I tried to import a 2D CAD file to COMSOL but failed to do so! Generally, is it possible to import a 2D CAD file to COMSOL or only 3D files? If...
View ArticleParallel computing MatLab Comsol
Hi, I am using Comsol 4.3 with Livelink for Matlab. I run an optimization code in Matlab where i call Comsol to perform frequency response simulations. Now i would like to start two parallel frequency...
View ArticleSingularity error
Hi, when I use Matlab to run the COMSOL simulation, I am getting the error : Repeated error test failures. May have reached a singularity. But when I directly use COMSOL to run the simulation, it works...
View ArticleHi
I modeled a geometry in matlab, can any one tell me how to import that geometry to comsol
View Articleusing stored solution in a matlab loop
Dear all I am simulating a multiphysics problem which combines electric current with heat transfer, for multiple pulses . I am trying to use a stored solution as an initial value for the proceeding...
View ArticleCalling a Matlab function from within Comsol
I would like to call a Matlab function from within Comsol, and run across the error: Failed to load library. - Error: dlopen(/Applications/COMSOL41/lib/maci64/flmatlab.dylib, 5): Library not loaded:...
View ArticleCOMSOL cannot load MATLAB (on Ubuntu 12.04 and Debian 7.7)
Dear all, I recently experienced a serious problem when trying to use MATLAB functions in COMSOL on Linux computers, where COMSOL needs to call a MATLAB command line. I use COMSOL 4.4 and MATLAB...
View ArticleMATLAB parfor and Comsol server
Hi, I want to speed up my computations using the parfor loop in MATLAB (from Parallel Computing Toolbox). I run this on a Linux machine. My code so far: system('killall -9 comsollauncher java'); % kill...
View ArticleMATLAB Parallel Toolbox parfor: using mphstart() more than once
Hi, my problem is that a MATLAB instance refuses to use mphstart() more than once in its lifetime. I need to reconnect because I want to use the MATLAB Parallel Computing Toolbox with parfor to run...
View ArticleIncrease stiffness by adding more stiffer material in optimization
Please, find the matlab code below. I have a 2D model. The base material (mat1) has the young modulus (E1) of 1 and poisson ratio of 0.3. The compliance is 52.79. In order to reduce the compliance...
View ArticleImport a matrix from mpheval operator.
Hi, I'd like to ask a question! I got the matrix (V=mpheval(model,'V')) using the Livelink. and I modified value of some points in V matrix. But when I import to COMSOL, It didn't be reflected. If you...
View ArticleFluid Structure Interaction with Two Phase Flow
Hello to everybody,I am working on a simulation trying to reproduce the flow of two fluids( gas and liquid) flowing on a silicone membrane which gets deformed due to the fluid flow.I saw the tutorial...
View ArticleElectrostatic (es) to solid mechanics (plain strain) domain coupling issue
Hi,I am trying to simulate a simple cantilever beam using electrostatics and solid mechanics coupled by moving mesh domain. The space charge densities are assigned to different domains within beam and...
View Articlemultiple domain filed avaverge in matlab with comsol
Hi, I am recently using the average function in the matlab with comsol for the homogenization of the filed in the domain, I know that I can use the command in matlab...
View ArticleHow to solve wear ODE equation
Hello Everyone,I want to solve the following ODE equation, is comsol capable of solving this?My wear equation is Wd=Cd*P(t),where my Cd= kV/H K= wear coefficent, V= sliding velocity and H is hardness...
View ArticleAntenna tissue interface-temperature and boundary conditions...
Hi,I am trying to simulate a simple antenna radiating into a block of a tissue using EMW and Bioheat physics and have followed the tutorial from...
View ArticleInterpolating external Data to Certain Parts of the Geometry
Good Morning,I need to import externally computed datapoints into COMSOL multiphysics.I have a geometry which looks like a sandwiched structure, consisting of a metal - insulator - silicon - metal. I...
View Article