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

Run error of AAchenbomb in Openfoam 1.6-ext

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2012, 13:48
Default Run error of AAchenbomb in Openfoam 1.6-ext
  #1
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hallo everyone,

I try to run AAchenbomb under OpenFOAM 1.6-ext and following error came out: "keyword sprayIteration is undefined in dictionary ".../AAchenbomb/constant/sprayProperties"".
Does anyone known how to fix it? Thanks.

Sincerely,

Tao
sanpishou is offline   Reply With Quote

Old   August 2, 2012, 15:35
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings sanpishou and welcome to the forum!

Try using the information from the same tutorial for OpenFOAM 1.7.x: https://github.com/OpenCFD/OpenFOAM-...oam/aachenBomb

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 5, 2012, 18:02
Default
  #3
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hallo Bruno,

thanks for your reply. I tried the tutorial for OpenFOAM 1.7.1. but the same error happened again. Do I need to update my Openfoam version? I heard that the 1.6 -ext is relatively more stable.

Best Regards
Tao
sanpishou is offline   Reply With Quote

Old   August 6, 2012, 00:17
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

Something very strange is going on there with your cases... which exact tutorial are you trying to run and which commands are you running?

And are you 100% certain you're running the right binaries? Maybe you think you're running 1.6-ext, but in fact you're running OpenFOAM 2.1.1!?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 6, 2012, 04:21
Default
  #5
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

thanks for the quick reply. I'm running the tutorial for OpenFOAM 1.7.x in 1.6-ext version. I copied the display in the terminal below, hope you can find the problem.

Constructing Spray
--> FOAM Warning :
From function Cloud<ParticleType>::initCloud(const bool checkClass)
in file /build/buildd/openfoam-1.6-ext-1.6.0/OpenFOAM-1.6-ext/src/lagrangian/basic/lnInclude/CloudIO.C at line 125
Cannot read particle positions file
"/home/tao/Desktop/AAchenbomb/0/lagrangian/defaultCloud"
assuming the initial cloud contains 0 particles.
Selecting injectorType unitInjector
Selecting atomizationModel off
Selecting dragModel standardDragModel
Selecting evaporationModel standardEvaporationModel
Selecting heatTransferModel RanzMarshall
Selecting wallModel reflect
Selecting breakupModel ReitzKHRT
Selecting collisionModel off
Selecting dispersionModel off
Selecting injectorModel hollowConeInjector
Selecting pdfType RosinRammler


--> FOAM FATAL IO ERROR:
keyword sprayIteration is undefined in dictionary "/home/tao/Desktop/AAchenbomb/constant/sprayProperties"

file: /home/tao/Desktop/AAchenbomb/constant/sprayProperties from line 20 to line 148.

From function dictionary::subDict(const word& keyword)
in file db/dictionary/dictionary.C at line 475.

FOAM exiting



Regards
Tao
sanpishou is offline   Reply With Quote

Old   August 7, 2012, 08:02
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

This is very strange... which commit of 1.6-ext are you using? To know this, run in 1.6-ext's folder:
Code:
git log -n1
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 7, 2012, 10:21
Default
  #7
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

I found a definition of sprayIteration (below) and added into the sprayProperties. It runs.
sprayIteration
{
sprayIterate 1;
sprayRelaxFactor 1;
minimumParcelMass 1e-14;
}

after a while this problem occurred:

From function specieThermo<thermo>::T(scalar f, scalar T0, scalar (specieThermo<thermo>::*F)(const scalar) const, scalar (specieThermo<thermo>::*dFdT)(const scalar) const) const
in file /build/buildd/openfoam-1.6-ext-1.6.0/OpenFOAM-1.6-ext/src/thermophysicalModels/specie/lnInclude/specieThermoI.H at line 73
Maximum number of iterations exceeded. Rescue by HJ


do you have a clue, how to fix it?

Regards
Tao
sanpishou is offline   Reply With Quote

Old   August 7, 2012, 10:27
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

I would have a better clue if you had answered my previous question
Quote:
Originally Posted by wyldckat View Post
This is very strange... which commit of 1.6-ext are you using? To know this, run in 1.6-ext's folder:
Code:
git log -n1
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   August 7, 2012, 10:33
Default
  #9
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

this is what happened when I typed the code:
tao@tao-laptop:~$ git log -n1
fatal: Not a git repository (or any of the parent directories): .git

does this mean I have a big problem?

Regards
Tao
sanpishou is offline   Reply With Quote

Old   August 7, 2012, 10:47
Default
  #10
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
The idea is to execute the command when working in OpenFOAM's folder:
Code:
cd /build/buildd/openfoam-1.6-ext-1.6.0/OpenFOAM-1.6-ext/
#or do
cd $WM_PROJECT_DIR
git log -1
__________________
wyldckat is offline   Reply With Quote

