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

3d spray vs axisymmetric spray (dieselFoam)

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 2 Post By niklas
  • 2 Post By kmpang

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 1, 2011, 07:23
Default 3d spray vs axisymmetric spray (dieselFoam)
  #1
New Member
 
fairus
Join Date: Apr 2010
Posts: 20
Rep Power: 16
mfmohdyasin is on a distinguished road
Dear all,
I ran a 3d spray simulation in a cylindrical geometry using dieselFoam. No combustion. It ran fine and gave a satisfactory result.

Then I tried to simulate the same case using axisymmetric mesh with wedge BCs and 5deg wedge angle. I reduce the fuel mass flow rate by adjusting the "mass" in injectorProperties file to get the desired mfr as followed:
axisymmetric_mfr= 3d_mfr * 5/360

The log file gives a similar injection velocity as the 3d case:

"Average Velocity for injector 0: 27.1314 m/s, injection pressure = 3.90451 bar
Constructing two dimensional spray injection.Calculated angle of wedge is 5 deg."

However, when I did so, openFoam always complain with usual error message:

"attempt to use janafThermo<equationOfState> out of temperature range"

Has anyone seen similar situation?

Thanks,
Fairus
mfmohdyasin is offline   Reply With Quote

Old   June 1, 2011, 08:00
Default
  #2
Super Moderator
 
niklas's Avatar
 
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29
niklas will become famous soon enoughniklas will become famous soon enough
in axisymmetric runs you dont have to adjust the mass, foam will do that for you.
just set the value it would have for a full 3d run.
Behrad_A and mzy like this.
niklas is offline   Reply With Quote

Old   June 1, 2011, 11:56
Default
  #3
New Member
 
fairus
Join Date: Apr 2010
Posts: 20
Rep Power: 16
mfmohdyasin is on a distinguished road
Thanks Niklas,

Fairus
mfmohdyasin is offline   Reply With Quote

Old   August 13, 2012, 06:25
Default
  #4
New Member
 
Pang
Join Date: Mar 2011
Location: Denmark
Posts: 25
Rep Power: 15
kmpang is on a distinguished road
Hi Foamers,

I'm using OF 2.0.x. I'm trying to run the tutorial Aachen Bomb case but with a 4-degree, 2-D axisymmetry mesh. However, at half way through, I got this error message:

Evolving Spray


--> FOAM FATAL ERROR:
Hitting a wedge patch should not be possible.

From function void Foam:article::hitWedgePatch(const wedgePolyPatch& wpp, TrackData&)
in file /home/kmpan/OpenFOAM/OpenFOAM-2.0.x/src/lagrangian/basic/lnInclude/particleTemplates.C at line 941.

FOAM aborting

#0 Foam::error:rintStack(Foam::Ostream&) in "/home/kmpan/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/kmpan/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 void Foam:article::hitWedgePatch<Foam:arcel::tracki ngData>(Foam::wedgePolyPatch const&, Foam:arcel::trackingData&) in "/home/kmpan/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libdieselSpray.so"
#3 double Foam:article::trackToFace<Foam:arcel::tracking Data>(Foam::Vector<double> const&, Foam:arcel::trackingData&) in "/home/kmpan/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libdieselSpray.so"
#4 Foam:arcel::move(Foam:arcel::trackingData&, double) in "/home/kmpan/OpenFOAM/OpenFOAM-2.0.x/platforms/linux64GccDPOpt/lib/libdieselSpray.so"
.
.
.

Aborted

I guess using 'wedge' is the correct approach to produce the mesh but may I know if it's compatible with the diesel spray application?

Thanks in advance.

Best regards,
Pang.
kmpang is offline   Reply With Quote

Old   August 13, 2012, 18:47
Default
  #5
New Member
 
Pang
Join Date: Mar 2011
Location: Denmark
Posts: 25
Rep Power: 15
kmpang is on a distinguished road
Hi again,

I have found the solution based on this document:

http://www.dhcae-tools.com/images/dh...rcelSolver.pdf

There is a little difference in the compilation though. I navigated to the location "OpenFOAM-2.0.x/src/lagrangian" and use "./Allwmake", instead of using "wmake libso" at the location "OpenFOAM-2.0.x/src/lagrangian/basic". I think that such way is to update those diesel spray libraries (in dieselFoam) as well. Looking forward to someone to confirm with me, or to correct me.

Regards,
Pang.
charryzzz and sourav90 like this.
kmpang is offline   Reply With Quote

Old   November 5, 2013, 01:17
Default
  #6
New Member
 
RJ HO
Join Date: Dec 2012
Posts: 21
Rep Power: 13
RJ87 is on a distinguished road
I wondering if sprayFoam from OpenFoam 2.2.x has the same function of adjusting the mass like dieselFoam?

I found the adjustment codes in OpenFoam 1.6-ext. But I don't see that in sprayFoam in OpenFoam 2.2.x. Please correct me if i'm wrong. Anyway, any suggestion on how to introduce the correct mass with 2D sprayFoam case on O.F 2.2.x?
RJ87 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
gasoline spray simulation using dieselFoam qhdgj OpenFOAM Running, Solving & CFD 10 July 10, 2016 02:55
DieselFoam spray thumthae OpenFOAM Running, Solving & CFD 98 December 24, 2014 16:55
DieselFoam spray model qndfekjb OpenFOAM 17 August 27, 2012 17:03
Unstable spray for small mesh size (dieselFoam) namCFD OpenFOAM 2 August 13, 2010 16:51
dieselFoam with spray bug Acebobo OpenFOAM Bugs 3 April 24, 2009 03:36


All times are GMT -4. The time now is 00:50.