CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   What does ''.*'' means?? (https://www.cfd-online.com/Forums/openfoam-pre-processing/124555-what-does-means.html)

Grimoli October 8, 2013 06:28

What does ''.*'' means??
 
Could anyone explains me what does .* means on this function??
Thanks



{
internalField uniform 300;

boundaryField
{
".*"
{
type zeroGradient;
value uniform 300;
}

"heater_to_.*"
{
type compressible::turbulentTemperatureCoupledBaffleMix ed;
neighbourFieldName T;
K solidThermo;
KName none;
value uniform 300;
}

haakon October 8, 2013 08:12

It is a regular expression: http://en.wikipedia.org/wiki/Regular_expression

Short explanation: the period (.) matches any single character, and the asterisk (*) matches the preceding character zero or more times. The result is that .* matches any string.

Grimoli October 18, 2013 10:12

so does it means that when I put a initial condition on minZ there're 2 functions on that region??(turbulent and the flux)


All times are GMT -4. The time now is 16:36.