# 2D-model with 1D-thermal network

**URL:** <https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684>\
**Category:** Examples/Tutorials\
**Created:** [April 15, 2025, 8:43am UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684 "2025-04-15T08:43:36Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![rafal.brzegowy](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@rafal.brzegowy](https://calculix.discourse.group/u/rafal.brzegowy)\
**Post date:** [April 15, 2025, 8:43am UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/1 "2025-04-15T08:43:36Z")

</div>

Does anyone have an example (even the simplest one) of such a connection, such an analysis as the example below?

![fw05_2D_thermal](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/b/b2409fbbfe71d22d493650281a58dee39fe9b114.gif)  
Source:

> **[CALCULIX: A Three-Dimensional Structural Finite Element Program](https://www.calculix.de/fw05.html)**

---

<div class="post-metadata">

**Author:** ![Disla](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/disla/32/3548_2.png) [@Disla](https://calculix.discourse.group/u/Disla)\
**Post date:** [April 15, 2025, 10:53am UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/2 "2025-04-15T10:53:10Z")

</div>

Hi Rafal,

There was a post some time ago about this kind of simulations .Mecway has nicely implement it for Shell and Solid Elements. Let me know if you need something else.

> [@Flow Network model - missing some heat](https://calculix.discourse.group/t/flow-network-model-missing-some-heat/1360):
>
> I have a test problem that uses heat transfer with a pipe flow network. There is no pressure drop calculation, only mass flow and capacitance are considered (test model below). The figure shows the issue. I apply a convection on the base, a mass flow and inlet temperature to the pipe. I expected the convection, conduction and thermal mass transport to all be the same, but the pipe flow “cool down” is about 30% too low. Any help would be appreciated! ---------------- pipetest.inp \*NO…

---

<div class="post-metadata">

**Author:** ![Disla](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/disla/32/3548_2.png) [@Disla](https://calculix.discourse.group/u/Disla)\
**Post date:** [April 16, 2025, 10:05pm UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/3 "2025-04-16T22:05:27Z")

</div>

Example Validated. CAX4 elements used.

> **[Face numbering for Shell elements and CAX elements](https://mecway.com/forum/discussion/1625/face-numbering-for-shell-elements-and-cax-elements)**
>
> Hi Victor, I’m finding an unexpected result, and I think I found the source of the discrepancy.

---

<div class="post-metadata">

**Author:** ![klaus.wittig](https://avatars.discourse-cdn.com/v4/letter/k/4da419/32.png) [@klaus.wittig](https://calculix.discourse.group/u/klaus.wittig)\
**Post date:** [April 22, 2025, 6:59pm UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/4 "2025-04-22T18:59:02Z")

</div>

Hi Rafal, you find the model some lines above the source of your picture on [www.calculix.de](http://www.calculix.de). Or do you ask for a second model?

---

<div class="post-metadata">

**Author:** ![Disla](https://yyz2.discourse-cdn.com/free1/user_avatar/calculix.discourse.group/disla/32/3548_2.png) [@Disla](https://calculix.discourse.group/u/Disla)\
**Post date:** [April 25, 2025, 9:12am UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/5 "2025-04-25T09:12:48Z")

</div>

Hi,

When using a counterflow mass flowrate (- value of mass flow), MAFLOW\_MF gives un-consistent alternating results (+/-/+/-/+…) on the nodes of the network element.  
That do not happen when flow goes in the positive direction.  
Temperatures are right.

Regards

 ![imagen](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/7/7f75dccd872bf5958d4a3217ac5a2f4ea3324064.png)

```auto
** Generated by Mecway 28
*NODE
1,0,0.1,-1.224606353822E-17
2,0,0.09,-9.796850830579E-18
3,0,0.08,-7.347638122934E-18
4,0,0.07,-4.89842541529E-18
5,0,0.06,-2.449212707645E-18
6,0,0.05,0
7,0,0.04,1.224606353822E-18
8,0,0.03,2.449212707645E-18
9,0,0.02,3.673819061467E-18
10,0,0.01,4.89842541529E-18
11,0,0,6.123031769112E-18
12,0.08,0,0
13,0.08,0.01,0
14,0.08,0.02,0
15,0.08,0.03,0
16,0.08,0.04,0
17,0.08,0.05,0
18,0.08,0.06,0
19,0.08,0.07,0
20,0.08,0.08,0
21,0.08,0.09,0
22,0.08,0.1,0
23,0.015,0.09,-9.796850830579E-18
24,0.015,0.08,-7.347638122934E-18
25,0.015,0.07,-4.89842541529E-18
26,0.015,0.06,-2.449212707645E-18
27,0.015,0.05,-4.622231866529E-33
28,0.015,0.04,2.449212707645E-18
29,0.015,0.03,3.673819061467E-18
30,0.015,0.02,4.89842541529E-18
31,0.015,0.01,6.123031769112E-18
32,0.015,8.673617379884E-18,7.347638122934E-18
33,0.015,-0.01,8.572244476757E-18
34,0.01833333333333,0.07,-4.89842541529E-18
35,0.02166666666667,0.07,-4.89842541529E-18
36,0.025,0.07,-4.89842541529E-18
37,0.02833333333333,0.07,-4.89842541529E-18
38,0.03166666666667,0.07,-4.89842541529E-18
39,0.035,0.07,-4.89842541529E-18
40,0.01833333333333,0.05,-4.622231866529E-33
41,0.02166666666667,0.05,-4.622231866529E-33
42,0.025,0.05,-4.622231866529E-33
43,0.02833333333333,0.05,-4.622231866529E-33
44,0.03166666666667,0.05,-4.622231866529E-33
45,0.035,0.05,-4.622231866529E-33
46,0.01833333333333,0.03,3.673819061467E-18
47,0.02166666666667,0.03,3.673819061467E-18
48,0.025,0.03,3.673819061467E-18
49,0.02833333333333,0.03,3.673819061467E-18
50,0.03166666666667,0.03,3.673819061467E-18
51,0.035,0.03,3.673819061467E-18
52,0.01833333333333,0.01,6.123031769112E-18
53,0.02166666666667,0.01,6.123031769112E-18
54,0.025,0.01,6.123031769112E-18
55,0.02833333333333,0.01,6.123031769112E-18
56,0.03166666666667,0.01,6.123031769112E-18
57,0.035,0.01,6.123031769112E-18
58,0.01833333333333,-0.01,8.572244476757E-18
59,0.02166666666667,-0.01,8.572244476757E-18
60,0.025,-0.01,8.572244476757E-18
61,0.02833333333333,-0.01,8.572244476757E-18
62,0.03166666666667,-0.01,8.572244476757E-18
63,0.035,-0.01,8.572244476757E-18
64,0.01833333333333,0.09,-9.796850830579E-18
65,0.02166666666667,0.09,-9.796850830579E-18
66,0.025,0.09,-9.796850830579E-18
67,0.02833333333333,0.09,-9.796850830579E-18
68,0.03166666666667,0.09,-9.796850830579E-18
69,0.035,0.09,-9.796850830579E-18
70,0.02166666666667,0.06,-2.449212707645E-18
71,0.02833333333333,0.06,-2.449212707645E-18
72,0.035,0.06,-2.449212707645E-18
73,0.02166666666667,0.04,2.449212707645E-18
74,0.02833333333333,0.04,2.449212707645E-18
75,0.035,0.04,2.449212707645E-18
76,0.02166666666667,0.02,4.89842541529E-18
77,0.02833333333333,0.02,4.89842541529E-18
78,0.035,0.02,4.89842541529E-18
79,0.02166666666667,8.673617379884E-18,7.347638122934E-18
80,0.02833333333333,8.673617379884E-18,7.347638122934E-18
81,0.035,8.673617379884E-18,7.347638122934E-18
82,0.02166666666667,0.08,-7.347638122934E-18
83,0.02833333333333,0.08,-7.347638122934E-18
84,0.035,0.08,-7.347638122934E-18
85,0.065,0.11,-1.836909530734E-17
86,0.065,0.1,-1.591988259969E-17
87,0.065,0.09,-1.347066989205E-17
88,0.065,0.08,-1.10214571844E-17
89,0.065,0.07,-8.572244476757E-18
90,0.065,0.06,-6.123031769112E-18
91,0.065,0.05,-4.89842541529E-18
92,0.065,0.04,-3.673819061467E-18
93,0.065,0.03,-2.449212707645E-18
94,0.065,0.02,-1.224606353822E-18
95,0.065,0.01,-9.437056727497E-33
96,0.06166666666667,0.09,-1.347066989205E-17
97,0.05833333333333,0.09,-1.347066989205E-17
98,0.055,0.09,-1.347066989205E-17
99,0.05166666666667,0.09,-1.347066989205E-17
100,0.04833333333333,0.09,-1.347066989205E-17
101,0.045,0.09,-1.347066989205E-17
102,0.06166666666667,0.07,-8.572244476757E-18
103,0.05833333333333,0.07,-8.572244476757E-18
104,0.055,0.07,-8.572244476757E-18
105,0.05166666666667,0.07,-8.572244476757E-18
106,0.04833333333333,0.07,-8.572244476757E-18
107,0.045,0.07,-8.572244476757E-18
108,0.06166666666667,0.05,-4.89842541529E-18
109,0.05833333333333,0.05,-4.89842541529E-18
110,0.055,0.05,-4.89842541529E-18
111,0.05166666666667,0.05,-4.89842541529E-18
112,0.04833333333333,0.05,-4.89842541529E-18
113,0.045,0.05,-4.89842541529E-18
114,0.06166666666667,0.03,-2.449212707645E-18
115,0.05833333333333,0.03,-2.449212707645E-18
116,0.055,0.03,-2.449212707645E-18
117,0.05166666666667,0.03,-2.449212707645E-18
118,0.04833333333333,0.03,-2.449212707645E-18
119,0.045,0.03,-2.449212707645E-18
120,0.06166666666667,0.01,-9.437056727497E-33
121,0.05833333333333,0.01,-9.437056727497E-33
122,0.055,0.01,-9.437056727497E-33
123,0.05166666666667,0.01,-9.437056727497E-33
124,0.04833333333333,0.01,-9.437056727497E-33
125,0.045,0.01,-9.437056727497E-33
126,0.06166666666667,0.11,-1.836909530734E-17
127,0.05833333333333,0.11,-1.836909530734E-17
128,0.055,0.11,-1.836909530734E-17
129,0.05166666666667,0.11,-1.836909530734E-17
130,0.04833333333333,0.11,-1.836909530734E-17
131,0.045,0.11,-1.836909530734E-17
132,0.05833333333333,0.08,-1.10214571844E-17
133,0.05166666666667,0.08,-1.10214571844E-17
134,0.045,0.08,-1.10214571844E-17
135,0.05833333333333,0.06,-6.123031769112E-18
136,0.05166666666667,0.06,-6.123031769112E-18
137,0.045,0.06,-6.123031769112E-18
138,0.05833333333333,0.04,-3.673819061467E-18
139,0.05166666666667,0.04,-3.673819061467E-18
140,0.045,0.04,-3.673819061467E-18
141,0.05833333333333,0.02,-1.224606353822E-18
142,0.05166666666667,0.02,-1.224606353822E-18
143,0.045,0.02,-1.224606353822E-18
144,0.05833333333333,0.1,-1.591988259969E-17
145,0.05166666666667,0.1,-1.591988259969E-17
146,0.045,0.1,-1.591988259969E-17
147,0.015,0.11,-1.469527624587E-17
148,0.015,0.1,-1.224606353822E-17
149,0.04833333333333,-0.01,2.449212707645E-18
150,0.045,-0.01,2.449212707645E-18
151,0.05833333333333,1.040834085586E-17,1.224606353822E-18
152,0.05166666666667,1.040834085586E-17,1.224606353822E-18
153,0.045,1.040834085586E-17,1.224606353822E-18
154,0.06166666666667,-0.01,2.449212707645E-18
155,0.05833333333333,-0.01,2.449212707645E-18
156,0.01833333333333,0.11,-1.469527624587E-17
157,0.02166666666667,0.11,-1.469527624587E-17
158,0.025,0.11,-1.469527624587E-17
159,0.02833333333333,0.11,-1.469527624587E-17
160,0.03166666666667,0.11,-1.469527624587E-17
161,0.035,0.11,-1.469527624587E-17
162,0.02166666666667,0.1,-1.224606353822E-17
163,0.02833333333333,0.1,-1.224606353822E-17
164,0.035,0.1,-1.224606353822E-17
165,0.055,-0.01,2.449212707645E-18
166,0.065,1.040834085586E-17,1.224606353822E-18
167,0.065,-0.01,2.449212707645E-18
168,0.05166666666667,-0.01,2.449212707645E-18
*ELEMENT,TYPE=D
1,1,2,3
2,3,4,5
3,5,6,7
4,7,8,9
5,9,10,11
6,12,13,14
7,14,15,16
8,16,17,18
9,18,19,20
10,20,21,22
*ELEMENT,TYPE=S8
11,59,53,55,61,79,54,80,60
12,61,55,57,63,80,56,81,62
13,25,23,65,35,24,64,82,34
14,35,65,67,37,82,66,83,36
15,37,67,69,39,83,68,84,38
16,27,25,35,41,26,34,70,40
17,41,35,37,43,70,36,71,42
18,43,37,39,45,71,38,72,44
19,29,27,41,47,28,40,73,46
20,47,41,43,49,73,42,74,48
21,49,43,45,51,74,44,75,50
22,31,29,47,53,30,46,76,52
23,53,47,49,55,76,48,77,54
24,55,49,51,57,77,50,78,56
25,33,31,53,59,32,52,79,58
26,115,121,123,117,141,122,142,116
27,117,123,125,119,142,124,143,118
28,85,87,97,127,86,96,144,126
29,127,97,99,129,144,98,145,128
30,129,99,101,131,145,100,146,130
31,87,89,103,97,88,102,132,96
32,97,103,105,99,132,104,133,98
33,99,105,107,101,133,106,134,100
34,89,91,109,103,90,108,135,102
35,103,109,111,105,135,110,136,104
36,105,111,113,107,136,112,137,106
37,91,93,115,109,92,114,138,108
38,109,115,117,111,138,116,139,110
39,111,117,119,113,139,118,140,112
40,93,95,121,115,94,120,141,114
41,23,147,157,65,148,156,162,64
42,65,157,159,67,162,158,163,66
43,67,159,161,69,163,160,164,68
44,121,155,168,123,151,165,152,122
45,123,168,150,125,152,149,153,124
46,95,167,155,121,166,154,151,120
*NSET,NSET=TEMP_WATER_INLET
1
22
*NSET,NSET=WATTER_NODES_1
2
3
4
5
6
7
8
9
10
11
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
147
148
156
157
158
159
160
161
162
163
164
*NSET,NSET=WATTER_NODES_2
12
13
14
15
16
17
18
19
20
21
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
149
150
151
152
153
154
155
165
166
167
168
*NSET,NSET=MASS_NODES_1
2
4
6
8
10
*NSET,NSET=MASS_NODES_2
13
15
17
19
21
*ELSET,ELSET=WATTER_ELEM
1
2
3
4
5
6
7
8
9
10
*ELSET,ELSET=WATER_ELEMENTS_1
1
2
3
4
5
*ELSET,ELSET=WATER_ELEMENTS_2
6
7
8
9
10
*ELSET,ELSET=COMPONENT
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
*SURFACE,NAME=FACES_1
16,S3
19,S3
13,S3
22,S3
25,S3
41,S3
*SURFACE,NAME=FACES_2
31,S3
34,S3
37,S3
40,S3
46,S3
28,S3
*MATERIAL,NAME=WATTER_PRODUCT
*DENSITY
1000
*CONDUCTIVITY,TYPE=ISO
10000,0
*SPECIFIC HEAT
4178
*FLUID CONSTANTS
4178,0,0
*MATERIAL,NAME=SHELLS
*DENSITY
100
*CONDUCTIVITY,TYPE=ISO
0.001,0
*SPECIFIC HEAT
1
*FLUID CONSTANTS
1,0,0
*FLUID SECTION,ELSET=WATTER_ELEM,MATERIAL=WATTER_PRODUCT
*SHELL SECTION,ELSET=COMPONENT,MATERIAL=SHELLS
2
*AMPLITUDE,NAME=A_1
0,373.15
1,473.15
100,473.15
*INITIAL CONDITIONS,TYPE=TEMPERATURE
WATTER_NODES_1,373.15
WATTER_NODES_2,373.15
*STEP,INC=100000,AMPLITUDE=STEP
*HEAT TRANSFER
0.001,100,0,0.2
*BOUNDARY
MASS_NODES_1,1,,0.001
MASS_NODES_2,1,,-0.001
*BOUNDARY,AMPLITUDE=A_1
TEMP_WATER_INLET,11,,1
*CFLUX
57,11,-1333.333333333
81,11,-2666.666666667
63,11,-666.6666666667
69,11,-1333.333333333
84,11,-2666.666666667
39,11,-1333.333333333
72,11,-2666.666666667
45,11,-1333.333333333
75,11,-2666.666666667
51,11,-1333.333333333
78,11,-2666.666666667
125,11,-1333.333333333
143,11,-2666.666666667
119,11,-1333.333333333
101,11,-1333.333333333
146,11,-2666.666666667
131,11,-666.6666666667
107,11,-1333.333333333
134,11,-2666.666666667
113,11,-1333.333333333
137,11,-2666.666666667
140,11,-2666.666666667
161,11,-666.6666666667
164,11,-2666.666666667
150,11,-666.6666666667
153,11,-2666.666666667
*FILM
16,F3FC,5,100000
19,F3FC,7,100000
13,F3FC,3,100000
22,F3FC,9,100000
25,F3FC,11,100000
41,F3FC,1,100000
*FILM
31,F3FC,20,100000
34,F3FC,18,100000
37,F3FC,16,100000
40,F3FC,14,100000
46,F3FC,12,100000
28,F3FC,22,100000
*NODE FILE,GLOBAL=YES
NT
*EL FILE
HFL
*BOUNDARY
**,Amplitude=A_2
Mass_Nodes_1,1,,1E-3
Mass_Nodes_2,1,,-1E-3
*NODE FILE
MF
*END STEP

```

---

<div class="post-metadata">

**Author:** ![rafal.brzegowy](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@rafal.brzegowy](https://calculix.discourse.group/u/rafal.brzegowy)\
**Post date:** [April 28, 2025, 5:55am UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/6 "2025-04-28T05:55:27Z")

</div>

The example is already working for me, my archive program did not unpack all the contents the first time, which misled me.

---

<div class="post-metadata">

**Author:** ![JohnM](https://avatars.discourse-cdn.com/v4/letter/j/848f3c/32.png) [@JohnM](https://calculix.discourse.group/u/JohnM)\
**Post date:** [August 21, 2026, 6:20pm UTC](https://calculix.discourse.group/t/2d-model-with-1d-thermal-network/2684/7 "2026-08-21T18:20:47Z")

</div>

[![](https://global.discourse-cdn.com/free1/uploads/calculix/original/2X/2/2e7860f60748c09c5e4b7a0c6061b8c713ad6b1d.jpeg "Mecway simple heat exchanger") ](https://www.youtube.com/watch?v=eLaaVRKIaaY&t=4s)

sorry I’m a year late! model is available in the comments
