|
[Sponsors] |
April 18, 2009, 11:18 |
dieselFoam with spray bug
|
#1 |
New Member
Xu Bo
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
When I use dieselFoam to simulate spray with
collisionModel ORourke()ORourkeCoeffs{ coalescence on;} , I found an error following: Evolving Spray #0 Foam::error:rintStack(Foam::Ostream&) in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #1 Foam::sigFpe::sigFpeHandler(int) in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so" #2 Uninterpreted: [0xb7f7d420] #3 Foam::C7H16:v(double, double) const in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libliquids.so" #4 Foam::liquidMixture:v(double, double, Foam::Field<double> const&) const in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libliquidMixture.so" #5 Foam:arcel::setRelaxationTimes(int, double&, Foam::Field<double>&, double&, Foam::Field<double>&, Foam::spray const&, double, Foam::Vector<double> const&, double, double, Foam::Field<double> const&, Foam::Field<double> const&, double) in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdieselSpray.so" #6 Foam:arcel::move(Foam::spray&) in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdieselSpray.so" #7 void Foam::Cloud<Foam:arcel>::move<Foam::spray>(Foam: :spray&) in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdieselSpray.so" #8 Foam::spray::move() in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdieselSpray.so" #9 Foam::spray::evolve() in "/root/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libdieselSpray.so" #10 main in "/root/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/dieselFoam" #11 __libc_start_main in "/lib/libc.so.6" #12 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/root/OpenFOAM/OpenFOAM-1.5/applications/bin/linuxGccDPOpt/dieselFoam" Floating point exception |
|
April 20, 2009, 02:58 |
|
#2 |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
What is the setup?
is it reproducable? |
|
April 23, 2009, 02:10 |
|
#3 |
New Member
Xu Bo
Join Date: Mar 2009
Posts: 7
Rep Power: 17 |
When I use collisionModel trajectory, the problem also happened.
So I debug the scource code trajectoryCM.H, I found the error in this file. scalar vAlign = vRel & (p/dist); When dist=0.0,the floating error is appear.On the collision model this means two droplets at the same position.So I force the value of dist not zero,everything goes well.But on collision theory it is correct? Last edited by Acebobo; April 23, 2009 at 02:38. |
|
April 24, 2009, 03:36 |
|
#4 | |
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 693
Rep Power: 29 |
Quote:
dist is just a normalization so limiting it to SMALL ,or adding SMALL, is a good change. scalar vAlign = vRel & (p/(dist + SMALL)); I should have realized that 2 parcels will someday occupy the same position |
||
Tags |
dieselenginefoam, orourke, spray |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DieselFoam spray | thumthae | OpenFOAM Running, Solving & CFD | 98 | December 24, 2014 16:55 |
DieselFoam Spray Evaporation Continuity Error | spv24 | OpenFOAM Running, Solving & CFD | 14 | December 30, 2010 11:50 |
Spray slows then stops | coastal593 | OpenFOAM Running, Solving & CFD | 6 | July 31, 2007 17:14 |
spray injection | mmacrb | FLUENT | 0 | January 10, 2007 05:57 |
problems with unsteady spray simulation | Mathias | FLUENT | 1 | July 20, 2006 17:13 |