|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
JISHNU H
Join Date: Nov 2014
Location: Kerala, India
Posts: 20
Rep Power: 13 ![]() |
Can any one pls tell meaing of ".*" . it has been used in many files .
for ex: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2.2.2 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object epsilon; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 2 -3 0 0 0 0]; internalField uniform 0.01; boundaryField { ".*" ![]() { type calculated; value uniform 0.01; } } // ************************************************** *********************** // |
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,269
Blog Entries: 1
Rep Power: 26 ![]() |
means all patches
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
|
Hi,
To be more precise (as you can meet .* in other files without any connection to patches), it is regular expression, dot means "any character", star means "0 or more repetitions". So any string matches this pattern. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Who can tell me what is the meaning of the macro in fluent UDF:C_PREMIXC_RATE(c,t) | ChenZhan | Fluent UDF and Scheme Programming | 1 | May 12, 2017 04:40 |
| Meaning of Ychar and Ypmma | aylalisa | OpenFOAM Pre-Processing | 2 | October 20, 2013 06:49 |
| What's meaning of UDF FUNCTION | zhaoxinyu | Fluent UDF and Scheme Programming | 0 | March 31, 2010 09:04 |
| want to know meaning | Sangamesh | Siemens | 0 | May 15, 2007 06:15 |
| What's the meaning of "combustion scalar"and.... | cfdbeginner | CFX | 0 | November 27, 2003 10:02 |