CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Questions from a beginner

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 10, 2006, 22:50
Default Hi guys I can't find the sour
  #1
shuo
Guest
 
Posts: n/a
Hi guys
I can't find the source codes for the fvschemes and fv solution dictionaries. Also when the codes has something like:

solve
( fvm::ddt(rho)
+ fvm::div(phiv, rho)
};

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

Cheers
SHuo
  Reply With Quote

Old   September 11, 2006, 07:58
Default Hi Shuo, first you can have
  #2
Senior Member
 
Markus Hartinger
Join Date: Mar 2009
Posts: 102
Rep Power: 17
hartinger is on a distinguished road
Hi Shuo,

first you can have a look at the programmers doxygen, which is automatically generated code documentation:
http://foam.sourceforge.net/doc/Doxygen/html/

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

regards
Markus
hartinger is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFD beginner:- Help needed, general questions on Free jets? (Fluent 5.2.3) Wong, R.Y.T. Main CFD Forum 5 October 22, 2010 00:51
Couple of Beginner Questions hydromodeler OpenFOAM Installation 5 February 27, 2008 04:34
i am beginner for cfd robbin CFX 1 December 31, 2005 11:54
CFD beginner saravanan Main CFD Forum 3 August 16, 2003 07:38
i am a beginner!!!! BINAYA KUMAR DHAR Main CFD Forum 3 January 18, 2001 00:33


All times are GMT -4. The time now is 23:18.