CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

Some beginner question aboutn changeDictionaryDict for chtMultiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2022, 23:30
Post Some beginner question aboutn changeDictionaryDict for chtMultiRegionFoam
  #1
New Member
 
Shui Pei
Join Date: Mar 2009
Posts: 27
Rep Power: 17
spwater is on a distinguished road
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
spwater is offline   Reply With Quote

Old   August 25, 2022, 03:06
Default
  #2
Member
 
Lukas
Join Date: Sep 2021
Posts: 36
Rep Power: 4
Pappelau is on a distinguished road
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
Pappelau is offline   Reply With Quote

Old   August 25, 2022, 21:44
Default
  #3
New Member
 
Shui Pei
Join Date: Mar 2009
Posts: 27
Rep Power: 17
spwater is on a distinguished road
Thank you Pappelau!
Quote:
Originally Posted by Pappelau View Post
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
spwater is offline   Reply With Quote

Old   August 26, 2022, 09:05
Default
  #4
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,068
Rep Power: 26
Yann will become famous soon enough
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
Yann is offline   Reply With Quote

Reply

Tags
chtmultiregionfoam


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
question from ICEM beginner Jiuan CFX 1 March 6, 2009 18:41
LES beginner question Shuo Main CFD Forum 4 July 9, 2007 08:40
Beginner question OddEven Decoupling in SIMPLE Solver brooksmoses OpenFOAM Running, Solving & CFD 2 November 9, 2005 19:38
Question from a beginner Arun K Main CFD Forum 4 August 13, 2004 07:17
Beginner question – mesh generation. Oleg Melnik Siemens 2 February 26, 2001 02:39


All times are GMT -4. The time now is 06:13.