My Project
programmer's documentation
Functions
cs_lagr_gradients.h File Reference
#include "cs_defs.h"
Include dependency graph for cs_lagr_gradients.h:

Go to the source code of this file.

Functions

void cs_lagr_gradients (int time_id, cs_real_3_t *gradpr, cs_real_33_t *gradvf)
 Compute gradients. More...
 

Function Documentation

◆ cs_lagr_gradients()

void cs_lagr_gradients ( int  time_id,
cs_real_3_t grad_pr,
cs_real_33_t grad_vel 
)

Compute gradients.

  • pressure gradient / rho
  • velocity gradient
Parameters
[in]time_id0: current time, 1: previous
[out]gradprpressure gradient
[out]gradvfvelocity gradient
  • gradient of total pressure
  • velocity gradient
Parameters
[in]time_id0: current time, 1: previous
[out]grad_prpressure gradient
[out]grad_velvelocity gradient