|
[Sponsors] |
September 2, 2009, 02:56 |
pointDisplacement implementation
|
#1 |
Member
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17 |
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 |
|
Tags |
1.6.x |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM141dev A new implementation of dynamicKistlerGammaContactAngle | eberberovic | OpenFOAM Running, Solving & CFD | 26 | June 10, 2021 05:08 |
Implementation of boundary conditions for FVM | Tom | Main CFD Forum | 7 | August 26, 2014 06:58 |
Please explain the implementation of species transport Eqn in reactingFoam | kallipygian | OpenFOAM Running, Solving & CFD | 0 | October 13, 2008 08:29 |
Implementation details of SST k-omega model | Niels | Main CFD Forum | 3 | July 3, 2008 18:45 |
FEM Implementation of pressure-correction scheme | Markus | Main CFD Forum | 4 | January 6, 2007 02:53 |