|
[Sponsors] |
![]() |
![]() |
#1 |
New Member
Dylan Sitarski
Join Date: Jun 2024
Posts: 1
Rep Power: 0 ![]() |
Hello, I have found it difficult to find any information on the '*' character used in OpenFoam to apply a value to variables matching the associated pattern. It is likely an easy usage, but it would be nice to have this better documented and understood.
One example that I know of is to select all keys in a dictionary one should use something like the following (which would set all relaxation factors to 0.9, not really recommended): Code:
relaxationFactors { fields { ".*" 0.9; } equations { ".*" 0.9; } } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,169
Rep Power: 27 ![]() |
Hello Dylan,
Have a look at the Regular Expressions section of the user guide: https://doc.cfd.direct/openfoam/user...ic-file-format It should answer your questions! Regards, Yann |
|
![]() |
![]() |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
ANSYS Workbench on "Uncertified" Linux Distros | hsr | CFX | 289 | April 20, 2023 09:23 |
parallel run error cma-permission-denied | supvato | OpenFOAM Running, Solving & CFD | 3 | October 10, 2022 04:48 |
Recursive output of Foam::word in gdb print command | chengdi | OpenFOAM Programming & Development | 1 | July 19, 2017 20:19 |
FLUENT installation on UBUNTU 12.04 (LTS) | teymourj | FLUENT | 2 | March 1, 2017 22:24 |
Wave pattern of ship is strange (VOF) | Qingsong | Fluent Multiphase | 1 | April 25, 2016 11:49 |