iMechanica - Comments for "interfacing between matlab and ansys" //m.limpotrade.com/node/3581 Comments for "interfacing between matlab and ansys" en follow up //m.limpotrade.com/comment/27336#comment-27336

In reply to follow up

I added & to keep thre cmd window open, so I can see Ansys is stuck.

There is some problem in Ansys when called from Matlab. What is it?

Fri, 12 Jun 2015 16:59:21 +0000 Echeban comment 27336 at //m.limpotrade.com
follow up //m.limpotrade.com/comment/27335#comment-27335

In reply to Hi Dr.mmaaa,I once comed on

This works perfect on a DOS shell (Win Start cmd)

"C:\Program Files\ANSYS Inc\v161\ANSYS\bin\winx64\ansys161.exe" -b -i C:\ANSYS\User\Ex37.log -o C:\ANSYS\User\Ex37.out

But when I put exactly the same inside a .m file and run it from Matlab (F5),

!"C:\Program Files\ANSYS Inc\v161\ANSYS\bin\winx64\ansys161.exe" -b -i C:\ANSYS\User\Ex37.log -o C:\ANSYS\User\Ex37.out

it starts running but gets stuck while running the solver, it does not finish the solution, with an error message "Mechanical APDL has stopped working"

Any ideas why is this happening?

Fri, 12 Jun 2015 16:43:09 +0000 Echeban comment 27335 at //m.limpotrade.com
about optimization of piezo patches on the plate //m.limpotrade.com/comment/27311#comment-27311

In reply to interfacing between matlab and ansys

Iam dealing with the optimization of piezoelectric patches on the plate for vibration control

idid an apdl code for the plate with piezo patches and getting the frequency

now i want to do an optimization for the location of the patches on the plate using GA

any one can help me with thats

any codes

mail : kouider84@live.com

Sat, 30 May 2015 19:40:53 +0000 kouider84 comment 27311 at //m.limpotrade.com
Script in ANSYS https://万博manbetx平台m.limpotrade.com/comment/26484#comment-26484 <一个id = "评论- 26484 " > < / > < p > < em >回复< href="//m.limpotrade.com/node/3581">interfacing between matlab and ansys

<p class="MsoPlainText">My problem is related to optimization, using the communication interface of MATLAB and ANSYS, my biggest problem is how to generate a script in ANSYS and this script be changed and read by MATLAB.&nbsp;Could anyone help me?Thanks in advance.&nbsp;<span style="font-family: Calibri, sans-serif; font-size: 11pt;"><br /></span></p>

Tue, 07 Oct 2014 19:17:18 +0000 Ana_Carla comment 26484 at //m.limpotrade.com
could you please send me yours //m.limpotrade.com/comment/24289#comment-24289

In reply to interfacing between matlab and ansys

Dear Martin,

could you please tell me how you do that because i have to do as well. my subject is dynamic of plate by using ANSYS AND MATLAB. could you please me some related information.

mezgeendosky@yahoo.com

Mon, 08 Apr 2013 20:58:14 +0000 Mezgeen78 comment 24289 at //m.limpotrade.com
hi, dr.m.attia if you //m.limpotrade.com/comment/24098#comment-24098 <一个id = "评论- 24098 " > < / > < p > < em >回复< href="//m.limpotrade.com/comment/12421#comment-12421">matlab ansys

hi, dr.m.attia

if you please send me an example for commands we wrote in matlab and ansys to make link between them

thank you

Mon, 18 Feb 2013 22:41:08 +0000 mmaaa comment 24098 at //m.limpotrade.com
hi, dr.onattacking many //m.limpotrade.com/comment/24097#comment-24097

In reply to Hi Dr.mmaaa,I once comed on

hi, dr.onattacking

many thanks for your reply, but forgive me I still confused , if please give me example or codes you have used to link ansys and matlab

thank you

Mon, 18 Feb 2013 22:25:25 +0000 mmaaa comment 24097 at //m.limpotrade.com
Hi Dr.mmaaa,I once comed on //m.limpotrade.com/comment/24094#comment-24094 <一个id = "评论- 24094 " > < / > < p > < em >回复< href="//m.limpotrade.com/comment/24092#comment-24092">dr.mmaaa hellow my

