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

setting up multiple models in CFX

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 9, 2010, 08:39
Default setting up multiple models in CFX
  #1
New Member
 
Join Date: Dec 2010
Posts: 2
Rep Power: 0
NGlo is on a distinguished road
Hi all

I'm new to CFX and have a question I hope someone can help me with.

I'd like to set up and solve 100 versions of the same base model only changing the values of 5 of the input parameters for each run.
I don't want to do this manually (i.e. setting up 100 .def files). I know ccl files can be used to easily adapt .def files but would this require me to create 100 ccl files, one for each run? I realise this wouldn't take too long but as it's something I will be doing on a regular basis I'd like to know if there is a simpler way of doing this.

Has anyone had experience of this? Any advice would be greatly appreciated.

Thank you in advance.
NGlo is offline   Reply With Quote

Old   December 9, 2010, 09:59
Default
  #2
siw
Senior Member
 
Stuart
Join Date: Jul 2009
Location: Portsmouth, England
Posts: 733
Rep Power: 25
siw will become famous soon enough
Would the Parameter/Design Point feature in Workbench be able to change your inputs without having to make lots of files?

I think it depends what you want to change: numerical input values (velocity, temperature etc) it should be okay but it wont change CFX settings (as far as I can see). If so you'd have to run CFX in Workbench rather than standalone. I've not tried this myself, only taken a quick look through the Workbench User's Guide.
siw is offline   Reply With Quote

Old   December 9, 2010, 15:08
Default
  #3
Senior Member
 
Join Date: Mar 2009
Location: Europe
Posts: 169
Rep Power: 17
joey2007 is on a distinguished road
siw is right. It can be done with workbench quite simple and without GUI. Just start CFX-Pre with wb and setup your case. If you like to do it for an inlet temperature for example, just set a CEL expression. You can choose an arbitrary name for the CEL expression. Assuming you have chosen Tinlet. Then goto the boundary condition and use Tinlet there for temperature. Go back to expressions and right click on Tinlet. You will get the option set Input parameter. If you use the option, wb will generate a parameter table on the project page. There you can duplicate design points and control the simulations. Before varying your parameters you have to define an output parameter in CFX post in a similar manner. Once you have learned the procedure, it is quite convient. You can parametrizen anything which is controlable by CEL. IMHO this feature is really a strength of ANSYS.


From the CFX pre-ANSYS times there is also some PERL interface remaining. It can also be used to script such things. Guess the service can provide you some example scripts.
joey2007 is offline   Reply With Quote

Old   December 9, 2010, 16:53
Default
  #4
Senior Member
 
Edmund Singer P.E.
Join Date: Aug 2010
Location: Minneapolis, MN
Posts: 511
Rep Power: 20
singer1812 is on a distinguished road
If you run outside of WB you can do this with CEL. If your job is SS, set up expression based on step and citern or aitern. Check those out in the docs.
singer1812 is offline   Reply With Quote

Old   December 14, 2010, 08:49
Default
  #5
New Member
 
Join Date: Dec 2010
Posts: 2
Rep Power: 0
NGlo is on a distinguished road
Thanks for all the advice. I tried both the work bench method using the design points and writing a script. Both methods worked very well and will save me alot of time in the future.

Thanks again.
NGlo 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
Multi-phase models in CFX Sara Correia CFX 4 February 15, 2018 10:23
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 06:27
CFX: multiple domain error Xueguan Song CFX 1 July 1, 2008 23:01
2D models in CFX Igor M. CFX 4 November 25, 2007 09:10
Fluent Vs CFX, density and pressure Omer CFX 9 June 28, 2007 04:13


All times are GMT -4. The time now is 09:19.