|
[Sponsors] |
motorBike tutorial won't run correctly with 2.2.x |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 31, 2013, 10:42 |
motorBike tutorial won't run correctly with 2.2.x
|
#1 |
New Member
Join Date: May 2013
Posts: 3
Rep Power: 13 |
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 ...]] Code:
ls -d processor* | xargs -i rm -rf ./{}/0 $1 ls -d processor* | xargs -i cp -r 0.org ./{}/0 $1 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 |
|
June 1, 2013, 01:23 |
|
#2 |
Member
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
Works for me on Fedora18
xargs --help Usage: xargs [-0prtx] [--interactive] [--null] [-d|--delimiter=delim] [-E eof-str] [-e[eof-str]] [--eof[=eof-str]] [-L max-lines] [-l[max-lines]] [--max-lines[=max-lines]] [-I replace-str] [-i[replace-str]] [--replace[=replace-str]] [-n max-args] [--max-args=max-args] [-s max-chars] [--max-chars=max-chars] [-P max-procs] [--max-procs=max-procs] [--show-limits] [--verbose] [--exit] [--no-run-if-empty] [--arg-file=file] [--version] [--help] [command [initial-arguments]] xargs --version xargs (GNU findutils) 4.5.10 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Eric B. Decker, James Youngman, and Kevin Dalley. Built using GNU gnulib version 25d7f3a59bfdc7aaca4a016f687826883a55bef3 |
|
June 2, 2013, 18:11 |
update? patch?
|
#3 |
New Member
Mitchell Long
Join Date: May 2013
Posts: 2
Rep Power: 0 |
how would one go about updating or finding a patch to have more options for the xargs and other commands in general?
|
|
June 3, 2013, 09:10 |
|
#4 | |
Senior Member
|
Dan,
This is a problem with the version of the CGAL library in MacPorts. It prevents surfaceFeatureExtract from compiling properly. I will help you later this morning. Quote:
|
||
September 6, 2013, 05:33 |
eMesh
|
#5 |
New Member
Therese
Join Date: Aug 2013
Posts: 1
Rep Power: 0 |
I've met the same problem. It is because i didn't write the correct name of the eMesh in snappyHexMesh.
Have a look at your case. |
|
Tags |
motorbike, openfoam, openfoam 2.2.x, tutorial |
|
|
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 17:01 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
InletOutlet boundary condition in motorBike tutorial | madad2005 | OpenFOAM | 2 | November 27, 2009 09:15 |
Can workbench and cfx run correctly on vista? | Sandam | CFX | 1 | December 2, 2007 17:32 |
Cannot run Tutorial 11, please help | Harendra | Siemens | 1 | November 21, 2005 07:14 |