Skip to content
Snippets Groups Projects
Commit db0678bf authored by Mark OLESEN's avatar Mark OLESEN Committed by Andrew Heather
Browse files

TUT: incorrect regex escaping in fvSchemes

- error trapped by C++11 regex
parent be3efed4
Branches
Tags
No related merge requests found
......@@ -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;
......
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