Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allmesh: line 9: syntax error near unexpected token `>' #44

Closed
skunk69 opened this issue Dec 9, 2020 · 3 comments
Closed

Allmesh: line 9: syntax error near unexpected token `>' #44

skunk69 opened this issue Dec 9, 2020 · 3 comments

Comments

@skunk69
Copy link

skunk69 commented Dec 9, 2020

Allmesh: line 9: ` "$@" 1> >(tee -a log."$sol") 2> >(tee -a log."$sol" >&2)'

#!/bin/bash

runCommand()
{
if [ "$1" == "mpirun" ]; then sol="$4"; else sol="$1"; fi
sol=$(basename -- "$sol")
sol="${sol%.*}"
if [ -f log."$sol" ]; then rm log."$sol"; fi
"$@" 1> >(tee -a log."$sol") 2> >(tee -a log."$sol" >&2)
err=$?
if [ ! $err -eq 0 ]; then exit $err; fi
}

Extract feature edges

runCommand surfaceFeatureEdges -angle 60 "constant/triSurface/Compound_Geometry.stl" "Compound_Geometry.fms"
runCommand cartesianMesh

if [ ! -z $FOAM_API ] && [ $FOAM_API -ge 1906 ]
then
runCommand surfaceMeshExtract mesh_outside.stl
else
runCommand surfaceMeshTriangulate mesh_outside.stl
fi

runCommand surfaceTransformPoints -scale "(1000 1000 1000)" mesh_outside.stl mesh_outside.stl

@oliveroxtoby
Copy link
Collaborator

oliveroxtoby commented Dec 9, 2020

Please provide details on how to reproduce this, preferably from a saved file.

@skunk69
Copy link
Author

skunk69 commented Dec 9, 2020 via email

@skunk69
Copy link
Author

skunk69 commented Dec 9, 2020

Well, I find a strange thing : I have two laptop,one thinkpad with intel core cpu and another radeon core cpu, the same windows 10, same freecad and cfdOF. but only in the thinkpad the UAV case work well

@skunk69 skunk69 closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants