CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

/bin/sh: -c: line 0: syntax error near unexpected token `('

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2021, 08:04
Default /bin/sh: -c: line 0: syntax error near unexpected token `('
  #1
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,

I am compiling a custom specificheat application in Openfoam 2.1. When I compile, it complains as follows
bin-sh-error.jpg

Sorry for the small picture. I couldn't enlarge the picture. If you click on the picture, you will see the error.
Do you know how to access /bin/sh adress?
Thanks in advance
ulugbey is offline   Reply With Quote

Old   October 21, 2021, 08:25
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,683
Rep Power: 66
LuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura aboutLuckyTran has a spectacular aura about
you probably forgot to set your hashbang or something like that
LuckyTran is offline   Reply With Quote

Old   October 21, 2021, 08:32
Default
  #3
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Hi,
Thanks for the reply. Where should I put hashbang?
ulugbey is offline   Reply With Quote

Old   October 21, 2021, 12:00
Default
  #4
Member
 
Join Date: Dec 2020
Posts: 38
Rep Power: 5
ulugbey is on a distinguished road
Could you please help me where I should put hashbang? I cant understand from the error where the problem lies..
ulugbey is offline   Reply With Quote

Reply

Tags
openfoam 2.1.0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[RapidCFD] Discussion thread on how to install and use RapidCFD newoscar OpenFOAM Community Contributions 88 May 17, 2024 09:39
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 29, 2015 23:42
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
Problems of Duns Codes! Martin J Main CFD Forum 8 August 14, 2003 23:19
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 15:16


All times are GMT -4. The time now is 06:01.