find the coordinates of a point in which the magnitude of derived variable at...
Hello, I am working on a 2D transient problem. I have the results and want to post processing them. I want to plot my results like this: Detect the minimum of a derived variable all over the domain at...
View ArticleWork on COMSOL through MATLAB?
Hi, I would like to run COMSOL through MATLAB but don't understand how? For example when I have saved a COMSOL simulation as M-file and tries to open it in MATLAB it won't open and I am not sure how to...
View Articleactive vibration control
Hey all, I am working on a an active vibration control progect with a cantilever beam, piezo electric actuator, and with a location measurments components. but first i need to simulate the whole closed...
View Articlewater hammer
hello to everyone well I'm a student and hydraulic master2 I presonte memory of my study is to fain ^ ^ analysis of a battering ram in a pipe under COMSOL aep ^ 10 next joure. I have download COMSOL...
View ArticleWith respests to COMSOL with Matlab syntax V4.3a
Hello everyone. I faced simple problem in my works for COMSOL with Matlab V4.3a syntax. I want to know V4.3 syntax corresponding to 'asseminit' syntax in V3.5. Best regards.
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 was not successful! Generally, is it possible to import a 2D CAD file to COMSOL or only 3D files? If...
View ArticleEvaluate parameter value in MATLAB
Hi, If I have a parameter, e.g.:>> model.param.set('outer_z', '((volume*formfactor^2)/(2*pi))^(1/3)'); How can I in the easiest way evaluate the value of this parameter (like the 'Value'-column...
View ArticleWork on COMSOL through MATLAB?
Hi, I would like to run COMSOL through MATLAB but don't understand how? For example when I have saved a COMSOL simulation as M-file and tries to open it in MATLAB it won't open and I am not sure how to...
View ArticleVariable modifications between solution iterations
I'm developing a transient model using the Livelink interface. The model first calculates an initial solution for the first time window, then I would like to modify the state variable values due to...
View ArticleSolidworks model meshing issue
I created geometry of a saddle coil pair in Solidworks and then I imported it to COMSOL using the geometry import option. When I build meshes, it gives error of meshing around edges and corners. COMSOL...
View ArticleAssign number of processors to a Comsol server
Hi, the option -np sets the maximum number of processors that Comsol is allowed to use. When Comsol is started in server mode this option seems to be ignored. For example Comsol server is started...
View Article[SOLVED] "Solution not initialized" when using Livelink for Matlab
(Documenting for others' possible benefit.) This error happened: ============================================================ Error using com.comsol.model.impl.SolverSequenceImpl/getPVals Java...
View Articleopen .mat file in comsol
Hi all, I got couple of files which are in version of 3.5a, and the file extensions are .fl and .mat. I can open .fl through comsol, but I don't know how to open .mat in comsol, which can be opened...
View Articlecomsol default solver parameters
Hello all, I am generating a matlab-script based comsol model and want to be able to run it from within Matlab. I am simulating a time-dependent study of a vibration problem. From my understanding of...
View ArticleList expressions and predefined quantities in Maltab or Java
Hello everyone, I'm looking for a way to find the "expressions and predefined quantities" a model offers within matlab or java. Via COMSOL-GUI, this is simply possible by clicking one of the two...
View ArticleProblem "To extract COMSOL data "
Hi I try to follow all the steps that is mentioned in the LIVELINK FOR MATLAB USER GUIDE"Start to load the model busbar from the COMSOL model library, enter the command: model = mphload('busbar'); To...
View ArticleLivelink for Matlab
Hi, I would like to create a simple model using API in Matlab. When I type the command "shell.feature.create('fc1', 'FixedConstraint') ", errors "Unkonwn feature ID#FixedConstraint" exsit. I have...
View Articleimpose a local young's modulus on many subdomains
hi everybody i want to make a script (matlab) to impose a local young's modulus on many subdomains (attached image of my subdomain) someone have any idea how to make it ? thank you very much
View ArticleCoupled solutions using LiveLink
Hello, I have created two models on the COMSOL server. One solves the steady-state heat equation and returns T(r,z). I can access this solution from MATLAB using mphgetu. I'd like to feed this T(r,z),...
View ArticleState Space Export
Hi , i have build a simple cantilever beam model using time depented model. after defining the points of forces and parameters, i want to export the model to matlb (State Space Matrices) so i could...
View Article