Difference between revisions of "Fvc H"
From OpenFOAMWiki
(→Chapter 1. The files fvc.h includes) |
(→Chapter 1. The files fvc.h includes) |
||
Line 50: | Line 50: | ||
|[[fvcReconstruct.H]] | |[[fvcReconstruct.H]] | ||
|- | |- | ||
− | |rowspan= | + | |rowspan=11 style="background:#cfcfbf;"|Derivatives |
|Partial derivative with respect to time; <math>\frac{\partial}{\partial t}</math> | |Partial derivative with respect to time; <math>\frac{\partial}{\partial t}</math> | ||
|[[fvcDdt.H]] | |[[fvcDdt.H]] | ||
Line 59: | Line 59: | ||
|Divergence of a field; <math>\nabla\cdot</math> | |Divergence of a field; <math>\nabla\cdot</math> | ||
|[[fvcDiv.H]] | |[[fvcDiv.H]] | ||
+ | |- | ||
+ | |Face flux from a given field | ||
+ | |[[fvcFlux.H]] | ||
+ | |- | ||
+ | |Gradient of the given field; <math>\nabla</math> | ||
+ | |[[fvcGrad.H]] | ||
+ | |- | ||
+ | |Magnitude square of gradient of the given field; <math>\left|\nabla\right|^2</math> | ||
+ | |[[fvcMagSqrGradGrad.H]] | ||
+ | |- | ||
+ | |Face normal Gradient of the given field <math>\hat n \cdot \nabla</math> | ||
+ | |[[fvcSnGrad.H]] | ||
+ | |- | ||
+ | |Curl of given vector field; <math>\nabla\times</math> | ||
+ | |[[fvcCurl.H]] | ||
+ | |- | ||
+ | |Laplacian of the field; <math>\nabla ^2 </math> | ||
+ | |[[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. | Note: fv.H simply defines the fv namespace. |
Latest revision as of 09:09, 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 | |
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.