OpenFOAM: Manual Pages: splitMesh

02 chtMultiRegionFoam求解器- splitMesh - 哔哩哔哩

OpenFOAM-v2406采用splitMeshRegions的一个例子。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
~/work/202506/chtInOF/snappyMultiRegionHeaterImplicit > splitMeshRegions -cellZones                                                                         % 16:14:08
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2406 |
| \\ / A nd | Website: www.openfoam.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : _630d60de3b-20240620 OPENFOAM=2406 version=v2406
Arch : "LSB;label=32;scalar=64"
Exec : splitMeshRegions -cellZones
Date : Jun 29 2025
Time : 16:14:21
Host : tttt
PID : 464597
I/O : uncollated
Case : /home/tttt/work/202506/chtInOF/snappyMultiRegionHeaterImplicit
nProcs : 1
trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Creating single patch per inter-region interface.

Trying to match regions to existing cell zones.


Number of regions:5

Writing region per cell file (for manual decomposition) to "/home/tttt/work/202506/chtInOF/snappyMultiRegionHeaterImplicit/constant/cellToRegion"

Writing region per cell as volScalarField to "/home/tttt/work/202506/chtInOF/snappyMultiRegionHeaterImplicit/0/cellToRegion"

Region Cells
------ -----
0 3952
1 1040
2 640
3 1040
4 3300

Region Zone Name
------ ---- ----
0 (4) bottomAir
1 (2) leftSolid
2 (0) heater
3 (1) rightSolid
4 (3) topAir

Sizes of interfaces between regions:

Interface Region Region Faces
--------- ------ ------ -----
0 0 3 520
1 3 4 520
2 0 1 520
3 2 4 160
4 2 3 40
5 1 2 40
6 0 2 368
7 1 4 520

Reading volScalarField: T alphat cellToRegion epsilon k p p_rgh rho
Reading volVectorField: U


Adding patches


Adding patches

For interface between region bottomAir and rightSolid added patches
6 bottomAir_to_rightSolid
7 rightSolid_to_bottomAir
For interface between region rightSolid and topAir added patches
8 rightSolid_to_topAir
9 topAir_to_rightSolid
For interface between region bottomAir and leftSolid added patches
10 bottomAir_to_leftSolid
11 leftSolid_to_bottomAir
For interface between region heater and topAir added patches
12 heater_to_topAir
13 topAir_to_heater
For interface between region heater and rightSolid added patches
14 heater_to_rightSolid
15 rightSolid_to_heater
For interface between region leftSolid and heater added patches
16 leftSolid_to_heater
17 heater_to_leftSolid
For interface between region bottomAir and heater added patches
18 bottomAir_to_heater
19 heater_to_bottomAir
For interface between region leftSolid and topAir added patches
20 leftSolid_to_topAir
21 topAir_to_leftSolid

Region 0
--------
Creating mesh for region 0 bottomAir
Mapping fields
Mapping field T
Mapping field alphat
Mapping field cellToRegion
Mapping field epsilon
Mapping field k
Mapping field p
Mapping field p_rgh
Mapping field rho
Mapping field U
Deleting empty patches
Writing new mesh
Writing addressing to base mesh
Writing map pointRegionAddressing from region0 points back to base mesh.
Writing map faceRegionAddressing from region0 faces back to base mesh.
Writing map cellRegionAddressing from region0 cells back to base mesh.
Writing map boundaryRegionAddressing from region0 boundary back to base mesh.

Region 1
--------
Creating mesh for region 1 leftSolid
Mapping fields
Mapping field T
Mapping field alphat
Mapping field cellToRegion
Mapping field epsilon
Mapping field k
Mapping field p
Mapping field p_rgh
Mapping field rho
Mapping field U
Deleting empty patches
Writing new mesh
Writing addressing to base mesh
Writing map pointRegionAddressing from region1 points back to base mesh.
Writing map faceRegionAddressing from region1 faces back to base mesh.
Writing map cellRegionAddressing from region1 cells back to base mesh.
Writing map boundaryRegionAddressing from region1 boundary back to base mesh.

Region 2
--------
Creating mesh for region 2 heater
Mapping fields
Mapping field T
Mapping field alphat
Mapping field cellToRegion
Mapping field epsilon
Mapping field k
Mapping field p
Mapping field p_rgh
Mapping field rho
Mapping field U
Deleting empty patches
Writing new mesh
Writing addressing to base mesh
Writing map pointRegionAddressing from region2 points back to base mesh.
Writing map faceRegionAddressing from region2 faces back to base mesh.
Writing map cellRegionAddressing from region2 cells back to base mesh.
Writing map boundaryRegionAddressing from region2 boundary back to base mesh.

Region 3
--------
Creating mesh for region 3 rightSolid
Mapping fields
Mapping field T
Mapping field alphat
Mapping field cellToRegion
Mapping field epsilon
Mapping field k
Mapping field p
Mapping field p_rgh
Mapping field rho
Mapping field U
Deleting empty patches
Writing new mesh
Writing addressing to base mesh
Writing map pointRegionAddressing from region3 points back to base mesh.
Writing map faceRegionAddressing from region3 faces back to base mesh.
Writing map cellRegionAddressing from region3 cells back to base mesh.
Writing map boundaryRegionAddressing from region3 boundary back to base mesh.

Region 4
--------
Creating mesh for region 4 topAir
Mapping fields
Mapping field T
Mapping field alphat
Mapping field cellToRegion
Mapping field epsilon
Mapping field k
Mapping field p
Mapping field p_rgh
Mapping field rho
Mapping field U
Deleting empty patches
Writing new mesh
Writing addressing to base mesh
Writing map pointRegionAddressing from region4 points back to base mesh.
Writing map faceRegionAddressing from region4 faces back to base mesh.
Writing map cellRegionAddressing from region4 cells back to base mesh.
Writing map boundaryRegionAddressing from region4 boundary back to base mesh.
End