|
[Sponsors] | |||||
|
|
|
#1 |
|
New Member
Jens Keller
Join Date: Nov 2011
Location: Karlsruhe
Posts: 5
Rep Power: 3 ![]() |
Hi,
why is the aachenBomb tutorial with the solver sprayFOAM in OpenFOAM 2.1.x not working? I have updated my Foam version today! At first OpenFOAM tells me that: Code:
keyword massFlowRate is undefined in dictionary run/tutorials/lagrangian/sprayFoam/aachenBomb/constant/sprayCloudProperties::subModels::coneNozzleInjectionCoeffs Code:
massFlowRate 1e-3; Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/home/XXX/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #1 Foam::sigSegv::sigHandler(int) in "/home/XXX/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #2 in "/lib64/libc.so.6" #3 Foam::cachedRandom::scalar01() in "/home/XXX/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/libOpenFOAM.so" #4 Foam::ConeNozzleInjection<Foam::KinematicCloud<Foam::Cloud<Foam::SprayParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > >::ConeNozzleInjection(Foam::dictionary const&, Foam::KinematicCloud<Foam::Cloud<Foam::SprayParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > >&) in "/home/XXX/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/liblagrangianSpray.so" #5 Foam::InjectionModel<Foam::KinematicCloud<Foam::Cloud<Foam::SprayParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > >::adddictionaryConstructorToTable<Foam::ConeNozzleInjection<Foam::KinematicCloud<Foam::Cloud<Foam::SprayParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > > > >::New(Foam::dictionary const&, Foam::KinematicCloud<Foam::Cloud<Foam::SprayParcel<Foam::ReactingParcel<Foam::ThermoParcel<Foam::KinematicParcel<Foam::particle> > > > > >&) in "/home/XXX/OpenFOAM/OpenFOAM-2.1.x/platforms/linux64GccDPOpt/lib/liblagrangianSpray.so" |
|
|
|
|
|
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,313
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Greetings Jens,
The git version isn't always very stable. They made some changes to the git version, which affects that tutorial, namely this one: https://github.com/OpenFOAM/OpenFOAM...9e9c33a0fbe341 I think the related change is being tracked here: http://www.openfoam.com/mantisbt/view.php?id=407 - you can properly complain there ![]() Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
Senior Member
Marco A. Turcios
Join Date: Mar 2009
Location: Vancouver, BC, Canada
Posts: 505
Rep Power: 9 ![]() |
I'm the one who has reported on the issue. I guess the tutorial case hasn't been updated to reflect the changes. I've uploaded a sprayCloudProperties that works with the current version of sprayFoam (tested this morning), just copy it over and remove the extension.
There are a lot of new entries that I'm still figuring out. Mainly I'd like to know what the constantProperties part of the file defines for the parcels. Still looking for answers, will post when I find anything of note. EDIT: I'd performed some limited testing and it appears that rho0,T0 and Cp0 are the properties of parcels as they are introduced into the domain. As the file currently stands, the r0, cp0 are for water at atmospheric pressure and T0. The dieselSpray class used to pull the properties from whatever liquid you were injecting at the stated conditions automatically. I'm still figuring out what properties get used where, as I think it would be better to obtain properties from liquidProperties. Last edited by mturcios777; February 9, 2012 at 14:23. |
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Niklas Nordin
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 677
Rep Power: 12 ![]() |
i dont understand why you need to define massFlowRate, it looks like
you have some old files still hanging around. If you do you can get some weird effect. Have you done clean in lagrangian/intermediate and then wake libso? still, I think you need to give it at keyword before the value. Like massFlowRate constant 1.0; |
|
|
|
|
|
|
|
|
#5 | |
|
New Member
Jens Keller
Join Date: Nov 2011
Location: Karlsruhe
Posts: 5
Rep Power: 3 ![]() |
Quote:
it works now! |
||
|
|
|
||
![]() |
| Tags |
| sprayfoam |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| DPM parallel is not working but serial is working | johnwinter | FLUENT | 1 | March 27, 2012 02:01 |
| ICEM working directory setting | Bogesz | CFX | 2 | October 8, 2008 07:45 |
| Working Principle of Micro-Oven | aero | CD-adapco | 2 | January 31, 2007 05:00 |
| Help required on working of Micro-oven | aero | CFX | 4 | January 19, 2007 08:21 |
| Help required on working of Woven | aero | FLUENT | 0 | January 16, 2007 06:25 |