CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS

Matlab running cfd post

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 28, 2022, 03:22
Default Matlab running cfd post
  #1
New Member
 
Join Date: Jun 2022
Posts: 1
Rep Power: 0
QinJianqing2022 is on a distinguished road
Hi,

I'm using matlab to run ansys cfd post.

I used A variable F="CFX_001.res".

when I put the command:

!"C:\Program Files\ANSYS_18\v180\CFD-Post\bin\cfx5post" -line F

it shows error message:

-- ERROR -- File 'F' does not exist or is not readable.
when I using the following command:
!"C:\Program Files\ANSYS_18\v180\CFD-Post\bin\cfx5post" -line "CFX_001.res"

it works well.

Since I have several results file as CFX_002.res, CFX_003.res, CFX_004.res. I need using a variable to represent these files by using loop command. I also tried using $F in the command. but it does not work. How can I resolve the issue?
QinJianqing2022 is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Post-processing star ccm+ results in Ansys CFD Post sidharath STAR-CCM+ 4 April 10, 2017 11:49
CFD Design...The CFD Future John C. Chien Main CFD Forum 20 November 19, 2015 23:40
Parallel process & CFD POST jypark FLUENT 2 August 14, 2013 23:49
Poly lines in CFD Post ashtonJ CFX 0 December 2, 2010 02:46
Which is better to develop in-house CFD code or to buy a available CFD package. Tareq Al-shaalan Main CFD Forum 10 June 12, 1999 23:27


All times are GMT -4. The time now is 23:40.