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

MotorBike tutorial

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 12, 2015, 15:27
Default MotorBike tutorial
  #1
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
Hello.When I run motorBike tutorial with my own stl file I get error after running simpleFoam.It looks for p in 0/processor 1.I have transfered p into there but does not work.Please help.
Jam Racing 2015 is offline   Reply With Quote

Old   September 12, 2015, 15:30
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answer: If you ran the case with the Allrun script, then you need to check the content of all of the files that have the prefix "log.*". You should find the real reason for the problem in one of the files.
wyldckat is offline   Reply With Quote

Old   September 12, 2015, 15:35
Default motorBike
  #3
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
Thanks for quick reply.Ok I have just run it again and it says cannot find file incompressible/simpleFoam/motorBike/processor4/0/p at line 0.
Jam Racing 2015 is offline   Reply With Quote

Old   September 12, 2015, 15:42
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quick answers:
1. Run:
Code:
ls -l log.*
It will show you all of the files you need to look into.

2. On the other hand, perhaps the problem is related to any changes you made to the Allrun script, or perhaps you deleted the folder "0.org"?
wyldckat is offline   Reply With Quote

Old   September 12, 2015, 15:47
Default motorBike
  #5
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
No the 0.org file is there.How would the Allrun file be corrupt?I have been at this for 4 months and still cannot get a result
Jam Racing 2015 is offline   Reply With Quote

Old   September 12, 2015, 16:01
Default
  #6
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quoting myself from the other day:
Quote:
Originally Posted by wyldckat View Post
In my experience, when it comes to OpenFOAM, engineering, science and programming: assume nothing, test everything. Otherwise, your results are always doubtful.
This to say that: you are assuming the Allrun file is working properly, even if you haven't achieved any results with it in the past 4 months?

If are not able to follow the instructions given here: http://www.cfd-online.com/Forums/ope...-get-help.html - then it's nearly impossible to help you. We are not able to see what you're seeing, unless you shows us.
wyldckat is offline   Reply With Quote

Old   September 12, 2015, 16:08
Default motorBike
  #7
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
Thanks.Now my problem is I am in South Africa I do not have internet so do all this frm my BlackBerry cellphone.So very difficult to send attachments as I would like.But u have pointed me in a direction which I did not think off.Anything else u can advise.Thanks
Jam Racing 2015 is offline   Reply With Quote

Old   September 12, 2015, 16:30
Default
  #8
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
My main advise is to take small steps.
Don't go directly to your objective simulation, because the case will be too complex and there will be too many possibilities that can go wrong.
If you only do one small change at a time, it will be a lot easier to find what is the problem.

In addition, study the other tutorial cases that use snappyHexMesh. You can find them by running:
Code:
find $FOAM_TUTORIALS -name "snappyHexMeshDict"
wyldckat is offline   Reply With Quote

Old   September 12, 2015, 16:39
Default motorBike
  #9
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
Thanks.I have read so many tutorials.I am so close to having my stl file processed.But just this problem with the 0 folder needed.SnappyHexMesh I have sorted.No problem.But thanks again.
Jam Racing 2015 is offline   Reply With Quote

Old   September 13, 2015, 16:33
Default Pressure
  #10
Member
 
Jam Racing 2015's Avatar
 
john mcgeorge
Join Date: Jul 2015
Location: South Africa Pinetown
Posts: 36
Rep Power: 10
Jam Racing 2015 is on a distinguished road
Hi,this is to say thanks to Bruno.With ur help I am 99% there to running my stl file.Now where do change pressure or velocity?
Jam Racing 2015 is offline   Reply With Quote

Old   September 13, 2015, 17:26
Default
  #11
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
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
Quote:
Originally Posted by Jam Racing 2015 View Post
Now where do change pressure or velocity?
What do you mean exactly?
If you're referring to the case, check the files in the folder "0".
If you're referring in ParaView, then check the ParaView User Guide, which should be where you installed ParaView.
Or check the OpenFOAM User Guide, which is where you installed OpenFOAM, somewhere inside the "doc" folder, in the chapter for the tutorials.
wyldckat 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[snappyHexMesh] Proper y+ in boundary layer on lowerWall - motorBike tutorial petr.f. OpenFOAM Meshing & Mesh Conversion 2 June 9, 2015 05:47
Change MotorBike Tutorial to Water connoranderson OpenFOAM Running, Solving & CFD 0 January 7, 2015 20:57
[snappyHexMesh] Trying to understand the motorBike tutorial Andyjoe OpenFOAM Meshing & Mesh Conversion 10 August 10, 2014 16:57
Exchanging the geomtry in the LES motorBike tutorial simpomann OpenFOAM 1 May 26, 2012 08:26
Basic question on motorBike tutorial newToOpenFoam OpenFOAM Running, Solving & CFD 2 July 14, 2011 09:50


All times are GMT -4. The time now is 02:21.