diff --git a/applications/test/regex1/testRegexps2 b/applications/test/regex1/testRegexps2 index 207c05b048..d74f8cec15 100644 --- a/applications/test/regex1/testRegexps2 +++ b/applications/test/regex1/testRegexps2 @@ -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)" ) ) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/tutorials/multiphase/icoReactingMultiPhaseInterFoam/evaporationMultiComponent/system/fvSchemes b/tutorials/multiphase/icoReactingMultiPhaseInterFoam/evaporationMultiComponent/system/fvSchemes index c5bf5a5d68..3c4a74298d 100644 --- a/tutorials/multiphase/icoReactingMultiPhaseInterFoam/evaporationMultiComponent/system/fvSchemes +++ b/tutorials/multiphase/icoReactingMultiPhaseInterFoam/evaporationMultiComponent/system/fvSchemes @@ -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; diff --git a/tutorials/multiphase/icoReactingMultiPhaseInterFoam/inertMultiphaseMultiComponent/system/fvSchemes b/tutorials/multiphase/icoReactingMultiPhaseInterFoam/inertMultiphaseMultiComponent/system/fvSchemes index 78b069f2db..aa694eed03 100644 --- a/tutorials/multiphase/icoReactingMultiPhaseInterFoam/inertMultiphaseMultiComponent/system/fvSchemes +++ b/tutorials/multiphase/icoReactingMultiPhaseInterFoam/inertMultiphaseMultiComponent/system/fvSchemes @@ -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;