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

Wrong results from motorByke tutorial in OpenFoam 2.1.1

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

Reply
 
LinkBack Thread Tools Display Modes
Old   April 15, 2013, 08:07
Question Wrong results from motorByke tutorial in OpenFoam 2.1.1
  #1
jsc
New Member
 
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 4
jsc is on a distinguished road
Dear all,

The results I get after running the motorBike tutorial are wrong, but I am not getting any error message during execution. Apart from the resulting data everything seems to work properly.

The mesh seems to be correct and I have checked the tutorial files. I have executed other tutorials obtaining the expected results (for simpleFoam and other solvers for incompressible fluid).

Simply I just do not know why only the motorByke tutorial give wrong results and so I cannot rely on any data I could obtain from any execution.

The only thing I came up with is that I do not have administrator privileges on the computers where I am working with OpenFoam-2.1.1 (which Ubuntu version is 11.04).
The installation directory is "/opt" while in the installation guide it is recommended "/home/OpenFOAM" for user without administrator privileges, but I do not know if this really matters because other tutorials give the expected results.

Any suggestion, solution or explanation will be very appreciated.

Thank you,
José Sánchez.


Post-procesing images of wrong data:

Pressure:
https://docs.google.com/file/d/0Byfa...it?usp=sharing
https://docs.google.com/file/d/0Byfa...it?usp=sharing

Velocity:
https://docs.google.com/file/d/0Byfa...it?usp=sharing
https://docs.google.com/file/d/0Byfa...it?usp=sharing

Last edited by jsc; April 15, 2013 at 08:24. Reason: Add post-processing images
jsc is offline   Reply With Quote

Old   April 15, 2013, 14:04
Default
  #2
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 126
Rep Power: 8
JR22 will become famous soon enough
Can you confirm that simpleFoam ran, or only potentialFoam (look in the logs). Also, I can see in paraview that you have on the top Time = 0, try using the forward button to the last time step (which should be for simpleFoam). I ran the tutorial using ./Allrun, and got 5 time steps (showed the last one using ). The last one has the velocity profile fully developed (Time=500, #5).
Attached Images
File Type: jpg motorbike_time_500_or_5.jpg (46.2 KB, 16 views)

Last edited by JR22; April 15, 2013 at 14:47. Reason: paraview / paraFoam
JR22 is offline   Reply With Quote

Old   April 15, 2013, 17:13
Default
  #3
jsc
New Member
 
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 4
jsc is on a distinguished road
Now I can see the correct results.

Thank you for the advice. I already know that there were 6 time steps but for some reason I was obcecated in that the one displayed was the last one. But as you have shown it was not.

Thank you for your soon answer, I was getting mad checking every file and .log. As you would have notice I am new into OpenFOAM and Paraview.

Thank you very much,
José Sánchez.

Last edited by jsc; April 15, 2013 at 17:16. Reason: Solved
jsc is offline   Reply With Quote

Old   April 16, 2013, 07:26
Default
  #4
jsc
New Member
 
José Sánchez
Join Date: Apr 2013
Posts: 7
Rep Power: 4
jsc is on a distinguished road
The issue is solved, but I do not know why. Because I have found other images from paraview with wrong data and time step 5. Anyway, thank you JR22 for your help.


If someone it is interested next I explain the complet case.

When I first installed openfoam I had problems with paraview. Navigating through this forum I found a solution from wyldcat (close to the end of the next thread):

ParaView installation problem on Suse 11.4

Running "parafoam" with the option "builtin" solved the problem. Then the problem of the wrong results appeared.

Yesterday, after reading the reply from JR22 I run "parafoam". For some reason (probably exhaustion) I forgot the "-builtin" option. ˇit worked anyway! (it was not suppose to). But I did not realize that I have not used the "-builtin" option so ,as the data displayed was correct, I though that for some reason I have forgotten to change the time steps in paraview all the time (when in reality I have not forgotten).

So now the situation is as follows.

-Although at first "parafoam" only worked with the "-builtin" option and the modification from wyldcat, now works without it.
I have checked the paraFoam file and the modification sugested by wyldcat is gone (I do not remember changing this file ), Everything I changed seems to be exactly as it was when parafoam did not work.
So I do not understand why at first parafoam did not work and now it does (because the only file I change, now it is exactly like it was at first).

-Now with the option "-builtin" I get in paraview the wrong data. Also the GUI that appears when I run the "-builtin" option has slightly changed. (I guess all of this is normal since the change from wyldcat to make it works has been removed).

So now I do not have any problem (openfoam works and also paraview ) but I do not now why. Maybe running "paraFoam -builtin" has created any register which solved the issue?

Last edited by jsc; April 16, 2013 at 07:30. Reason: ortography
jsc is offline   Reply With Quote

Reply

Tags
motorbike, openfoam 2.1.1, wrong pressure, wrong velocity

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 2.1.1 installation on openSUSE 12.2 32 bit saturn_53 OpenFOAM Installation 13 February 1, 2015 05:17
OpenFOAM 2.1.1 Installation Errors on RHEL 6.3 tgvosk OpenFOAM Installation 15 July 5, 2012 18:43
download openfoam tutorial azoweil OpenFOAM 3 March 5, 2012 16:14
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 18:07
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 14:25


All times are GMT -4. The time now is 14:36.