CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

pointDisplacement implementation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 2, 2009, 02:56
Default pointDisplacement implementation
  #1
Member
 
John Wang
Join Date: Mar 2009
Location: Singapore
Posts: 73
Rep Power: 17
cwang5 is on a distinguished road
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
cwang5 is offline   Reply With Quote

Reply

Tags
1.6.x


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 13:44.