|
[Sponsors] |
June 1, 2011, 07:23 |
3d spray vs axisymmetric spray (dieselFoam)
|
#1 |
New Member
fairus
Join Date: Apr 2010
Posts: 20
Rep Power: 16 |
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 |
|
June 1, 2011, 08:00 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
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. |
|
June 1, 2011, 11:56 |
|
#3 |
New Member
fairus
Join Date: Apr 2010
Posts: 20
Rep Power: 16 |
Thanks Niklas,
Fairus |
|
August 13, 2012, 06:25 |
|
#4 |
New Member
Pang
Join Date: Mar 2011
Location: Denmark
Posts: 25
Rep Power: 15 |
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. |
|
August 13, 2012, 18:47 |
|
#5 |
New Member
Pang
Join Date: Mar 2011
Location: Denmark
Posts: 25
Rep Power: 15 |
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. |
|
November 5, 2013, 01:17 |
|
#6 |
New Member
RJ HO
Join Date: Dec 2012
Posts: 21
Rep Power: 13 |
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? |
|
|
|
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 |