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

Running dieselFoam error

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

Like Tree8Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 23, 2006, 14:45
Default Niklas, I try to run diesel
  #41
Member
 
stefan
Join Date: Mar 2009
Posts: 96
Rep Power: 17
stefanke is on a distinguished road
Niklas,

I try to run dieselEngineFoam in parallel with a simple wedge geomerty. It crashes everytime when fuel is injecting. Without fuel injection all is ok! This bug is very easy to reproduce.

When I run this case nonparallel all works fine including fuel injection. So it has something do with the parallel computation!
stefanke is offline   Reply With Quote

Old   November 26, 2006, 21:36
Default Hello All, I am having the
  #42
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Hello All,

I am having the same problem as Wladimyr Mattos da Costa Dourado above in trying to restart dieselFoam. I have tried both latestTime and startTime (with appropriate startTime) in controlDict, and simulation crashes when evolving spray. Is there a work-around or fix to this problem that I am missing? Note I am using downloaded binary of OF version 1.3.

Thanks for your help,

David
dhebert is offline   Reply With Quote

Old   November 26, 2006, 21:46
Default Hello All, I am having the
  #43
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Hello All,

I am having the same problem as Wladimyr Mattos da Costa Dourado above in trying to restart dieselFoam. I have tried both latestTime and startTime (with appropriate startTime) in controlDict, and simulation crashes when reading temperature field:
.
.
.
Evolving Spray

--> FOAM FATAL ERROR : attempt to use janafThermo<equationofstate> out of temperature range 200 -> 6000; T = 3.88739e+252


Is there a work-around or fix to this problem that I am missing? Note I am using downloaded binary of OF version 1.3. Also note all fields are written in binary.

Thanks for your help,

David
dhebert is offline   Reply With Quote

Old   November 27, 2006, 05:41
Default Wouldn't you say the temperatu
  #44
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
Wouldn't you say the temperature of T = 3.88739e+252 Kelvin is a bit high? How did you get such a high temperature?

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   November 27, 2006, 09:53
Default Hrvoje, I agree with you, t
  #45
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Hrvoje,

I agree with you, the high temperature value made me think that the problem was with reading the stored temperature field. I also set the maxCo to 0.01 and obtained the same error. The error seems like it is a binary precision error (single instead of double, or vice versa). I checked the .dep files and they all seem to be double.

Note that I get the same error when I try to restart the tutorial dieselFoam/aachenBomb case. I ran until time 0.0006, then stopped. I attempted to restart and got the same temperature error when evolving spray.

Thanks again for you assistance,

David
dhebert is offline   Reply With Quote

Old   November 27, 2006, 16:19
Default David, there is a bug in the
  #46
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
David,
there is a bug in the spray class which does not read correctly the lagrangian field when a new simulation is restarted. Send me an e-mail and I will send you an updated version of the lagrangian class.
Bye
Tommaso
lucchini is offline   Reply With Quote

Old   November 29, 2006, 18:34
Default Tommaso, it is possible to pos
  #47
Member
 
chris book
Join Date: Mar 2009
Posts: 85
Rep Power: 17
chris1980 is on a distinguished road
Tommaso, it is possible to post your updated version of the lagrange class. I think a lot of people are interested in.

Thx
chris1980 is offline   Reply With Quote

Old   December 12, 2006, 15:44
Default Tommaso (and anyone else with
  #48
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Tommaso (and anyone else with new lagrangian class)

Are you able to compile decomposePar with the corrected spray/lagrangian class you sent? When I try to compile decomposePar (after wclean of decomposePar and decompositionMethods), I get the following error:



In function `Foam::Cloud<foam::indexedparticle>::Cloud(Foam::p olyMesh const&)':
decomposePar.C: undefined reference to `Foam::Cloud<foam::indexedparticle>::readFields()'
collect2: ld returned 1 exit status


....

This was done on a single processor AMD64 machine.

Thanks for the help,

David
dhebert is offline   Reply With Quote

Old   January 5, 2007, 15:21
Default Hello everyone, I tried to
  #49
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Hello everyone,

I tried to run the dieselFoam aachenBomb tutorial with a single processor. After a little time running, I received the following error message:

--> FOAM FATAL ERROR : NO_READ specified for read-constructor of object meshPhi of class IOobject

Any pointers as to why this would suddenly happen, and how to fix?

Thanks for all your help,

David
dhebert is offline   Reply With Quote

Old   January 7, 2007, 06:18
Default Hi David, this usually happen
  #50
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
Hi David,
this usually happens if you have switched on the runTimeModifiable option and clock skew.
Try to switch runTimeModifiable off in the controlDict file and see what happens.
Bye
Tommaso
lucchini is offline   Reply With Quote

Old   January 7, 2007, 15:55
Default Thanks Tommaso for your sugges
  #51
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Thanks Tommaso for your suggestion. I will give that a try shortly.

I would like to post a question to the board regarding compressible flow in an expansion. I am trying to use dieselFoam to model a spay generated from an injector used in a rocket application. For now I am trying to model a cold-flow case, where air and water are injected at 293K.

The air inlet velocity is Mach 0.7. Water is injected at 5m/s. It seems that when the air reaches the expansion the temperature drops (presumable due to isentropic expansion), and I get a JANAF table temperture error. Does anyone have suggestions for IC/BC? So far I have tried

1) Initial T = 300 and 1400K
2) Pressure 1atm
3) inlet fixed velocity and timeVaryingUniformFixedValue (to try to reduce any pressure waves)
4) Initial interrior U 0, 25, and 200m/s
5) Outlet pressure fixed at 1atm.
6) laminar and realizableKE turb model


Any insight into a flow of this type is greatly appreciated.

