Tell me more ×
Computational Science Stack Exchange is a question and answer site for scientists using computers to solve scientific problems. It's 100% free, no registration required.

I am a student working for a company doing FSI reasearch. My current work includes discovering how the code for the Euler, backward, and CrankNicholson fvSchemes is executed. In other words, where is the source code behind these schemes and the ideas used and how are the equations implemented in the code. Do any of you know do any of you have the source code for these schemes, or where I can find it??? Thanks!

Dan

share|improve this question
Cold you specify which partial differential equations you are solving? – Paul Jun 15 '12 at 1:14
1  
Dan, welcome to SciComp! Detailed questions about source code are generally out of scope of our site, because these are often better asked on software package-specific message boards, which have the expertise tailored to answer these questions well. Since OpenFOAM is an open source package, you should be able to find the source code on their web site, and hopefully someone in their forums (or message boards) can help you locate the particular lines of source code that you are interested in. – Geoff Oxberry Jun 15 '12 at 8:42
I agree with Geoff. This a question best asked (after previous searching of course) on cfd-online.com/Forums/openfoam Just that much you find the source to all the disretization schemes in $FOAM_SRC/finiteVolume/lnInclude but be warned: the way they are implemented is a bit difficult to read in the beginning as it is a bit more abstract than one is used from other codes (usually the actual implementation is 2 or 3 lines, the rest is C++ administrative stuff) – bgschaid Jun 17 '12 at 14:54

closed as too localized by Geoff Oxberry Jun 15 '12 at 8:42

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, see the FAQ.

Browse other questions tagged or ask your own question.