|
[Sponsors] |
February 12, 2019, 17:58 |
What is ".*" in pointDisplacement file?
|
#1 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Hello all,
I just wondered if ".*" means "for all" patches in this snippet from a pointDisplacement file; kind of like in SQL where you use something like "select * from ..."? Code:
boundaryField { ".*" { type uniformFixedValue; uniformValue (0 0 0); } |
|
February 12, 2019, 18:04 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,715
Rep Power: 40 |
It is a regex (regular expression) - POSIX flavour.
|
|
February 12, 2019, 18:06 |
|
#3 |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
||
February 12, 2019, 18:54 |
|
#4 |
Senior Member
Join Date: Aug 2015
Posts: 494
Rep Power: 15 |
Yes. You could test this by removing it -- should trigger a crash and a message to the effect of "patch not defined in pointDisplacement.boundaryField".
Caelan |
|
February 12, 2019, 19:19 |
|
#5 | |
Senior Member
Andrew Somorjai
Join Date: May 2013
Posts: 175
Rep Power: 13 |
Quote:
"s.* matches s followed by zero or more characters, for example: "s" and "saw" and "seed"." |
||
Tags |
patch, select, types |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to calculate mass flow rate on patches and summation of that during the run? | immortality | OpenFOAM Post-Processing | 104 | February 16, 2021 09:46 |
[foam-extend.org] problem when installing foam-extend-1.6 | Thomas pan | OpenFOAM Installation | 7 | September 9, 2015 22:53 |
[swak4Foam] Problem installing swak_2.x for OpenFoam-2.4.0 | towanda | OpenFOAM Community Contributions | 6 | September 5, 2015 22:03 |
"parabolicVelocity" in OpenFoam 2.1.0 ? | sawyer86 | OpenFOAM Running, Solving & CFD | 21 | February 7, 2012 12:44 |
ParaView Compilation | jakaranda | OpenFOAM Installation | 3 | October 27, 2008 12:46 |