Fvc H
From OpenFOAMWiki
Chapter 1. The files fvc.h includes
This file brings into the code a host of tools for finding explicit derivatives. This file reads the following
#include "fv.H" #include "surfaceInterpolate.H" #include "fvcVolumeIntegrate.H" #include "fvcSurfaceIntegrate.H" #include "fvcAverage.H" #include "fvcReconstruct.H" #include "fvcDdt.H" #include "fvcDDt.H" #include "fvcD2dt2.H" #include "fvcDiv.H" #include "fvcFlux.H" #include "fvcGrad.H" #include "fvcMagSqrGradGrad.H" #include "fvcSnGrad.H" #include "fvcCurl.H" #include "fvcLaplacian.H" #include "fvcSup.H" #include "fvcMeshPhi.H"
As shown above file includes a bunch of tool providing other files. The following table specifies which tools are specified by which file.
| Operation | Description | File Providing Tool |
| Interpolation | Interpolate cell values to the face | surfaceInterpolate.H |
| Integration | Volume integrate a (volume) field | fvcVolumeIntegrate.H |
| Surface integrate a (surface) field | fvcSurfaceIntegrate.H | |
| Averaging | Area weighted average over a surface | fvcAverage.H |
| Reconstruction | Reconstruction of the volume field from the fluxes available at the surface | fvcReconstruct.H |
| Derivatives | Partial derivative with respect to time;
|
fvcDdt.H |
Substantiative (total) derivative;
|
fvcDDt.H | |
Divergence of a field;
|
fvcDiv.H | |
| Face flux from a given field | fvcFlux.H | |
Gradient of the given field;
|
fvcGrad.H | |
Magnitude square of gradient of the given field;
|
fvcMagSqrGradGrad.H | |
Face normal Gradient of the given field
|
fvcSnGrad.H | |
Curl of given vector field;
|
fvcCurl.H | |
Laplacian of the field;
|
fvcLaplacian.H | |
| Explicit calculation of field for sources Somebody help me here ;) | fvcSup.H | |
| Calculates mesh motion flux | fvcMeshPhi.H |
Note: fv.H simply defines the fv namespace.