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

modified stochastic dispersion

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2022, 05:21
Default modified stochastic dispersion
  #1
New Member
 
Charles Guaquiere
Join Date: Sep 2022
Posts: 9
Rep Power: 2
CGuaq is on a distinguished road
Hello,

I try to modify stochastic dispersion model on Open FOAM to improved my results concerning particles deposition. I found a tutorial from Chalmers University:

http://www.tfd.chalmers.se/~hani/kur..._Xu_Report.pdf

I changed the stochasticDispersionRAS.C and the stochasticDispersionRAS.H like in the tutorial but it used Open FOAM 4 and I use Open FOAM 9. My problem is on the following part of the code (from line 21 to 33):

Code:
yP_
(
   IOobject
   (
      "yP",
       this->owner_.mesh().time().timeName(),
       this->owner_.mesh(),
       IOobject::NO_READ,
       IOobject::AUTO_WRITE
    ),
   this->owner_.mesh(),
   dimensionedScalar("yP", dimless, 0.0)
)
When I compile the code, computer return this error message:

error_message.jpg

I don't know what I need to modify to make it works on OpenFOAM 9. I have already tried several modifications, without success.

I am new to programming on openFOAM so can anyone help me ?
CGuaq is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[General] Extracting ParaView Data into Python Arrays Jeffzda ParaView 19 June 11, 2020 16:54
Modified wave number: which one would affect dispersion error? TurbJet Main CFD Forum 12 May 17, 2019 17:59
DPM particle tracks with and without turbulence dispersion sthinmind FLUENT 1 April 3, 2018 10:56
Inclusion of Damping Function in Stochastic Dispersion Model mayank.dce2k7 OpenFOAM Running, Solving & CFD 0 July 15, 2014 01:45
Turbulent Dispersion for Coal Combustion gravis CFX 2 March 24, 2010 00:56


All times are GMT -4. The time now is 23:28.