Commit 00717265 authored by Mark Olesen's avatar Mark Olesen

TUT: incorrect regex escaping in fvSchemes

- error trapped by C++11 regex
parent 922c5899
......@@ -14,6 +14,10 @@
( false "(U|k|epsilon)" "alpha" )
( true "ab.*" "abc" )
( true ".*" "abc" )
( true "div\(phi,alpha.*)" "div(phi,alpha.gas)" ) // quoting error
( true "div\(phi,alpha.*\)" "div(phi,alpha.gas)" )
( true "div\(phi,alpha\..*\)" "div(phi,alpha.gas)" )
)
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
......@@ -27,12 +27,12 @@ gradSchemes
divSchemes
{
div(rhoPhi,U) Gauss linearUpwind grad(U);
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*\)" Gauss linear;
div(rhoPhi,U) Gauss linearUpwind grad(U);
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*\)" Gauss linear;
"div\(Yiphir,alpha.*)" Gauss linear;
"div\(phi,.*.gas*\)" Gauss vanLeer;
"div\(Yiphir,alpha.*\)" Gauss linear;
"div\(phi,.*\.gas.*\)" Gauss vanLeer;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
......
......@@ -27,18 +27,18 @@ gradSchemes
divSchemes
{
default none;
default none;
div(rhoPhi,U) Gauss linearUpwind gradU;
div(rhoPhi,U) Gauss linearUpwind gradU;
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*\)" Gauss linear;
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(phir,alpha.*\)" Gauss linear;
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(Yiphir,alpha.*)" Gauss vanLeer;
"div\(phi,alpha.*\)" Gauss vanLeer;
"div\(Yiphir,alpha.*\)" Gauss vanLeer;
"div\(phi,.*.gas*\)" Gauss vanLeer;
"div\(phi,.*.liquid*\)" Gauss vanLeer;
"div\(phi,.*\.gas.*\)" Gauss vanLeer;
"div\(phi,.*\.liquid.*\)" Gauss vanLeer;
div(((rho*nuEff)*dev2(T(grad(U))))) Gauss linear;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment