Reply To: Cylinder2D study
OpenLB – Open Source Lattice Boltzmann Code › Forums › on OpenLB › General Topics › Cylinder2D study › Reply To: Cylinder2D study
Perfect thanks,
I tried to save drag coefficient data on a file but it only works for one random time step value and not for every one, I don’t find why ? (Is there a way to write the drag coefficient at every x time step ?)
The code is :
CSV<T> csvWriterSim(“SimulationV=” + std::to_string(converter.getCharPhysVelocity()));
csvWriterSim.writeDataFile(converter.getPhysTime( iT ), _drag[0], 16);
Another question, when I look a the simulation it looks like the flow is coming back into the channel from the pressure outlet.
I don’t know if it is normal and if it stops after several time steps or if there is a problem with my boundary conditions ?
Thank you for your help,
Antoine