CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM

make bat file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 6, 2023, 02:43
Default make bat file
  #1
New Member
 
Jangsoo, Lee
Join Date: May 2023
Posts: 4
Rep Power: 2
Dreamland is on a distinguished road
I installed wsl and am running openfoam on windows 10 through ubuntu.
I'm trying to create a batch file to run openfoam right away by creating a bat file in the window, but it's not working.
Running the bat file opens up to the ubuntu window, but the next command is not executed.
If anyone knows how to solve this problem, please help.
Commands like mkdir work, but strangely, openfoam doesn't work.
I am uploading the bat file for your reference.
Please give me a lot of advice.
Thank you.

wsl --cd ~/OpenFOAM/fp-10/run/test/retest08-0601 -u fp -- simpleFoam
wsl -- simpleFoam
pause
Dreamland 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
[OpenFOAM.com] swak4foam compiling issues on a cluster saj216 OpenFOAM Installation 5 January 17, 2023 16:05
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 35 April 29, 2022 15:35
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 18:13
[OpenFOAM.org] Compile OF 2.3 on Mac OS X .... the patch gschaider OpenFOAM Installation 225 August 25, 2015 19:43
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 12:41


All times are GMT -4. The time now is 23:02.