CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   OpenFOAM code testing/quality references (https://www.cfd-online.com/Forums/openfoam-programming-development/200194-openfoam-code-testing-quality-references.html)

ginop March 26, 2018 23:47

OpenFOAM code testing/quality references
 
Hi there,

could anyone point me in the right direction for documents/papers describing or dealing with software (code) testing and/or quality in OpenFOAM?

I am looking to read (learn) and reference about that somehow, and any version/distro really.

I see there are some tests into
Code:

$FOAM_APP/test
and some words at openfoam.org. But I still could not find any related document or paper.

Am I looking for too much? :)

Thank you folks!

piu58 March 27, 2018 00:38

If you try something new, may it meshing/calculating a case or may it programming something, it is best if checked against a theoretical solution. Direct calculation of CFD is possible only for very simple geometries, but you may learn quite a lot from them.
In some cases there exist publications for "reference solutions", which are of high quality. Lid driven cavity comes in my mind, and rising bubble.
Be careful with solutions of other teams, which don't have this reference character. Often they have not the degree of accuracy you wish they had.

If you need an actual reference we need to know which type of problem you try to solve.

ginop March 27, 2018 04:47

Thank you, Uwe.

I am actually using the multiphase solver interFoam and its dynamic mesh variants for marine-like applications.

And I was wondering if, beside comparing a solver solution to a (good) reference case, there is actually any document that report about software testing for the code itself? Not necessarily for the solver I use, but in general for any part of the OpenFOAM toolbox. From the OpenFOAM Foundation website, it says "Software that is included in the OpenFOAM source code base must conform to quality standards". Is there any (available) report/paper describing results of such conformance assessment, or am I reading it incorrectly?

piu58 March 27, 2018 06:29

Now I understand what you mean.

I guess that is not only a problem of test cases, but a requirement of the programming in all: Code structure, comments, variable naming conventions, usage of libraries and so on. But I don't know a document describing this.


All times are GMT -4. The time now is 09:06.