The invention relates to a casting machine (1) for casting a flowable mass (M), in particular a flowable mass with suspended solid particles. Said casting machine comprises a mass container (2) for receiving the flowable mass and at least one valve (32, 42; 50; 60; 70; 80; 90; 100; 110; 120) that is fluidically connected to the inner area of the mass container. When the pressure changes in the direction of the valve along the valve passage, said valve is in the open state and in the absence of a pressure change in the direction of the valve passage, said valve is in the closed state. The casting machine also comprises pressure generating means (3, 4, 5, 6, 32, 42) for generating a change in the pressure in the direction of the valve passage. Said valve (50; 60; 70; 80; 90; 100; 110; 120) comprises a valve body (51; 61; 71; 81; 91; 101; 111; 121) comprising a valve opening and at least one valve cover (53; 64; 76; 83; 94; 105; 115; 128) that is oriented towards the valve opening, articulated on the valve body and is subjected to an elastic prestressing that presses the valve cover against the valve opening and seals it. The invention also relates to a valve (50; 60; 70; 80; 90; 100; 110; 120) and to pressure generating means (3, 4, 5, 6, 32, 42) that are suitable for the modular construction of the claimed casting machine (1).