diff --git a/src/gpu/VirtualFluids_GPU/LBM/Simulation.cpp b/src/gpu/VirtualFluids_GPU/LBM/Simulation.cpp index 06fc56d3e64aad40741a45deeb4f0f6e388f325f..55c0250223901a94d03bd1e65bbb72438bcc99c3 100644 --- a/src/gpu/VirtualFluids_GPU/LBM/Simulation.cpp +++ b/src/gpu/VirtualFluids_GPU/LBM/Simulation.cpp @@ -977,9 +977,7 @@ void Simulation::readAndWriteFiles(uint timestep) //////////////////////////////////////////////////////////////////////// if (para->getCalcDragLift()) { - vf::lbm::dragLift::writeTotalDragLiftToFile(para.get(), timestep); - vf::lbm::dragLift::writeForcesToFile(para.get(), timestep); - vf::lbm::dragLift::writeForcesToVtk(para.get(), timestep); + printDragLift(para.get(), cudaMemoryManager.get(), timestep); } //////////////////////////////////////////////////////////////////////// if (para->getCalcParticles()) copyAndPrintParticles(para.get(), cudaMemoryManager.get(), timestep, false);