|
[Sponsors] |
Some beginner question aboutn changeDictionaryDict for chtMultiRegionFoam |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Shui Pei
Join Date: Mar 2009
Posts: 27
Rep Power: 17 ![]() |
Hello:
Recently I am working on chtMultiRegionFoam and start with the planeWall2D case. https://openfoamwiki.net/index.php/G..._-_planeWall2D Though it won't work directly with the latest OF, it is still a good beginning to understand the structure of the case. Here is my question, when I am looking at the system/bottomAir/changeDictionaryDict: 1, why is there a boundary { bottomAir_bottom { type symmetryPlane; } } at beginning? I see the defination repeated in all the following variable's defination, like U. 2, what does ".*" means, does that mean all solid boundary, or somethign else? As I see "bottomAir_to_.*" means baffles between bottomAir and solid region wall. 3, why there is no ".*" boundary in U but in p, and no "bottomAir_to_.*" boundary in p but in U? yours Pei |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Member
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 5 ![]() |
hello pei
For Question 2 : these are regular Expressions (Google RegEx) ".*" means ALL boundarys in the region "bc_xy_.*" means all boundarys that begin with bc_xy_ ... as example What directly leads to 3 : for p all boundarys get the same condition so u use just ".*" as example.... U you need different conditions for different boundarys so no ".*" cheers |
|
![]() |
![]() |
![]() |
![]() |
#3 | |
New Member
Shui Pei
Join Date: Mar 2009
Posts: 27
Rep Power: 17 ![]() |
Thank you Pappelau!
Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#4 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,236
Rep Power: 29 ![]() ![]() |
Hi Pei,
Regarding your first question: in this tutorial, changeDictionary is used to define all the boundary conditions. For each regions you have a changeDictionaryDict file. When changeDictionary is executed it basically edit all the files in the 0 directory with the proper boundary conditions. You could get the same result by defining the boundary conditions right away in the 0 directory. Cheers, Yann |
|
![]() |
![]() |
![]() |
Tags |
chtmultiregionfoam |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
question from ICEM beginner | Jiuan | CFX | 1 | March 6, 2009 19:41 |
LES beginner question | Shuo | Main CFD Forum | 4 | July 9, 2007 09:40 |
Beginner question OddEven Decoupling in SIMPLE Solver | brooksmoses | OpenFOAM Running, Solving & CFD | 2 | November 9, 2005 20:38 |
Question from a beginner | Arun K | Main CFD Forum | 4 | August 13, 2004 08:17 |
Beginner question – mesh generation. | Oleg Melnik | Siemens | 2 | February 26, 2001 03:39 |