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

Question about Plotting Vapor Penetration Length

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By asakusa

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 30, 2017, 04:31
Question Question about Plotting Vapor Penetration Length
  #1
New Member
 
FengHaifeng
Join Date: May 2017
Posts: 4
Rep Power: 8
asakusa is on a distinguished road
Hello!
I'm a beginner of OpenFOAM and I'm using sprayFoam(in OF4.1). I need to plot the liquid penetration length and vapor penetration length, comparing to the standard result to check if my model is correct. Liquid penetration length can be calculated by the function penetration.(fraction)(the pretty standard of fraction for liquid penetration is 0.95), as the following code in SprayCloud.C:
template<class CloudType>
void Foam::SprayCloud<CloudType>::info()
{
CloudType::info();
scalar d32 = 1.0e+6*this->Dij(3, 2);
scalar d10 = 1.0e+6*this->Dij(1, 0);
scalar dMax = 1.0e+6*this->Dmax();
scalar pen = this->penetration(0.95);

Info << " D10, D32, Dmax (mu) = " << d10 << ", " << d32
<< ", " << dMax << nl
<< " Liquid penetration 95% mass (m) = " << pen << endl;

}
But how can I calculate the vapor penetration of every time step? Should I still use this function? Thank you in advance.
asakusa is offline   Reply With Quote

Old   August 18, 2020, 09:24
Default
  #2
rmn
New Member
 
Roman Reinhardt
Join Date: Jun 2020
Location: Germany
Posts: 4
Rep Power: 5
rmn is on a distinguished road
Hi asakusa,

have you found a solution back then?
I am at the same point as you have been.

I also struggle to identify which files and entries from the time directories I have to use for the plot.

I hope you (or anybody else) will still see this.
Thank you so much in advance.

Greetings
rmn is offline   Reply With Quote

Reply

Tags
sprayfoam, vapor penetration


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
SixDoFRigidBodyMotion under OF2.3 ( self oscillating cylinder) Scabbard OpenFOAM Running, Solving & CFD 1 July 22, 2014 04:50
Quick Reference Value Question (Length) kyles.sverige FLUENT 0 May 9, 2014 15:54
Integral Length Scale vs Turbulent Length Scale Scott Nordsen FLUENT 2 January 20, 2014 01:17
Cases with small length scale work fine on a single processor but fail in parallel adona058 OpenFOAM Bugs 5 April 17, 2009 04:41
Characteristic Length Scale Thomas P. Abraham Main CFD Forum 2 April 20, 1999 17:16


All times are GMT -4. The time now is 07:11.