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

OpenFOAM code testing/quality references

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 26, 2018, 23:47
Default OpenFOAM code testing/quality references
  #1
New Member
 
Gino Parisella
Join Date: Mar 2017
Location: Perth, Western Australia
Posts: 22
Rep Power: 9
ginop is on a distinguished road
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!
ginop is offline   Reply With Quote

Old   March 27, 2018, 00:38
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   March 27, 2018, 04:47
Default
  #3
New Member
 
Gino Parisella
Join Date: Mar 2017
Location: Perth, Western Australia
Posts: 22
Rep Power: 9
ginop is on a distinguished road
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?
ginop is offline   Reply With Quote

Old   March 27, 2018, 06:29
Default
  #4
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 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
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


All times are GMT -4. The time now is 21:33.