CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (https://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   field read after each Time Step (https://www.cfd-online.com/Forums/openfoam-programming-development/223104-field-read-after-each-time-step.html)

johanning December 23, 2019 14:25

field read after each Time Step
 
Hello,
I have an ultrasonic field that changes over time. Now I want to see how particles move in this field. I tried to add particles to the previously solved field (with rhoPimpleFoam) with icoUncoupledKinematicParcelFoam. However, the solver calculates the field once and then lets the particles slide through the field with the initial speed over the whole time. But it should always re-read the field, because the field changes over time. Anyone have an idea how exactly I have to rewrite the solver so that the field is not only read in once at the beginning, but after each time step? Unfortunately I am bad in C++.

Thanks a lot

HPE December 29, 2019 07:59

please follow up the links below:


All times are GMT -4. The time now is 03:14.