CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   Questions from a beginner (

shuo September 10, 2006 22:50

Hi guys I can't find the sour
Hi guys
I can't find the source codes for the fvschemes and fv solution dictionaries. Also when the codes has something like:

( fvm::ddt(rho)
+ fvm::div(phiv, rho)

Is this a class, function declaration or an object? Can I access the codes for them?


hartinger September 11, 2006 07:58

Hi Shuo, first you can have
Hi Shuo,

first you can have a look at the programmers doxygen, which is automatically generated code documentation:

You can access all code, everything is open-source.

You find the code of the 'fvm::' in $FOAM_SRC/finiteVolume/finiteVolume/fvm/
and the 'fvc::' in $FOAM_SRC/finiteVolume/finiteVolume/fvc/

'fmv::ddt' and 'fvm::div' are templated functions belonging to the namespace 'fvm' (finite volume matrix). Each function returns a matrix which can be solved for.

'solve' is a templated functions defined in $FOAM_SRC/finiteVolume/fvMatrices/fvMatrix


All times are GMT -4. The time now is 11:29.