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

motorBike tutorial won't run correctly with 2.2.x

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   May 31, 2013, 09:42
Default motorBike tutorial won't run correctly with 2.2.x
  #1
New Member
 
Join Date: May 2013
Posts: 3
Rep Power: 13
Dan_Sobien is on a distinguished road
Hey everyone,

I'm trying to run the motorBike tutorial with OpenFOAM-2.2.x, but it is not running correctly. I haven't changed anything in the directory and it gives the following error when executing the ./Allrun command:

Code:
xargs: illegal option -- i
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
             [-L number] [-n number [-x]] [-P maxprocs] [-s size]
             [utility [argument ...]]
xargs: illegal option -- i
usage: xargs [-0opt] [-E eofstr] [-I replstr [-R replacements]] [-J replstr]
             [-L number] [-n number [-x]] [-P maxprocs] [-s size]
             [utility [argument ...]]
The lines from the Allrun file that I believe are causing these are:

Code:
ls -d processor* | xargs -i  rm -rf ./{}/0 $1
ls -d processor* | xargs -i  cp -r 0.org ./{}/0 $1
I've tried changing the options for xargs in the Allrun file, since the manual for xargs says it has to be a capital "I". I've also tried changing the "i" into "IR" because the -I option also requires more input, and this gives errors trying to find the directories for the remove and copy commands.

Also looking at the mesh generation, the snappyHexMesh terminates with an error when executed alone:

Code:
--> FOAM FATAL ERROR: 
Unknown file extension 

Valid types are :

6
(
bdf
eMesh
inp
nas
obj
vtk
)


    From function edgeMesh<Face>::New(const fileName&, const word&) : constructing edgeMesh
    in file edgeMeshNew.C at line 45.

FOAM exiting
I believe there is a compliancy issue with the latest update for 2.2.x and I'm new to OpenFAOM, so I'm unsure of what the real issue is and how to solve it. Thanks for any advice or input.
Dan_Sobien is offline   Reply With Quote

 

Tags
motorbike, openfoam, openfoam 2.2.x, tutorial


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
[Virtualization] OpenFOAM oriented tutorial on using VMware Player - support thread wyldckat OpenFOAM Installation 2 July 11, 2012 16:01
Working directory via command line Luiz CFX 4 March 6, 2011 20:02
InletOutlet boundary condition in motorBike tutorial madad2005 OpenFOAM 2 November 27, 2009 08:15
Can workbench and cfx run correctly on vista? Sandam CFX 1 December 2, 2007 16:32
Cannot run Tutorial 11, please help Harendra Siemens 1 November 21, 2005 06:14


All times are GMT -4. The time now is 12:28.