Hi Dr.mmaaa,
I once came to this problem you referred. And I have succeed to achieve the link between matlab and ansys software. I also deat with the optimization in piezoelectric smart structure vibration. I am very pleased to explain the method to you. The whole command line in matlab program is !"C:\Program Files\Ansys Inc\v90\ANSYS\bin\intel\ansys90.exe" -b -i E:\Folderbyuser\ansyscode.txt -o E:\Folderbyuser\fra.out, in which the firs part ( !"C:\Program Files\Ansys Inc\v90\ANSYS\bin\intel\ansys90.exe" ) is yoru ansys installation path in computer. And the second part(E:\Folderbyuser\ansyscode.txt ) means your save path of ansys code which you have already written ahead for calling for. As for the third part(E:\Folderbyuser\fra.out) equals to a realtime file from which you can look out any step of the ansys code running.
Hope that can hlep you. If you have any question, please contact me without any hesitation.

Mon, 18 Feb 2013 11:22:09 +0000 Qf543 comment 24094 at //m.limpotrade.com
dr.mmaaa hellow my //m.limpotrade.com/comment/24092#comment-24092

In reply to interfacing between matlab and ansys

dr.mmaaa

hellow my friends,

actually i have the same problem that i need to link ansys program to matlab so as to make make optimization on matlab from the results getten from ansys . what the exact command that can be wrtten in ansys and matlab to do this

please help me

thanks

Sun, 17 Feb 2013 16:21:24 +0000 mmaaa comment 24092 at //m.limpotrade.com
If you have finished the FEM //m.limpotrade.com/comment/24079#comment-24079

In reply to Vibration measurement of milling operation using ansys

If you have finished the FEM model of milling cutter in Ansys. At the postanalysis module, operate the modal analysis, and then you can find the natural frequncy in the result.

Tue, 12 Feb 2013 16:22:26 +0000 Qf543 comment 24079 at //m.limpotrade.com
Vibration measurement of milling operation using ansys //m.limpotrade.com/comment/24076#comment-24076

In reply to interfacing between matlab and ansys

i am doing research work in optimization of fixture layout. In this regard i need to calculte the exciting frequny of miilig cutter.How to calculate the exciting frequncy of milling cutter. In ansys how th calculate the amplitude for this frequncy. How can i solve this problem

M.Sabareeswaran

Tue, 12 Feb 2013 06:19:24 +0000 sabareesme comment 24076 at //m.limpotrade.com
FEM matlab //m.limpotrade.com/comment/15319#comment-15319

In reply to interfacing between matlab and ansys

Hello Dir

I need to codes matlab from FEM,Can you help me?

we are waiting your reply.

Best wishes

Wed, 18 Aug 2010 09:00:29 +0000 mila talebi 评论15319年https://imechanic万博manbetx平台a.org
Matlab- Ansys/LS-DAYNA Interface //m.limpotrade.com/comment/12891#comment-12891

In reply to interfacing between matlab and ansys

Dear Sirs,

Hi,

I have a similar problem with interfacing of Ansys/ LS-DAYNA and Matlab, in that I want to optimize my problem with the help of Matlab. Do you have any experience about this problem, or Is there any batch code to do that?

Wed, 25 Nov 2009 06:07:08 +0000 greatmj comment 12891 at //m.limpotrade.com
Hi vishnusworld I do this //m.limpotrade.com/comment/12559#comment-12559

In reply to interfacing between matlab and ansys

Hi vishnusworld

I do this in MATLAB or batch file to fire Ansys

system"C:\Program Files\YOUR ANSYS FOLDER" -b -i C:\YOUR WORKING FOLDER\FILE.lgw"

Your ANSYS "File.lgw" should contain all the info necessary to extract the required field variables and saves them to files, so basically matlab would come later to work on these.

Mohammad

Sun, 04 Oct 2009 15:39:08 +0000 m.attia comment 12559 at //m.limpotrade.com
Mohammed, thanks fr that. I //m.limpotrade.com/comment/12432#comment-12432

In reply to interfacing between matlab and ansys

Mohammed, thanks fr that. I have conceived the process exactly as u said. But the problem is I dont have an idea of how to make these two 'communicate'..means what command written in the 'master' MATLAB code will call ansys once the first set of input data is created...how it transfers back to MATLAB..In essence, I know what to do but not hw to do it..Any exapmles of your work will help, perhaps..

Tue, 15 Sep 2009 10:55:27 +0000 vishnusworld comment 12432 at //m.limpotrade.com
interface MatLab with ABAQUS //m.limpotrade.com/comment/12430#comment-12430

In reply to interfacing between matlab and ansys

Hello Martin,

