Difference between revisions of "Fvc H"
From OpenFOAMWiki
(Details of file fvc.H) |
(→Chapter 1. The files fvc.h includes) |
||
Line 23: | Line 23: | ||
</cpp> | </cpp> | ||
− | As shown above file includes a bunch of tool providing other files. | + | As shown above file includes a bunch of tool providing other files. The following table specifies which tools are specified by which file. |
− | ; | + | {| border="1" cellpadding="5" cellspacing="0" align="center" |
− | + | |+'''Tools fvc.H brings''' | |
+ | |- | ||
+ | |style="background:#bfcfcf;"| '''Operation''' | ||
+ | |style="background:#bfcfcf;"| '''Description''' | ||
+ | |style="background:#bfcfcf;"| '''File Providing Tool''' | ||
+ | |- | ||
+ | |style="background:#cfcfbf;"|Interpolation | ||
+ | |Interpolate cell values to the face | ||
+ | |[[surfaceInterpolate.H]] | ||
+ | |- | ||
+ | |rowspan="2" style="background:#cfcfbf;"|Integration | ||
+ | |Volume integrate a (volume) field | ||
+ | |[[fvcVolumeIntegrate.H]] | ||
+ | |- | ||
+ | |Surface integrate a (surface) field | ||
+ | |[[fvcSurfaceIntegrate.H]] | ||
+ | |- | ||
+ | |style="background:#cfcfbf;"|Averaging | ||
+ | |Area weighted average over a surface | ||
+ | |[[fvcAverage.H]] | ||
+ | |- | ||
+ | |style="background:#cfcfbf;"|Reconstruction | ||
+ | |Reconstruction of the volume field from the fluxes available at the surface | ||
+ | |[[fvcReconstruct.H]] | ||
+ | |- | ||
+ | |rowspan=6 style="background:#cfcfbf;"|Derivatives | ||
+ | |Partial derivative with respect to time; <math>\frac{\partial}{\partial t}</math> | ||
+ | |[[fvcDdt.H]] | ||
+ | |- | ||
+ | |Substantiative (total) derivative; <math>\frac{D}{D t}</math> | ||
+ | |[[fvcDDt.H]] | ||
+ | |- | ||
+ | |Divergence of a field; <math>\nabla\cdot</math> | ||
+ | |[[fvcDiv.H]] | ||
+ | |} | ||
+ | |||
+ | |||
+ | Note: fv.H simply defines the fv namespace. |
Revision as of 07:21, 21 July 2007
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 |
Note: fv.H simply defines the fv namespace.