CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS

Matlab running cfd post

Register Blogs Members List Search Today's Posts Mark Forums Read

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 12:49
CFD Design...The CFD Future John C. Chien Main CFD Forum 20 November 20, 2015 00:40
Parallel process & CFD POST jypark FLUENT 2 August 15, 2013 00:49
Poly lines in CFD Post ashtonJ CFX 0 December 2, 2010 03: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 13, 1999 00:27

All times are GMT -4. The time now is 18:20.