
[Sponsors] 
Comparison between RANS and LES for fluidic oscillator 

LinkBack  Thread Tools  Search this Thread  Display Modes 
July 15, 2016, 07:27 
calculation of time for CFD simulation

#1 
Senior Member
raunak jung pandey
Join Date: Jun 2016
Posts: 102
Rep Power: 9 
I am learning to use CFD using Ansys CFX. I know that The length of time required to complete a CFD simulation depends on the length of the simulation, the number of grid cells (assuming that you are doing a numerical simulation) and the timestep of calculations. The numerical integration scheme, the implementation of the software and the details of the hardware also make a difference.
But is there is any way to calculate total time required to complete a simulation? Thank You 

July 15, 2016, 08:01 

#2 
Senior Member
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25 
The answer to your question is generally no. But there are some instances where you can perhaps generate some estimates.
For steadystate solutions (pressure and density based), you generally have no idea how many iterations/pseudotimesteps it will take to reach your convergence tolerance. You cannot reliably generate estimates based on rates of convergence, because initial residuals tend to drop quickly and then stall later. Some simple flow cases may seem to be predictable, but for any complicated flow at all, this won't be the case in my experience. The only way you can really find out is to run the job and see. But, if you are running similar geometries with similar operating conditions on a similar computer, your time for your new jobs will likely be close to those of your initial job. Generally, you cannot think that doubling the number of cells will double your solution time...it may well MORE than double solution time. Just like doubling the number of CPU cores you use will half the solution time. This is true for all steadystate approaches, AFAIK. For transient simulations, the situation is a little betterat least if you are using fixed timesteps and fixed spatial grids. If you start your solution and you time the execution of some relevant interval of timesteps. If your simulations contains some significant temporally varying phenomena (vortex shedding, bubble bursting, flame oscillation, etc), your timing interval should contain at least one of those phenomena. Then, you can likely use that estimate how long the rest of the simulation time will take. It should be reasonably accurate as long as no huge flow changes occur later in the simulation. For simulations like, say, simulation of internal combustion engines, that moving flame front will make the compute time very unpredictable (in my experience anyway). This will also be the case with adaptive time stepping or adaptive meshing schemes (though you often use adaptive time stepping/meshing is these problems anyway). There is a small class of CFD solvers that do have fairly predicable runtimes. These are explicit time integration scheme...usually density based. Again, without adaptive time stepping and fixed resolution grids, these solvers have (more or less) a fixed amount of work they do per timestep. In this case, you can average the time required for just a few timesteps and scale that up to the full solution time. Finally, some CFD solvers offer a time estimate for when the solution will complete. These are generally inaccurate (often laughably so!). This is for all of the reasons above. But they tend to average over the whole of the simulation time processed, so they generally get more accurate, the longer the simulation goes, so they can offer some indication. I just hesitate to call any of these "predictive" except maybe for the explicit CFD solvers with fixed timesteps and grids. 

July 15, 2016, 11:33 

#3 
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,793
Rep Power: 71 
Just to say that for laminar steady flow problems, the timedependent alghoritm has a characteristic steady time of the order of the Reynolds number. More complex is the case of fully unsteady flows where often one runs the code for many time units to accumulate several fields.


July 19, 2016, 04:41 
Comparison between RANS and LES for fluidic oscillator

#4 
Senior Member
raunak jung pandey
Join Date: Jun 2016
Posts: 102
Rep Power: 9 
I want to do a comparative study of flow field in fluidic oscillator using both RANS and LES. My computaitonal domain in 10 * 4 * 2.5 cm across. I am working with flow range between 25 m/s to 100 m/s or (0.075 m2/s to 0.3 m2/s) which falls in the Reynolds number range between 1000060000.
I have done URANS simulation using CFX and moving into LES simulations. What are the meshing rules for LES ? What considerations I have to make for such calculation? How to get rough estimation of computational time required between a URANS simulation and LES simulation using CFX ? Hardware I am using is intel i7 @3.40 GHZ with 32 GB RAM. Thank You 

July 19, 2016, 05:02 

#5  
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,793
Rep Power: 71 
Quote:
The two formulations are very different, therefore you have to consider that LES requires a very fine grid for inhomogeneous flow directions (e.g. walls where you need 34 nodes within y+<=1). You have also to consider that after the LES solutions reached a fully developped flow condition (that is after the numerical transient has ended) you need further computation time to cumulate several fields in time for computing the statistics. 

July 19, 2016, 05:27 
Meshing requirements for LES

#6 
Senior Member
raunak jung pandey
Join Date: Jun 2016
Posts: 102
Rep Power: 9 
I am using Ansys CFX for LES simulations of internal flow field of fluidic oscillator. I am working with velocity range 25m/s to 100 m/s i.e reynolds no. 10000 to 60000. My computational domain is 25 cm* 15 cm * 25 mm. What would be the meshing requirements for LES simulation ? what are the considerations for LES simulations
Thank you 

July 19, 2016, 10:55 

#7 
Member
Join Date: Jun 2016
Posts: 66
Rep Power: 11 
In general, you need to have such a mesh that is able to capture the large scale eddies while only small eddies need to be modeled. The larger Re, the smaller mesh size is required. The rule is that the mesh size should be in the inertial range of turbulence. There are some formulas that allow you to approximate the turbulence length scales based on turbulence quantities. These give you an idea about the order of the turbulence length scales (representative value). What you should do is to test how your results change when you change the mesh size  although this has two catches. One is that LES simulations are computationally expensive and so it is a pain to run several test cases. The second catch is that as you decrease the mesh size, more and more eddies should be resolved and less modeled. So one cannot talk about gridindependency like in case of the RANS simulations.
A separate chapter is how to resolve the boundary layer. The turbulence length scales near the walls are extremely small and that's why you need to refine your mesh here. That is usually unfeasible. There are methods that can alleviate this issue, such as WMLES or DES. I personally use LES only for cases where I am not interested in boundary layer else it would become too expensive. LES modeling is an extensive topic. If you want to know more, you should seek for a dedicated literature. 

Tags 
cfx, les, meshing 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
Model Switch, RANS to LES?  jennap223  STARCCM+  0  July 7, 2015 11:30 
Transition RANS to LES during simulation  LorenzN  OpenFOAM Running, Solving & CFD  4  November 17, 2011 10:47 
RANS to LES: Flame dissapears??  LB  Main CFD Forum  4  September 6, 2007 18:53 
Mapping RANS data onto an LES  christian  OpenFOAM Running, Solving & CFD  0  April 13, 2007 05:31 
RANS results for LES  Li Yang  Main CFD Forum  5  June 17, 2002 05:34 