4. Boundary conditions
When you need it. Heat flows from warm air to cold air through a structure, and the calculation must know what is at each surface: which air, which surface heat transfer coefficient, or whether the surface is cut off and exchanges no heat.
If you get it wrong. This is the most treacherous part of the model: a wrong boundary condition gives a plausible but wrong result, and the program will not show an error. Check every face.
A boundary condition (ambients) is placed on the outer surface of a structure: the faces of bodies that open into emptiness.
Boundary conditions: ambients#
When you need it. To set the air outside and in the room (temperature and surface heat transfer coefficient from the codes) and, separately, the cuts: places where the fragment is cut off from the rest of the structure.
If you get it wrong. A cut with
t … alpha …instead ofadiabatmakes heat leave through the cut end; air withadiabatinstead oft … alpha …does the opposite and cancels heat exchange where it exists. The calculation runs in both cases.
ambients
1 t -26 alpha 23
2 t 20 alpha 8
19 adiabat
t <temperature> alpha <coefficient>is a boundary condition (outside air, room air) with temperature t (°C) and surface heat transfer coefficient α (W/(m²·°C)). By the codes, α = 8.7 inside and 23 outside.adiabatis a surface with no heat exchange: a cut of the calculation domain (a symmetry plane, the boundary of a fragment). What to cut out, and why the cuts getadiabat, is in the chapter Fragment.
At the end of a boundary condition line you can say where it is placed, in this order:
<number> t <t> alpha <α> side <directions> default points <points> rect <corners>
(Here <number> is the number, <directions> the directions, <points> the points, <corners> the corners.) Every part is optional.
A surface patch#
The surface is divided into patches: a patch is a flat connected piece of surface that looks outward in one direction (the material under it does not matter). A box-shaped wall has six patches, its six faces. A sloped face of a shape is also a patch; if it continues in the same plane a face of a cuboid (rectangular box), it is one patch.
A boundary condition paints a patch entirely.
Points: points#
When you need it. To put air on a specific face: an outside wall, an inside wall, a reveal, a slab.
If you get it wrong. A point in a corner or on an edge touches all the faces it belongs to, including a cut, and the cut quietly gets air instead of
adiabat. A point that is not on a surface gives the error “does not lie on the open surface of the bodies”; a forgotten point means the face quietly getsdefault(see below).
2 t 20 alpha 8 points 300,500,500 300,500,2200
Each point paints with the boundary condition all the patches it lies on, including their edges:
- a point inside a patch touches one patch;
- on an edge, two neighboring patches;
- in a corner, three or more.
A point always lies on a surface: one of its coordinates coincides with the plane of the patch. Put a point in the
middle of a patch so as not to touch the neighbors. A point on an edge is convenient when two neighboring patches have the same boundary condition:
it sets the condition for both patches at once (in a corner of three faces, for all three), and fewer points are needed for the same result.
So the inside corner of the wall from lesson 4 is covered by one point 250,250,500 on the edge between the two inner faces.
A point cannot touch a patch that a point of another boundary condition has already painted; this is an error.
The default boundary condition (default)#
When you need it. There are usually many cuts (ends, top, bottom), and listing them by points takes long. The
defaultmark givesadiabatto all faces that nothing else has touched.If you get it wrong. A forgotten point is the quietest error. A face on which you forgot to put air quietly gets
adiabat defaultand becomes a “cut”: there is no heat through it, the calculation runs, and the result is wrong. Such a face is especially dangerous in a window opening or at a frame. And ifdefaultis given to air rather than toadiabat, the cuts will get air too.
19 adiabat default
It paints all patches that were not painted by points, directions and rectangles. Only one boundary condition may
have the default mark. Its patches are not listed separately.
Check. In the “FRS” tab, put the cursor on the line with default, and all the faces it
got are highlighted on the model. There must be only cuts there (more in Checking the cuts).
Directions: side#
When you need it. All faces on one side get one condition: for example, the whole outer plane of a wall or the four ends of a fragment. It is shorter than putting a point on each face.
If you get it wrong. A direction catches all faces that look this way, including the reveal of an opening and the end of a protrusion. They quietly get the same condition. Then you need points (
points).
A direction (side) puts a boundary condition at once on all faces that look in one direction.
Example: the wall from lesson 1. The outer face X = 0 looks toward decreasing X, that is, toward −X; the inner face X = 250 looks toward +X.
frs 7.4 name "brick wall"
materials params
1 lambda 0.81
materials objects
1 cuboid 0,0,0 380,1000,1000
ambients
1 t -23 alpha 23 side -X
2 t 20 alpha 8.7 side +X
3 adiabat default
Outside air is on all faces that look toward −X, room air is on all that look toward +X, and the remaining faces
(the ends of the wall fragment) have no heat exchange (adiabat).
- A line may have several directions:
side -Y +Y -Z +Zmeans all four ends of the fragment. - One direction can be given to only one boundary condition.
- Sloped faces (shapes,
shape) are not set by direction, only by points.
A part of a face with another boundary condition (rect)#
When you need it. The condition changes on part of a face: behind a wardrobe or a radiator, behind a thick curtain, near a hot pipe. For a mold check behind furniture, a lowered surface heat transfer coefficient α = 4 is taken instead of 8.7 (this is how the carpet and the shelf are calculated in lesson 3: the air behind furniture stands still).
If you get it wrong. A rectangle that is not in the plane of the face gives an error; a rectangle in the wrong place puts the condition on the wrong part, and the calculation runs. Without
rectyou would have to change the condition of the whole face, and the “wardrobe” would cover the whole wall.
When a boundary condition must be put not on a whole patch but on part of it, use a rectangle (rect) at the end of the boundary condition
line, given by two opposite corners, as for cuboid:
7 t 20 alpha 8.7 rect 1130,1265,0 1145,1265,300
- the two corners share one coordinate: this is the plane of the patch (here Y = 1265);
- along the other two axes is the size of the rectangle;
- the side does not need to be written: an open face in a plane exists on only one side;
- there may be several rectangles, as pairs of corners after one
rect.
What overrides what#
When you need it.
default, a direction, a point and a rectangle meet on one face: you need to know which wins.If you get it wrong. If you forget that a point overrides a direction, the face gets a condition different from the one you expected, and there will be no error.
Painting goes from general to specific, and each next one overrides the previous:
default;- directions
side; - points
points; - rectangles
rect.
The boundary condition on a face at a point Q: if Q is inside a rectangle, it is the boundary condition of that rectangle; otherwise, if the patch of Q has a point
of some boundary condition, it is that condition; otherwise, if some boundary condition has the direction of the patch, it is that one; otherwise it is the default boundary
condition.
Faces without boundary conditions#
When you need it. The warning “Faces without a boundary condition: N” appears under the text, and you need to understand what it means.
If you get it wrong. You cannot “ignore it”: such a model cannot be calculated, and the button that sends it to calculation is disabled. But if
defaultexists, there will be no warning, and the error may remain (see above, the forgotten point).
Every outer face must have a boundary condition. If it has none (there is no default, and the face is not covered by a point or
a direction), such faces are unpainted in the “FRS” tab, and under the text there is a warning,
“Faces without a boundary condition: N” followed by an explanation: the faces are unpainted in the scene, the model cannot be calculated this way, so give them a boundary condition or mark a boundary condition “default”.
Add a point or mark the boundary condition default.
In the editor#
In the “FRS” tab a boundary condition takes one line, however many points (points) it has:
2 t 20 alpha 8 points 300,500,500 300,500,2200
19 adiabat default
If you type the points on the next line, the editor joins the record back into one line.