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

Using spray cloud functions/variables

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By mateusdias89

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 18, 2016, 14:56
Default Using spray cloud functions/variables
  #1
New Member
 
Mateus Dias Ribeiro
Join Date: Jun 2013
Location: Guaratinguetá, Brazil
Posts: 20
Rep Power: 13
mateusdias89 is on a distinguished road
Hello foamers,

I'm currently working with lagrangian particles in OpenFOAM and I'm trying to develop my own solver based on sprayFoam for spray injection and mixture formation of a spray injection test-case.

I think my doubt is quite simple but I'm struggling with this right now. I'm reasonably familiar on how to create volScalar, volVector and so on (like U, rho, T...) fields and using some class member functions of the eulerian phase. However, I'm quite confused about how to access some spray cloud member variables and functions.

For example, I know that the function penetration(scalar a) defined at KinematicCloudI.H gives me the liquid penetration based on the liquid mass fraction (for instance, 0.95). This function is called at lagrangian/spray/clouds/Templates/SprayCloud/SprayCloud.C this way:

Code:
scalar pen = this->penetration(0.95);
My doubt is: How should I call this function on the solver level?

Hope I was clear enough. Thanks in advance!

Regards,
Mateus
rrschor and amolrajan like this.
mateusdias89 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
Error during reconstructing lagarangian fields ybapat OpenFOAM 9 November 17, 2014 08:52
Missing functions/variables Taiwo_Oni FLUENT 0 August 14, 2014 13:16
problem with solving lagrange reaction cloud Polli OpenFOAM Running, Solving & CFD 0 April 30, 2014 08:53
Running OpenFoam on a Computer Cluster in the Cloud - cloudnumbers.com Markus Schmidberger OpenFOAM Announcements from Other Sources 0 July 26, 2011 09:18
spray injection mmacrb FLUENT 0 January 10, 2007 05:57


All times are GMT -4. The time now is 04:47.