Thank you,

David
dhebert is offline   Reply With Quote

Old   January 7, 2007, 16:35
Default David, what is the temperatur
  #52
Member
 
Tommaso Lucchini
Join Date: Mar 2009
Posts: 87
Rep Power: 17
lucchini is on a distinguished road
David,
what is the temperature value you are getting when you have the fatal error?
are you running with adjustTimeStep switched on? If so, what is the maximum Courant number?
try to run the case with maxCo among 0.05 and 0.2 and see what happens.
lucchini is offline   Reply With Quote

Old   January 7, 2007, 17:19
Default The temperature value at failu
  #53
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
The temperature value at failure seems to vary. Sometimes it is in the range of 168K, other times it is -24K (which, of course, is not physically possible).

I do run with the adjustTimeStep on. We have been trying to run with a high maxCo. I have been between 0.7 and 0.9. This might explain the wide range in temperature failure. I was able to run with such a high maxCo for another simulation with Ma=0.3, so I was thinking that it would be ok here. I will set the maxCo lower as you suggest and see if that solves the problem. I am concerned that with isentropic expansion with such a high Mach number that the temperature will always drop out of range.

Also, I tried running the case using sonicTurbFoam (same gas phase setup, no spray), and got the same problem. Again, I was using a high maxCo of 0.9.

Thanks again for your assistance,

David
dhebert is offline   Reply With Quote

Old   January 15, 2007, 11:56
Default Hej, For my model I need t
  #54
mss
Guest
 
Posts: n/a
Hej,

For my model I need temperature range from 300 K up to 20 000 K as a B.C. . I am getting error when I start the case buoyantSimpleFoam. Could someone to help me to uderstand : am I doing something wrong or OpenFOAM could not working with such big value of temperature?

Thank u,
Rita
  Reply With Quote

Old   January 15, 2007, 14:04
Default Hi Rita May I ask what you
  #55
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Rita

May I ask what you are simulating? My sources say (havn't been there myself) that the temperature at the surface of the sun is 5800 Kelvin, so your temperature range is quite impressive.

The problem is not that that OpenFOAM can't handle such temperature range, I just doubt whether the approximations done by buoyantSimpleFoam are right for such a case (is it steady? etc)

So if you tell us more about the problem you want to simulate, maybe someone can point you to a fitting solver
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   January 15, 2007, 14:39
Default Greetings everyone, When I
  #56
Member
 
David Hebert
Join Date: Mar 2009
Posts: 31
Rep Power: 17
dhebert is on a distinguished road
Greetings everyone,

When I try to run the aachenBomb case in parallel, I am only getting a lagrangian/positions file when I reconstructPar, as reported by Stefan above.

In looking through the processor directories, I notice that some have a full lagrangian directory, while others only have positions. Could this be because some processors do not have lagrangian particles in their domain? And if so, should reconstructPar take care of this? Is there a fix I missed somewhere?

Thanks for any help,

David
dhebert is offline   Reply With Quote

Old   January 16, 2007, 03:40
Default Hej, For my model I need t
  #57
mss
Guest
 
Posts: n/a
Hej,

For my model I need temperature range from 300 K up to 20 000 K as a B.C. . I am getting error when I start the case buoyantSimpleFoam. Could someone to help me to uderstand : am I doing something wrong or OpenFOAM could not working with such big value of temperature?

Thank u,
Rita
  Reply With Quote

Old   January 16, 2007, 06:52
Default Hello Margarita, I would gu
  #58
Senior Member
 
Hrvoje Jasak
Join Date: Mar 2009
Location: London, England
Posts: 1,904
Rep Power: 33
hjasak will become famous soon enough
Hello Margarita,

I would guess you are using JANAF tables for material properties, which have an upper limit of 5000 Kelvin on the fitting functions. Therefore, if you wish to use this kind of temperature, you need another source of material properties or you need to fix the coefficients yourself (awfully high, though).

Enjoy,

Hrv
__________________
Hrvoje Jasak
Providing commercial FOAM/OpenFOAM and CFD Consulting: http://wikki.co.uk
hjasak is offline   Reply With Quote

Old   January 16, 2007, 12:55
Default Hej, I am trying to model a
  #59
mss
Guest
 
Posts: n/a
Hej,

I am trying to model a weld process. At the begining I took just momentum and energy equations without electromagnetic part (temperatures range 300K-20000K,steady,argon gass is injected and I'm using buoyantSimpleFoam). I have got very strange results, which are so far from reality.
Maybe someone could help understand what I did wrong?

Thank you for your answers or explanations.
Rita
  Reply With Quote

Old   January 17, 2007, 06:03
Default Hi Magarita I can understan
  #60
New Member
 
Joakim Möller
Join Date: Mar 2009
Posts: 26
Rep Power: 17
joakim is on a distinguished road
Hi Magarita

I can understand why things looks strange for T=20000K, but do the result also look strange for 300K?

Regards

/Joakim
joakim is offline   Reply With Quote

Reply

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
DieselFoam Spray Evaporation Continuity Error spv24 OpenFOAM Running, Solving & CFD 14 December 30, 2010 11:50
ERROR IN RUNNING THE FIRST EXAMPLE marhamat OpenFOAM Installation 8 August 27, 2006 05:13
FIDAP RUNNING ERROR "ERROR-DIR-NOT-EMPTY=145" BAOYU FLUENT 0 January 26, 2006 19:32
DieselFoam error turbulent dispersion adorean OpenFOAM Running, Solving & CFD 6 April 22, 2005 07:55
error while running UDF murthy FLUENT 1 October 22, 2001 06:02


All times are GMT -4. The time now is 06:22.