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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 21, 2021, 09: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, 09:25
Default
  #2
Senior Member
 
Lucky
Join Date: Apr 2011
Location: Orlando, FL USA
Posts: 5,761
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, 09: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, 13: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


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 10:39
Derivative of velocity and mean velocity hiuluom OpenFOAM Post-Processing 1 May 30, 2015 00:42
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 06:42
Problems of Duns Codes! Martin J Main CFD Forum 8 August 15, 2003 00:19
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16


All times are GMT -4. The time now is 14:32.