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

Extracting Liquid Penetration Length

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 14, 2013, 07:23
Default Extracting Liquid Penetration Length
  #1
New Member
 
Ah Cai
Join Date: Dec 2010
Location: Malaysia
Posts: 16
Rep Power: 6
ahcai007 is on a distinguished road
Hi,

I am using OF22x, sprayFoam.

I would like to output the Liquid Penetration Length (LPL) to a file so that I can plot it against runTime. But, I can't seem to find the correct function for LPL.

For 20x, the function to call is dieselSpray.penetration(0.95), but it does not work for sprayFoam in 22x.

Any advice is appreciated. Thanks!!



Ahcai
ahcai007 is offline   Reply With Quote

Old   August 14, 2013, 12:55
Default
  #2
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
mturcios777 will become famous soon enough
Its similar for OF22x. but instead of dieselSpray.penetration(0.95), use parcels.penetration(0.95). The member function has the same name, but the spray is now called parcels as sprayFoam is more general than dieselFoam.
mturcios777 is offline   Reply With Quote

Old   August 16, 2013, 06:14
Default
  #3
New Member
 
Ah Cai
Join Date: Dec 2010
Location: Malaysia
Posts: 16
Rep Power: 6
ahcai007 is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
Its similar for OF22x. but instead of dieselSpray.penetration(0.95), use parcels.penetration(0.95). The member function has the same name, but the spray is now called parcels as sprayFoam is more general than dieselFoam.
Thanks a lot!! it works perfectly!!
ahcai007 is offline   Reply With Quote

Old   May 15, 2014, 14:44
Default Liquid Length
  #4
Member
 
yes
Join Date: Apr 2014
Posts: 30
Rep Power: 3
ENKIME is on a distinguished road
Quote:
Originally Posted by mturcios777 View Post
Its similar for OF22x. but instead of dieselSpray.penetration(0.95), use parcels.penetration(0.95). The member function has the same name, but the spray is now called parcels as sprayFoam is more general than dieselFoam.

Hello Mutricios
I'm also new at using openFoam so I really appreciate some advice with my issue.
I was running a simulation of diesel spray in openFoam with OpenFoam 2.2.2.
I need a way to extract liquid length (LL) not liquid penetration(penetracion) to get a graph like the one attach.
I'm running out of sources of information because the specific of the problem.
Hopping you can help.
Thanks a lot my friend
Kind regards
Attached Images
File Type: jpg Screenshot from 2014-05-13 18:29:30.jpg (41.5 KB, 37 views)
ENKIME is offline   Reply With Quote

Old   May 15, 2014, 14:57
Default
  #5
Senior Member
 
mturcios777's Avatar
 
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 725
Rep Power: 18
mturcios777 will become famous soon enough
I don't believe there is a default function for calculating the liquid length, though I could be wrong. You'll have to search the Kinematic library for sprays to see if something is there. Or you'll need to add that function, which doesn't look too difficult. You'll have to follow a similar procedure that the penetration function uses, but instead of averaging with mass, just take the max of all the distances. Good luck!
mturcios777 is offline   Reply With Quote

Old   May 16, 2014, 12:03
Default
  #6
Member
 
yes
Join Date: Apr 2014
Posts: 30
Rep Power: 3
ENKIME is on a distinguished road
Thanks a lot for the quick answer my friend I really appreciate your time.
Really I'm a rookie in this, but exactly where can I find the statement that, need to be added, in the main solver or in the cloud properties?
Also I'm using foamLog for extract that information and bash commands for the penetration do you know a simplest way for extract the information?
King regards.
ENKIME is offline   Reply With Quote

Reply

Tags
dieselspray, sprayfoam

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Liquid penetration length and lift-off length lunar1984 STAR-CD 2 June 16, 2013 16:14
ploting liquid penetration mooyii OpenFOAM 2 September 9, 2011 18:24
Determination of liquid length in fluent jwillie2000 FLUENT 0 August 6, 2010 11:21
Turbulence length scale and integral length scale rizhang CFX 1 September 10, 2009 06:38
Need some help for total liquid fraction linus FLUENT 0 December 19, 2006 04:29


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