CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   meaning of this symbol ".*" (http://www.cfd-online.com/Forums/openfoam/113865-meaning-symbol.html)

Ahmed Khattab February 28, 2013 05:54

meaning of this symbol ".*"
 
Hi Foamers,

good day for you all, I'm work working with chtMultiRegionFoam, in changeDictionaryDict file there is a symbol i can't understand ".*" like this boundary conditions for pressre
Code:

 
  p_rgh       
    {
        internalField  uniform 0;

        boundaryField
        {
            ".*"
            {
                type            buoyantPressure;
                value          uniform 0;
            }

i don't understand which patch exactly is descried by this BC, this make me experience great problems with pressure BCs.

thanks in advance.

Bernhard February 28, 2013 08:05

The dictionary files accept regular expressions. The . means any charachter, and the * any amount times. So this would basically match ALL boundaries.


All times are GMT -4. The time now is 10:04.