Device for producing a three-dimensional workpiece by carrying out an additive layering process, wherein the device comprises: - a build area that is configured to receive a raw material powder layer; - a powder application device that is configured to deploy the raw material powder layer onto the build area ; - an irradiation system that is configured to selectively irradiate the raw material powder layer on the build area ; wherein the device is configured to provide at least one gas flow that is directed along an axis (A) extending from a first edge region of the build area towards a second edge region of the build area ; wherein the device comprises at least one gas flow guide element that is configured to divert at least part of the gas flow away from the build area before said gas flow reaches the second edge region ; wherein the gas flow guide element comprises a gas diversion portion configured to receive gas in order to divert the gas away from the build area , such that the gas flow guide element is configured to remove the at least part of the gas flow on its way across the build area ; and wherein the gas flow guide element comprises a gas supply portion that is configured to supply a fresh gas flow along the build area , wherein said fresh gas flow is directed in the same direction as the gas flow before it is partially diverted away from the build area . - a build area that is configured to receive a raw material powder layer; - a powder application device that is configured to deploy the raw material powder layer onto the build area ; - an irradiation system that is configured to selectively irradiate the raw material powder layer on the build area ; wherein the device is configured to provide at least one gas flow that is directed along an axis (A) extending from a first edge region of the build area towards a second edge region of the build area ; wherein the device comprises at least one gas flow guide element that is configured to divert at least part of the gas flow away from the build area before said gas flow reaches the second edge region ; wherein the gas flow guide element comprises a gas diversion portion configured to receive gas in order to divert the gas away from the build area , such that the gas flow guide element is configured to remove the at least part of the gas flow on its way across the build area ; and wherein the gas flow guide element comprises a gas supply portion that is configured to supply a fresh gas flow along the build area , wherein said fresh gas flow is directed in the same direction as the gas flow before it is partially diverted away from the build area . wherein the device is configured to provide at least one gas flow that is directed along an axis (A) extending from a first edge region of the build area towards a second edge region of the build area ; wherein the device comprises at least one gas flow guide element that is configured to divert at least part of the gas flow away from the build area before said gas flow reaches the second edge region ; wherein the gas flow guide element comprises a gas diversion portion configured to receive gas in order to divert the gas away from the build area , such that the gas flow guide element is configured to remove the at least part of the gas flow on its way across the build area ; and wherein the gas flow guide element comprises a gas supply portion that is configured to supply a fresh gas flow along the build area , wherein said fresh gas flow is directed in the same direction as the gas flow before it is partially diverted away from the build area . <EOS>