|
[Sponsors] |
March 26, 2018, 23:47 |
OpenFOAM code testing/quality references
|
#1 |
New Member
Gino Parisella
Join Date: Mar 2017
Location: Perth, Western Australia
Posts: 22
Rep Power: 9 |
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 Am I looking for too much? Thank you folks! |
|
March 27, 2018, 00:38 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
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.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
March 27, 2018, 04:47 |
|
#3 |
New Member
Gino Parisella
Join Date: Mar 2017
Location: Perth, Western Australia
Posts: 22
Rep Power: 9 |
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? |
|
March 27, 2018, 06:29 |
|
#4 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
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.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Frequently Asked Questions about Installing OpenFOAM | wyldckat | OpenFOAM Installation | 3 | November 14, 2023 11:58 |
Suggestion for a new sub-forum at OpenFOAM's Forum | wyldckat | Site Help, Feedback & Discussions | 20 | October 28, 2014 09:04 |
OpenFOAM Foundation releases OpenFOAM 2.2.2 | opencfd | OpenFOAM Announcements from ESI-OpenCFD | 0 | October 14, 2013 07:18 |
New OpenFOAM Forum Structure | jola | OpenFOAM | 2 | October 19, 2011 06:55 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 15:56 |