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

Automating multiple simulations with different boundary conditions

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2019, 11:07
Default Automating multiple simulations with different boundary conditions
  #1
New Member
 
Tom Rich
Join Date: Feb 2019
Posts: 4
Rep Power: 7
Perigee is on a distinguished road
I am trying to set my computer to run several simulations at different mach numbers and somehow save the lift generated by a grid for each case, it seems that you'd do this through the text interface but i dont know how to go about saving it or creating a loop. Any guidance or links to learning material to do with this would be appreciated
Perigee is offline   Reply With Quote

Old   March 11, 2019, 21:27
Default
  #2
Senior Member
 
Alexander
Join Date: Apr 2013
Posts: 2,363
Rep Power: 34
AlexanderZ will become famous soon enoughAlexanderZ will become famous soon enough
you may use journal to do this

make a loop to load your cases (or 1 case several times, up to you),
using TUI commands:
set boundary conditions,
run simulation,
save data,
repeat

for instance, this code will load case1 case2 and case3 one by one
Code:
	(do ((i 1 (+ i 1)))((> i 3))
		(ti-menu-load-string (format #f "file read-case \"case~a.cas\" OK \n" i))
)
or load my_case 3 times
Code:
(do ((i 1 (+ i 1)))((> i 3))
		(ti-menu-load-string (format #f "file read-case \"my_case.cas\" OK \n" ))
)
add there other TUI commands

best regards
AlexanderZ is offline   Reply With Quote

Old   March 12, 2019, 13:53
Default
  #3
New Member
 
Tom Rich
Join Date: Feb 2019
Posts: 4
Rep Power: 7
Perigee is on a distinguished road
Thankyou i'll give this a go
Perigee is offline   Reply With Quote

Reply

Tags
automated, multiple simulations

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
Error - Solar absorber - Solar Thermal Radiation MichaelK CFX 12 September 1, 2016 06:15
Problem with SIMPLEC-like finite volume channel flow boundary conditions ghobold Main CFD Forum 3 June 15, 2015 12:14
Waterwheel shaped turbine inside a pipe simulation problem mshahed91 CFX 3 January 10, 2015 12:19
Difficulty In Setting Boundary Conditions Moinul Haque CFX 4 November 25, 2014 18:30
Radiation interface hinca CFX 15 January 26, 2014 18:11


All times are GMT -4. The time now is 07:48.