NasCar
Loading...
Searching...
No Matches
Macros | Functions
CoefAero.c File Reference

Compute the aerodynamic (or hydrodynamic) forces and torques exetred by the fluid on the bodies. More...

#include "petscdmda.h"
#include "petscksp.h"
#include "petscpc.h"
#include "struct.h"
#include "LevelSet.h"
#include "CoefAero.h"
#include "Lins.h"
#include "Vectors.h"
#include "Transport.h"
Include dependency graph for CoefAero.c:

Macros

#define __FUNCT__   "Forces_Volume"
 
#define __FUNCT__   "Power_Volume"
 
#define __FUNCT__   "Forces_Surface"
 

Functions

PetscErrorCode Forces_Volume (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr, Obs *obs)
 
PetscErrorCode Power_Volume (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr, Obs *obs)
 
PetscErrorCode Forces_Surface (Simu simu, Grid grid, Proc proc, Fields vec, Arrays arr, Obs *obs)
 

Detailed Description

Compute the aerodynamic (or hydrodynamic) forces and torques exetred by the fluid on the bodies.

Also, compute the power (useful, useless) and efficiency

Version
0.0
Author
Michel Bergmann
Date
2023-03-03

Function Documentation

◆ Forces_Surface()

PetscErrorCode Forces_Surface ( Simu  simu,
Grid  grid,
Proc  proc,
Fields  vec,
Arrays  arr,
Obs obs 
)

Force and torques computation from a classical surfacic approach (integratin of the stress tensor on boundariries)

!!!!!!

◆ Forces_Volume()

PetscErrorCode Forces_Volume ( Simu  simu,
Grid  grid,
Proc  proc,
Fields  vec,
Arrays  arr,
Obs obs 
)

Force and torques computation from a volumic approach

◆ Power_Volume()

PetscErrorCode Power_Volume ( Simu  simu,
Grid  grid,
Proc  proc,
Fields  vec,
Arrays  arr,
Obs obs 
)

Power computation from a volumic approach