8.0
general documentation
cs_les_balance.h File Reference
#include "cs_base.h"
#include "cs_defs.h"
+ Include dependency graph for cs_les_balance.h:

Go to the source code of this file.

Data Structures

struct  cs_les_balance_rij_t
 Reynolds tensor (Rij) LES balance descriptor. More...
 
struct  cs_les_balance_tui_t
 Turbulent thermal flux vector (Tui) LES balance descriptor. More...
 
struct  cs_les_balance_t
 LES balance general options descriptor. More...
 

Macros

#define CS_LES_BALANCE_RIJ   (1 << 0)
 
#define CS_LES_BALANCE_RIJ_BASE   (1 << 1)
 
#define CS_LES_BALANCE_RIJ_FULL   (1 << 2)
 
#define CS_LES_BALANCE_TUI   (1 << 3)
 
#define CS_LES_BALANCE_TUI_BASE   (1 << 4)
 
#define CS_LES_BALANCE_TUI_FULL   (1 << 5)
 

Functions

void cs_les_balance_create_fields (void)
 
cs_les_balance_tcs_get_glob_les_balance (void)
 Provide access to cs_glob_les_balance. More...
 
void cs_les_balance_create (void)
 Create a LES balance descriptor. More...
 
void cs_les_balance_update_gradients (void)
 Update gradients needed in LES balance. More...
 
void cs_les_balance_compute_rij (void)
 Compute Rij LES balance. More...
 
void cs_les_balance_compute_tui (void)
 Compute Tui LES balance. More...
 
void cs_les_balance_write_restart (void)
 Write the LES balance structure in the LES balance restart file. More...
 
void cs_les_balance_finalize (void)
 Destroy the LES balance structure. More...
 
void cs_les_balance_activate (int type_flag, int frequency_n)
 Active the LES balance module. More...
 
void cs_les_balance_compute (void)
 Compute the LES balance for Tui or Rij. More...
 

Variables

cs_les_balance_tcs_glob_les_balance
 

Macro Definition Documentation

◆ CS_LES_BALANCE_RIJ

#define CS_LES_BALANCE_RIJ   (1 << 0)

Active LES Rij balance

◆ CS_LES_BALANCE_RIJ_BASE

#define CS_LES_BALANCE_RIJ_BASE   (1 << 1)

basic LES Rij balance

◆ CS_LES_BALANCE_RIJ_FULL

#define CS_LES_BALANCE_RIJ_FULL   (1 << 2)

full LES Rij balance

◆ CS_LES_BALANCE_TUI

#define CS_LES_BALANCE_TUI   (1 << 3)

Active LES Tui balance

◆ CS_LES_BALANCE_TUI_BASE

#define CS_LES_BALANCE_TUI_BASE   (1 << 4)

basic LES Tui balance

◆ CS_LES_BALANCE_TUI_FULL

#define CS_LES_BALANCE_TUI_FULL   (1 << 5)

full LES Tui balance

Function Documentation

◆ cs_get_glob_les_balance()

cs_les_balance_t* cs_get_glob_les_balance ( void  )

Provide access to cs_glob_les_balance.

Returns
pointer to LES balance global structure

◆ cs_les_balance_activate()

void cs_les_balance_activate ( int  type_flag,
int  frequency_n 
)

Active the LES balance module.

Parameters
[in]type_flagmask of LES balance type
[in]frequency_nbalance computing frequency in time-steps

◆ cs_les_balance_compute()

void cs_les_balance_compute ( void  )

Compute the LES balance for Tui or Rij.

◆ cs_les_balance_compute_rij()

void cs_les_balance_compute_rij ( void  )

Compute Rij LES balance.

◆ cs_les_balance_compute_tui()

void cs_les_balance_compute_tui ( void  )

Compute Tui LES balance.

◆ cs_les_balance_create()

void cs_les_balance_create ( void  )

Create a LES balance descriptor.

◆ cs_les_balance_create_fields()

void cs_les_balance_create_fields ( void  )

◆ cs_les_balance_finalize()

void cs_les_balance_finalize ( void  )

Destroy the LES balance structure.

◆ cs_les_balance_update_gradients()

void cs_les_balance_update_gradients ( void  )

Update gradients needed in LES balance.

◆ cs_les_balance_write_restart()

void cs_les_balance_write_restart ( void  )

Write the LES balance structure in the LES balance restart file.

Variable Documentation

◆ cs_glob_les_balance

cs_les_balance_t* cs_glob_les_balance
extern