CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (https://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   Errata in example problem published on OpenFOAMwiki (https://www.cfd-online.com/Forums/openfoam-bugs/96417-errata-example-problem-published-openfoamwiki.html)

 dnaneet January 22, 2012 15:58

Errata in example problem published on OpenFOAMwiki

Hi,

I am unsure whether I should post this thread in this section, but I noticed an error in an example problem posted at:

HTML Code:

`http://openfoamwiki.net/index.php/Main_ContribExamples/ExampleSimple2DFlow`

In line 44-46 it should be

Code:

` laplacian((1|A(U)),p) Gauss linear corrected;`
and NOT

Code:

` laplacian(1|A(U),p) Gauss linear corrected;`
Or you'll end up getting an "Undefined Laplacian scheme error".

Hope this is fixed soon!

Cheers!:)

 gschaider January 22, 2012 16:50

Quote:
 Originally Posted by dnaneet (Post 340538) Hi, I am unsure whether I should post this thread in this section, but I noticed an error in an example problem posted at: HTML Code: `http://openfoamwiki.net/index.php/Main_ContribExamples/ExampleSimple2DFlow` The downloaded file "Simple2DFlow.tgz" has an error in /system/fvSchemes In line 44-46 it should be Code: ` laplacian((1|A(U)),p) Gauss linear corrected;` and NOT Code: ` laplacian(1|A(U),p) Gauss linear corrected;` Or you'll end up getting an "Undefined Laplacian scheme error". Hope this is fixed soon! Cheers!:)
That is a syntax-change that occurred some versions of OpenFOAM ago. I'm amazed that this is the only thing that doesn't work with this case given its age.

As I don't know who added this case I'll only add a note that it is outdated. If somebody wants to maintain it he is free to do so (in the communal spirit of the Wiki)

 All times are GMT -4. The time now is 12:55.