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

Automating ANSYS CFX

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2016, 19:26
Question Automating ANSYS CFX
  #1
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16
ashtonJ is on a distinguished road
Dear all,

I need to simulate blood flow in 50 artery models.

I would like to know if there is any method to automate the whole simulation process from meshing to setup in CFX. In other words, automated ANSYS file reads the geometry, mesh it using specified settings, then ask the user for inlet and outlet boundary condition and finally start the simulation process.

Thanks
AshtonJ
ashtonJ is offline   Reply With Quote

Old   June 1, 2016, 20:01
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,700
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes. You can do it in the workbench environment or you can do it using command line tools and script/session files.
ghorrocks is offline   Reply With Quote

Old   June 1, 2016, 20:04
Default
  #3
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16
ashtonJ is on a distinguished road
Thanks Glenn.
Do you know where I can find a tutorial for either of the methods you mentioned. I have no clue where I should start from
ashtonJ is offline   Reply With Quote

Old   June 2, 2016, 01:14
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
Here's how I would do it:

If you use ICEM you can script the meshing using replay files (not sure how to do it using workbench mesher)
CFX pre can be scripted using session files
CFX solve can be run from a script, and here you can append a .ccl file with your desired values for boundary conditions.
CFD-post can be scripted using state/session files

...and then a script for you scripts.

Make a simplified model where you test your scripts to make sure that everything runs as expected.
Lance is offline   Reply With Quote

Old   June 2, 2016, 04:08
Default
  #5
Senior Member
 
Ashkan Javadzadegan
Join Date: Sep 2010
Posts: 255
Rep Power: 16
ashtonJ is on a distinguished road
Thanks Lance.
Let me give you an example of what I am after:

Let's assume that I have three patient-specific artery models named as Patient1.igs, Patient2.igs and Patient3.igs.

I want to mesh the patient1.igs first and then create a script file that meshes the patient 2.igs and patient3.igs automatically and with the same meshing topology. Is this doable with ICEM CFD script?

Are you aware of any other methods that can do this.
ashtonJ is offline   Reply With Quote

Old   June 2, 2016, 04:15
Default
  #6
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
If you need the same mesh topology for all your geometries you would have to use ICEM Hexa and reuse the blocking on each model. That will not be easy to automate as there needs be user interaction in order to get the blocks to fit to each geometry.

If you are ok tetra mesh then it would be a bit easier, just make sure that you record all your steps (file/replay scripts/replay control).
Lance is offline   Reply With Quote

Reply

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
Compressible Flow in Ansys CFX bcheruk CFX 15 July 6, 2017 06:30
ICEM of ANSYS V15: how to export .msh mesh for CFX hydroaero ANSYS 1 March 9, 2015 22:17
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
"ANSYS CFX" and "CFX TascFlow" ROOZBEH CFX 2 December 13, 2005 01:37
CFX bought by Ansys - good or bad?! Pete CFX 38 February 21, 2003 07:34


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