|
[Sponsors] |
January 18, 2016, 14:56 |
Using spray cloud functions/variables
|
#1 |
New Member
Mateus Dias Ribeiro
Join Date: Jun 2013
Location: Guaratinguetá, Brazil
Posts: 20
Rep Power: 13 |
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); Hope I was clear enough. Thanks in advance! Regards, Mateus |
|
|
|
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 |