pointDisplacement implementation
Hi guys,
I did a few search on the sites, and decided to implement a moving rigid patch "surface" in the flow field using pointDisplacement files. The plan is to add pointDisplacement as a elementVectorField in the form elementVectorField pointDisplacement ( IOobject ( "pointDisplacement", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE ), dimensionedVector ("0, 0, 0", dimless) ); and add in the pimpleDyMFoam before each iteration pointDisplacement.patch("surface") += pos(position of point on the patch)+ movement from the original position; pointDisplacement.write(); Do you think it'll work? I'm not really familiar with C++ and is having a hard time understanding the file structure of OF, and would like to know your opinion before making any changes that would mess up the solver or blow up the computer. Thanks. John |
All times are GMT -4. The time now is 10:04. |