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

Inclusion of Damping Function in Stochastic Dispersion Model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 15, 2014, 00:45
Default Inclusion of Damping Function in Stochastic Dispersion Model
  #1
Member
 
India
Join Date: Oct 2012
Posts: 84
Rep Power: 13
mayank.dce2k7 is on a distinguished road
Hi Foamers,

I want to introduce some correction in Stochastic Dispersion Model file StochasticDispersion.C. I have to introduce a damping factor that modifies the particle fluctuation velocity(due to turbulence) near the wall.

Following code is from StochasticDispersionRAS.C:

Code:
scalar sigma = sqrt(2.0*k/3.0);
I want to modify above code to something like below:

Code:
scalar sigma=(1-exp(-0.02*yPlus[p.cell()]))*sqrt(2.0*k/3.0);
where yPlus is non-dimensional wall distance and p.cell() is location of cell where the particle is present.

I can calculate yPlus for each cell, using a post processing utility, at t=0. yPlus is then saved in text file in '0' directory of my OpenFOAM case setup. I need to modify the dispersion model code so that it can access the calculated yPlus values as explained above.

Can somebody guide me?

Regards,
Mayank
mayank.dce2k7 is offline   Reply With Quote

Reply


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
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 04:37
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
damping function for EARSM model Vincent Main CFD Forum 0 January 17, 2001 10:41


All times are GMT -4. The time now is 21:00.