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

rare outcomes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 10, 2014, 12:22
Exclamation rare outcomes
  #1
New Member
 
H25E
Join Date: Jul 2014
Posts: 27
Rep Power: 11
H25E is on a distinguished road
Hi, i'm the guy who was trying to make his engineering final project and arleady asked for help here before. I have achieved to simulate two car models but I have get really rare results:



We can see that there is negative pressure everywhere!! And also appears a high velocity zone at the end of the trail of the car. What can do a simulation outcomes like that?

In another angle:



There is 0 pressure at the start but it decays fast at negative values everywhere.
The initial conditions are the same of the motorBike tutorial, except changing "motorBike_.*" for "mystlname_.*"

At the second model, the simulation outcomes this...





As u can check i coudn't close the model in the wheels but, if bernoulli could see this simulation results he would run.

Anyone can help me? Thanks for your time.
H25E is offline   Reply With Quote

Old   November 10, 2014, 17:30
Default
  #2
Senior Member
 
Joachim Herb
Join Date: Sep 2010
Posts: 650
Rep Power: 21
jherb is on a distinguished road
Have you checked the influence of the up- and downstream boundaries on your results, meaning what happens if your wind channel gets longer?
jherb is offline   Reply With Quote

Old   November 11, 2014, 18:09
Default
  #3
New Member
 
H25E
Join Date: Jul 2014
Posts: 27
Rep Power: 11
H25E is on a distinguished road
Checking the simulations last night I found that the courant number was really high. I will do some checks and I will post again the progres here.
H25E is offline   Reply With Quote

Old   November 12, 2014, 04:39
Default
  #4
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
You should at least tell us what solver, models, ... you are using. Also some log-output, fvSchemes and fvSolution and boundary conditions are needed if you want any usefull help. Of course what Joachim said could be a reason, but there can be like 1000 reasons. Without any more information about your case this won't work.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 13, 2014, 12:47
Default
  #5
New Member
 
H25E
Join Date: Jul 2014
Posts: 27
Rep Power: 11
H25E is on a distinguished road
Yes, sorry. I'm using simpleFoam. All the boundary files, the fvSchemes and fvSolutions are the same of motorBike tutorial of simpleFoam, To reduce the courant number I decreased the deltaT of controldict of 1 down to 0.01 but that way some errors appeared while simulating that they didn't exist before modify the deltaT.

In the first simulation that is a porsche 911 appears that error:
Code:
--> FOAM FATAL IO ERROR: 
error in IOstream "/home/hector/Desktop/6porsche/1.42/U" for operation Ostream& operator<<(Ostream&, const char)

file: /home/hector/Desktop/6porsche/1.42/U at line 56473.

    From function IOstream::check(const char*) const
    in file db/IOstreams/IOstreams/IOstream.C at line 99.

FOAM exiting
And in the second simulation, of a bmw x6:

Code:
--> FOAM FATAL IO ERROR: 
error in IOstream "/home/hector/Desktop/blender2/4.42/phi" for operation Ostream& operator<<(Ostream&, const Scalar&)

file: /home/hector/Desktop/blender2/4.42/phi at line 299876.

    From function IOstream::check(const char*) const
    in file db/IOstreams/IOstreams/IOstream.C at line 99.

FOAM exiting
I can't give you the output log files of simpleFoam cause they are extremly long, but if you need to know something else tell me. With that deltaT courant number is still big, and it's a bit annoying cause it takes a long time to simulate.

Thanks for your time.
H25E is offline   Reply With Quote

Old   November 14, 2014, 03:49
Default
  #6
Senior Member
 
RodriguezFatz's Avatar
 
Philipp
Join Date: Jun 2011
Location: Germany
Posts: 1,297
Rep Power: 26
RodriguezFatz will become famous soon enough
H25E, first of all: SIMPLE is a steady state solver, that doesn't have any Courant number. If you change the "time step" in controlDict, the only things that is changed is the name of the directories where OpenFoam stores the data. The solver does exactly the same.
With just these two errors I need to guess. My guess is, that you try to restart the simulation from broken initial settings. I also guess that your initial settings (at times "1.42" in the first and "4.42" in the second case) are broken because you ended the simulation by pressing "cntrl + c" in the terminal during the "write" operation of that time step in openFoam. Just a guess...
Do you have the previous time step of these cases? Then, try to start with them.
__________________
The skeleton ran out of shampoo in the shower.
RodriguezFatz is offline   Reply With Quote

Old   November 14, 2014, 06:06
Default
  #7
New Member
 
H25E
Join Date: Jul 2014
Posts: 27
Rep Power: 11
H25E is on a distinguished road
Okay, thanks for the remark of courant number. In the past I had some similar IO error followed by an inability to boot linux, and now linux doesn't boot so... I will have to save data and reinstall linux. I will post my progress next days.

Thanks for your time
H25E is offline   Reply With Quote

Reply


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



All times are GMT -4. The time now is 11:51.