CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

How to speed up the simulation of a large amount of similar steady state cases

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 3, 2010, 13:33
Default How to speed up the simulation of a large amount of similar steady state cases
  #1
tss
New Member
 
PA
Join Date: Jan 2010
Posts: 6
Rep Power: 16
tss is on a distinguished road
Hi,

I need to simulate many (5000+) similar steady state cases with almost exact the same geometry/boundary conditions/meshing. The only thing different among these cases is the inlet and outlet velocity. Is it possible to speed up the simulation?

Thanks.

In our tests, even the slightest speed change (e.g., change from 0.6m/s to 0.7m/s) will result very different solutions so it is not possible to use one case's result as the initial iteration values of other cases.

To my understanding, CFD will turn every case into a large linear system (Ax=b) using finite volume method and use CG method to solve the x. Will these cases have the same (or similar) A so I can solve A^-1 for one time and use it for the 5000+ cases?
tss is offline   Reply With Quote

Old   November 5, 2010, 02:35
Default
  #2
tss
New Member
 
PA
Join Date: Jan 2010
Posts: 6
Rep Power: 16
tss is on a distinguished road
anyone has an idea?
tss is offline   Reply With Quote

Old   November 5, 2010, 03:35
Default
  #3
Member
 
Michiel
Join Date: Jul 2009
Location: The Netherlands
Posts: 42
Rep Power: 17
Michiel is on a distinguished road
Can you write some scripts?

I am familiar with a project working with scripts to run steady state pump analysis using ansys cfx. One case is used to set up the problem. After that a script is used to generate all the solver input files with different mass flow rates. The script also takes care of solving all the files. The scripts cannot change the mesh..

This sounds like an suitable approach for you when you are talking about changing inlet and outlet velocities.
Michiel is offline   Reply With Quote

Old   November 5, 2010, 04:23
Default
  #4
tss
New Member
 
PA
Join Date: Jan 2010
Posts: 6
Rep Power: 16
tss is on a distinguished road
Quote:
Originally Posted by Michiel View Post
Can you write some scripts?

I am familiar with a project working with scripts to run steady state pump analysis using ansys cfx. One case is used to set up the problem. After that a script is used to generate all the solver input files with different mass flow rates. The script also takes care of solving all the files. The scripts cannot change the mesh..

This sounds like an suitable approach for you when you are talking about changing inlet and outlet velocities.

Hi, Thanks for the reply.

However, this is not what I want. automation is not a problem here --- What I really need is "Speed Up" the simulation as the title mentioned since 5000+ simulations will take forever. My question is, if the cases are pretty similar, what are the similarities underneath the CFD simulation engine (at an algorithm level) so I can utilize some results instead of calculating them over and over.

To be precise, when we apply the Finite Volume Method and turn the cases into linear equations, are there similarities among the matrixes?
tss is offline   Reply With Quote

Old   November 5, 2010, 15:36
Default
  #5
New Member
 
Join Date: Jun 2010
Posts: 16
Rep Power: 16
bjohn is on a distinguished road
If the discretized equaiton is linear in the discrete solution,
then the matrix A in Ax=b depends only on the geometry of the mesh.
If the mesh is identical for each case, you can invert A just once, and
re-use it for all cases. Each problem now becomes just a matrix-vector
multiplication.

If the discretized equation is non-linear (non-linear governing equations or
non-linear schemes for linear governing equations), then the above procedure is
not applicable.

bjohn
bjohn 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
Calculation of the Governing Equations Mihail CFX 7 September 7, 2014 07:27
Can I use Large Eddy Simulation like steady? kdrbrk FLUENT 2 June 7, 2010 18:08
Rigid Body State Variables in Solid Immersed Simulation Hamidreza CFX 1 October 19, 2009 07:14
Steady State 2 phase problem fivos FLUENT 0 April 27, 2009 17:34
About the difference between steady and unsteady problems Lisa Main CFD Forum 11 July 5, 2000 15:37


All times are GMT -4. The time now is 14:52.