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

help about bash script

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2020, 04:27
Default help about bash script
  #1
New Member
 
liwenpeng
Join Date: Jul 2020
Posts: 11
Rep Power: 5
liwenpeng is on a distinguished road
I need batch script to automate the process.
I may need to do several thousand simulations of flow around a rotating cylinder, the cylinder rotating speed from-100 to 100, the interval is 0.2.
But at present, I adjust the parameters manually every time, and the post-processing is also carried out manually. Forthousands of simulations, it is impossible to realize. Is there anyway and how to automatically adjust parameters and simulate. ?

I can not find any example about bash script,who could give me some example or tutorial about how to write the script.

Do I need python or matlab or shell,I do not know,I am a new with poor programming skill.

my openfoam run in Ubuntu
Many thanks!!
liwenpeng is offline   Reply With Quote

Old   July 21, 2020, 00:52
Default
  #2
Member
 
cfd Engineer
Join Date: Sep 2014
Location: Banaglore
Posts: 30
Rep Power: 11
ernarasimman is on a distinguished road
hello i can help in bash or python based automation ..i m having good experience on Access simplification
ernarasimman is offline   Reply With Quote

Old   July 22, 2020, 08:36
Default
  #3
Member
 
cfd Engineer
Join Date: Sep 2014
Location: Banaglore
Posts: 30
Rep Power: 11
ernarasimman is on a distinguished road
yes i can support on this task
ernarasimman is offline   Reply With Quote

Old   July 24, 2020, 14:12
Default
  #4
New Member
 
Nikhil
Join Date: Jun 2017
Posts: 19
Rep Power: 8
nikhilkulkarni4013 is on a distinguished road
Quote:
Originally Posted by liwenpeng View Post
I need batch script to automate the process.
I may need to do several thousand simulations of flow around a rotating cylinder, the cylinder rotating speed from-100 to 100, the interval is 0.2.
But at present, I adjust the parameters manually every time, and the post-processing is also carried out manually. Forthousands of simulations, it is impossible to realize. Is there anyway and how to automatically adjust parameters and simulate. ?

I can not find any example about bash script,who could give me some example or tutorial about how to write the script.

Do I need python or matlab or shell,I do not know,I am a new with poor programming skill.

my openfoam run in Ubuntu
Many thanks!!

Hello liwenpeng,

I can help you with this stuff in bash scripting I am having 2 years of experience in scripting for automating the workflow! Please mail DM me
nikhilkulkarni4013 is offline   Reply With Quote

Reply

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
Batch scripts Bdew8556 OpenFOAM Running, Solving & CFD 35 September 21, 2020 03:27
Running OpenFOAM case through shell script (bash) ilaj OpenFOAM Programming & Development 2 January 28, 2020 13:14
How to write the Ansys lic usage Bash script from Windows machine mg.mithun Main CFD Forum 0 November 28, 2019 09:01
run openfoam with bash script Gosi OpenFOAM 2 April 11, 2013 09:10


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