Old   September 10, 2012, 15:35
Default Nothing better
  #11
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

still the same problem after vacation . I posted the command below. Can you help me find out a solution?

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


Reading thermophysicalProperties
Selecting psiChemistryModel ODEChemistryModel<gasThermoPhysics>
Selecting thermodynamics package hsPsiMixtureThermo<reactingMixture<gasThermoPhysic s>>
Selecting chemistryReader chemkinReader
Selecting chemistrySolver ode
ODEChemistryModel: Number of species = 5 and reactions = 1
Reading field U

Reading/calculating face flux field phi

Creating turbulence model.

Selecting turbulence model type RASModel
Selecting RAS turbulence model kEpsilon
kEpsilonCoeffs
{
Cmu 0.09;
C1 1.44;
C2 1.92;
C3 -0.33;
sigmak 1;
sigmaEps 1.3;
Prt 1;
}

Creating field DpDt


Reading g
Reading combustion properties

Constructing Spray
--> FOAM Warning :
From function Cloud<ParticleType>::initCloud(const bool checkClass)
in file /build/buildd/openfoam-1.6-ext-1.6.0/OpenFOAM-1.6-ext/src/lagrangian/basic/lnInclude/CloudIO.C at line 125
Cannot read particle positions file
"/home/tao/Aachenbomb/0/lagrangian/defaultCloud"
assuming the initial cloud contains 0 particles.
Selecting injectorType unitInjector
Selecting atomizationModel off
Selecting dragModel standardDragModel
Selecting evaporationModel standardEvaporationModel
Selecting heatTransferModel RanzMarshall
Selecting wallModel reflect
Selecting breakupModel ReitzKHRT
Selecting collisionModel off
Selecting dispersionModel off
Selecting injectorModel hollowConeInjector
Selecting pdfType RosinRammler


--> FOAM FATAL IO ERROR:
keyword sprayIteration is undefined in dictionary "/home/tao/Aachenbomb/constant/sprayProperties"

file: /home/tao/Aachenbomb/constant/sprayProperties from line 20 to line 148.

From function dictionary::subDict(const word& keyword)
in file db/dictionary/dictionary.C at line 475.

FOAM exiting
sanpishou is offline   Reply With Quote

Old   September 10, 2012, 17:20
Default
  #12
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

You haven't answered which commit version you're using of 1.6-ext, as I asked in the previous post.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 10, 2012, 17:58
Default
  #13
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

i installed the 1.6-ext version under the guide of http://openfoamwiki.net/index.php/In...ucid_10.04_LTS .
Hope this helps. With the command "git log -1" still not work.

Regards
Tao
sanpishou is offline   Reply With Quote

Old   September 11, 2012, 16:57
Default
  #14
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

That's a really old build of 1.6-ext!

You better follow the following instructions for getting a more recent version of 1.6-ext: http://openfoam-extend.git.sourcefor...Ubuntu;hb=HEAD

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 11, 2012, 18:29
Default
  #15
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

really so old? Anyway, thanks for the new link.

I reinstalled ubuntu 10.04 and tried to install the new version. However it didn't work well. This was what happened after I tried to install git:

tao@tao-laptop:~$ sudo apt-get install git-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
git-core: Depends: liberror-perl but it is not installable
Depends: libdigest-sha1-perl but it is not installable
Recommends: patch but it is not installable
E: Broken packages


do you happen to know why? Thanks in advance!

Regards
Tao
sanpishou is offline   Reply With Quote

Old   September 12, 2012, 15:10
Default
  #16
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Hi Tao,

Does your Ubuntu machine have a working Internet connection?

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 13, 2012, 17:44
Default
  #17
New Member
 
Join Date: Jul 2012
Posts: 9
Rep Power: 13
sanpishou is on a distinguished road
Hi Bruno,

problem solved. Thanks for all your help.

Regards
Tao
sanpishou is offline   Reply With Quote

Reply

Tags
1.6-ext, aachenbomb, error, running

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] how run a DNS for ZPG turbulent boundary layer on a plate with OpenFOAM? dictatore_bozorg OpenFOAM Meshing & Mesh Conversion 3 October 9, 2015 05:08
problems in Two Phase flow using twoPhaseEulerFoam with OpenFoam 1.6 raagh77 OpenFOAM Running, Solving & CFD 0 March 6, 2010 05:11
Cross-compiling OpenFOAM 1.6 on Linux for Windows 32 and 64bits with Mingw-w64 wyldckat OpenFOAM Announcements from Other Sources 7 January 19, 2010 15:39
List of glitches found on OpenFOAM 1.6 wyldckat OpenFOAM Bugs 5 November 17, 2009 07:51
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found fossy OpenFOAM Installation 1 August 28, 2009 04:06


All times are GMT -4. The time now is 10:23.