In CalculiX it is possible to perform steady-state hydraulic and aerodynamic network calculations, either as stand-alone applications, or together with mechanical and/or thermal calculations of the adjacent structures. Here, a stand-alone hydraulic network discussed in  is analyzed. The input deck pipe.f can be found in the test suite.
The geometry of the network is shown in Figure 25. It is a linear network consisting of:
All pipes are characterized by a Manning friction coefficient n=0.015. The input deck is shown in abbreviated form in Figure 26.
In CalculiX linear networks are modeled by means of 3-node network elements (D-type elements). In the corner nodes of the element the temperature and the pressure are unknown. They are assigned to the degrees of freedom 0 and 2, respectively. In the midside node the mass flux is unknown and is assigned to degree of freedom 1. The properties of the network elements are defined by the keyword *FLUID SECTION. They are treated extensively in Section 6.3 (gases), 6.4 (liquid pipes) and 6.5 (liquid channels). For the network at stake we need:
In the input deck, all these elements are defined as D-type elements, their nodes have the correct coordinates and by means of *FLUID SECTION cards each element is properly described. Notice that the dummy network entrance and exit elements are characterized by typeless *FLUID SECTION cards.
For a hydraulic network the material properties reduce to the density (on the *DENSITY card), the specific heat and the dynamic viscosity (both on the *FLUID SECTION card). The specific heat is only needed if heat transfer is being modeled. Here, this is not the case. The dynamic viscosity of water is N s/m . The boundary conditions reduce to the atmospheric pressure in node 3 and 25, both at the liquid surface of the reservoir. Remember that the pressure has the degree of freedom 2 in the corner nodes of the network elements.
Networks are only active in *COUPLED TEMPERATURE-DISPLACEMENT or *HEAT TRANSFER procedures. Here, we do not take the structure into account, so a heat transfer analysis will do. Finally, the gravity loading has to be specified, this is indeed essential for hydraulic networks. Regarding the nodal output, remember that NT requests degree of freedom 0, whereas U requests degrees of freedom 1 to 3. Since we are interested in the mass flux (DOF 1 in the middle nodes) and the pressure (DOF 2 in the corner nodes), U is selected underneath the *NODE PRINT line. Officially, U are displacements, and that's the way they are labeled in the .dat file.
The results in the .dat file look as follows:
displacements (vx,vy,vz) for set NALL and time 1. 2 8.9592E+01 0.0000E+00 0.0000E+00 3 0.0000E+00 1.0000E+05 0.0000E+00 4 8.9592E+01 0.0000E+00 0.0000E+00 5 0.0000E+00 1.3386E+05 0.0000E+00 6 8.9592E+01 0.0000E+00 0.0000E+00 7 0.0000E+00 1.2900E+05 0.0000E+00 8 8.9592E+01 0.0000E+00 0.0000E+00 9 0.0000E+00 1.2859E+05 0.0000E+00 10 8.9592E+01 0.0000E+00 0.0000E+00 11 0.0000E+00 1.5841E+05 0.0000E+00 12 8.9592E+01 0.0000E+00 0.0000E+00 13 0.0000E+00 1.6040E+05 0.0000E+00 14 8.9592E+01 0.0000E+00 0.0000E+00 15 0.0000E+00 1.9453E+05 0.0000E+00 16 8.9592E+01 0.0000E+00 0.0000E+00 17 0.0000E+00 1.7755E+05 0.0000E+00 18 8.9592E+01 0.0000E+00 0.0000E+00 19 0.0000E+00 1.8361E+05 0.0000E+00 20 8.9592E+01 0.0000E+00 0.0000E+00 21 0.0000E+00 1.5794E+05 0.0000E+00 22 8.9592E+01 0.0000E+00 0.0000E+00 23 0.0000E+00 1.6172E+05 0.0000E+00 24 8.9592E+01 0.0000E+00 0.0000E+00 25 0.0000E+00 1.0000E+05 0.0000E+00 26 8.9592E+01 0.0000E+00 0.0000E+00
The mass flux in the pipe (first DOF in the midside nodes, column 1) is constant and takes the value 89.592 kg/s. This agrees well with the result in  of 89.4 l/s. Since not all node and element definitions are listed in Figure 26 it is useful for the interpretation of the output to know that location A corresponds to node 5, location B to nodes 7-9, location C to nodes 11-13, location D to nodes 15-17, location E to nodes 19-21 and location F to node 23. The second column in the result file is the pressure. It shows that the bend, the valve and the contraction lead to a pressure decrease, whereas the enlargement leads to a pressure increase (the velocity drops).
If the structural side of the network (e.g. pipe walls) is modeled too, the fluid pressure can be mapped automatically onto the structural element faces. This is done by labels of type PxNP in the *DLOAD card.