Thanks for Information, I am also trying to interface MatLab with ABAQUS, hopefully I can use the code or procedure as applicable for ANSYS, Well I think your Masters thesis is quite important and usefull to carry out my further work with ABAQUS. If you dont have any problem, can you please mail me your thesis softcopy on my gmail id that is-

pgcadcam@gmail.com

Tue, 15 Sep 2009 04:20:22 +0000 cae_sachin comment 12430 at //m.limpotrade.com
matlab ansys //m.limpotrade.com/comment/12421#comment-12421

In reply to MATLAB Ansys interface

I do this interfacing every now and then, especially for optimization problems. I always use APDL for this type of problems and run ANSYS in batch mode. So, you basically have MATLAB masterminding the cycle, initiating the optimization problem, managing ANSYS. In turn, ANSYS export a certain set of output files to be read by MATLAB' optimization algorithm and a new set of input variables are then exported to ANSYS LGW file, and so forth ! Hope this helps.

Mon, 14 Sep 2009 14:43:50 +0000 m.attia comment 12421 at //m.limpotrade.com
MATLAB Ansys interface //m.limpotrade.com/comment/12420#comment-12420 <一个id = "评论- 12420 " > < / > < p > < em >回复< href="//m.limpotrade.com/node/3581">interfacing between matlab and ansys

Hi

Am working on an optimization problem which requires interfacing of Ansys and MATLAB. The optimization algorithm has to send input values to Ansys, get back results and process it. Can any1 please help me in doing this? Thanks in advance.

Mon, 14 Sep 2009 13:35:22 +0000 vishnusworld comment 12420 at //m.limpotrade.com
interfacing between matlab and ansys //m.limpotrade.com/comment/12160#comment-12160

In reply to interfacing between matlab and ansys

For further information take a look here!

Martin J. Gross
www.matfem.de

Fri, 07 Aug 2009 08:09:24 +0000 Martin J. Gross comment 12160 at //m.limpotrade.com
---dileep kumar //m.limpotrade.com/comment/11401#comment-11401

In reply to interfacing between matlab and ansys

---dileep kumar

Wed, 01 Jul 2009 08:55:30 +0000 dileepade comment 11401 at //m.limpotrade.com
Matlab FEM //m.limpotrade.com/comment/11160#comment-11160

In reply to Matlab code for composite plate analysis

Hello kiraniisc,

I read your blog about the fact that you are trying to figure out the FEM codes for ur Matlab problem. I am working right now on kind of the same problem with my professor. What exactely do you need to do with FEM? What is ur Matlab code doing? Is it plotting the plate? Does it calculate any results like displacement, strain or stress?

my email is bucuresticarmen at yahoo dot com

Tue, 09 Jun 2009 02:33:26 +0000 carina carmen comment 11160 at //m.limpotrade.com
Matlab code for composite plate analysis //m.limpotrade.com/comment/10864#comment-10864

In reply to interfacing between matlab and ansys

Hi Martin,

I have written matlab code for composite plate simply supported at all 4 edges, but the problem is I want to compare it with FEM codes for same problem, I doesnt have much knowledge abt the FEM coding . Can you help me regading this

Wed, 20 May 2009 10:07:01 +0000 kiraniisc comment 10864 at //m.limpotrade.com
M.Sabareeswaran //m.limpotrade.com/comment/8765#comment-8765

In reply to Hello sabareesme, To my

M.Sabareeswaran

Thu, 25 Sep 2008 04:40:01 +0000 sabareesme comment 8765 at //m.limpotrade.com
interfacing between matlab and ansys //m.limpotrade.com/comment/8407#comment-8407

In reply to interfacing between matlab and ansys

Hello Sabareesme,

I wrote my masters thesis in MATLAB and ANSYS. So, I steered my ANSYS FE-simulations with MATLAB. If you are interested in the thesis or if you have questions, please contact me.

ma DOT jo DOT gross AT googlemail DOT com

--

Regards

Martin J. Gross
www.matfem.de

Thu, 31 Jul 2008 10:55:31 +0000 Martin J. Gross comment 8407 at //m.limpotrade.com
Hello sabareesme, To my //m.limpotrade.com/comment/8396#comment-8396

In reply to interfacing between matlab and ansys

Hello sabareesme,

To my knowledge there is a book with the title "Vibration Simulation Using MATLAB and Ansys" from Michael R. Hatch. I am sure that the source codes for the interfacing is attached to the book.

Regards, Tarik

Tue, 29 Jul 2008 07:07:16 +0000 hadifi comment 8396 at //m.limpotrade.com