Main CfdTm Forum Saturne Aster ATAAC TWikiEditRaw editAttachPrint version

TWiki> Main Web>TWikiUsers>NeilAshton>DDES (2012-08-05, AshrafHussein)

TWiki> Main Web>TWikiUsers>NeilAshton>DDES (2012-08-05, AshrafHussein)

This page contains the equations necessary for the implementation of the SST - DDES model into Code Saturne v2.0.1.

See Spalart, P.R. et al. A New Version of Detached-eddy Simulation, Resistant to Ambiguous Grid Densities. Theoretical and Computational Fluid Dynamics 20, 181-195(2006).

Destruction term in the equation

(1) |

Where the function is:

(2) |

(3) |

The length scales for the SST model are:

(4) |

Where, , and is the distance to the wall

- include and define the index, IDDES, which turns off the change in K transport equation if it is equals to zero and enables it when it is one.
- include and define .

- Extra memory is required for the storage of the wall distance and . The call headers need to be changed to include extra working arrays, W10 and W11. This is done for the SST-SAS model already.

- W10 and W11 defined as double precision.

The DDES model will run using an index argument, where if IDDES.EQ.1 then the DDES modification will be used and if IDDES.EQ.0 then the standard SST will be run.

- Working array W10 is

- Working array W11 is

- include IF statement for ISAS and IDDES as they both use W10 and W11

**Source terms**

- Calculate .

- Calculate

- Calculate

- Calculate

- Add an if statement to the equation, where if IDDES.Eq.1 then the becomes

- Change memkom call to include extra working arrays W10 and W11

- Change call to turbkw, to include extra working arrays W10 and W11

- Add extra working arrays, IW10, IW11

- Change definitions, integers for IW10, IW11

- Change memory pointers to include new working arrays

- set default value, IDDES= 0

- include incddes.h

- include default values for

- IDDES = 0
- = 0.65
- include incddes.h

- include incddes.h
- Include printout for IDDES
- include printout for

- include incddes.h
- include an IF statement to check that SAS and DDES cannot run at the same time.

I | Attachment | Action | Size | Date | Who | Comment |
---|---|---|---|---|---|---|

jpg | cddes_sst_etc.jpg | manage | 133.4 K | 2011-06-19 - 21:59 | NeilAshton | |

cddes_sst_etc.pdf | manage | 151.2 K | 2011-06-19 - 21:58 | NeilAshton | cddes calibration - sst ddes |

Topic revision: r12 - 2012-08-05 - 14:42:53 - AshrafHussein

Code_Saturne

KNOO

FLOMANIA

Photo Wall

Upcoming Events

Add Event

Copyright © by the contributing authors. Unless noted otherwise, all material on this web site is the property of the contributing authors.