|
[Sponsors] |
November 7, 2015, 14:15 |
OpenFOAM unit testing
|
#1 |
Senior Member
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13 |
Does anyone have any good ideas on how to write unit tests for OpenFOAM code? As far as I can tell, the OpenFOAM source sort of has unit tests in applications/test, but there appear to be no assertions, and no framework for building, calling and summarizing the tests. Is it better to simply write whole simulation cases and ensure these give the correct outputs? That option seems hard to automate.
|
|
November 7, 2015, 14:49 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128 |
Quick answers:
|
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Has no-one created unit tests for OpenFOAM with mocks? | Kojirion | OpenFOAM Programming & Development | 2 | August 31, 2015 17:11 |
OpenFOAM Foundation releases OpenFOAMŪ 2.3.1 | CFDFoundation | OpenFOAM Announcements from OpenFOAM Foundation | 4 | February 8, 2015 06:19 |
Can't get data from OpenFoam to external solver using externalCoupled | perry | OpenFOAM Running, Solving & CFD | 4 | May 26, 2014 09:09 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 07:25 |