CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Call Ubuntu-based OpenFOAM solver through Windows CMD

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

LinkBack Thread Tools Search this Thread Display Modes
Old   August 17, 2020, 10:12
Default Call Ubuntu-based OpenFOAM solver through Windows CMD
Join Date: Oct 2017
Posts: 77
Rep Power: 8
ishan_ae is on a distinguished road
I am using this app on my Windows laptop:

Using this app I can run the Ubuntu command line as a separate application.
Through that command line, I have installed OpenFOAM.

I have also activated the Windows Subsystem for Linux on my Windows laptop.

My question is can I call a OpenFOAM solver that has been installed on this app through the Windows command line?

I want to call the OF solver through an external application which is based on Windows OS and not on Ubuntu. That application accepts only Windows CMD commands.

Unfortunately, I cannot download any OF package specific to Windows so I have to do this funny stuff.

I have tried playing around with the "wsl" command but it doesn't work.

Any information on this would be helpful.
ishan_ae is offline   Reply With Quote



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
New CastNet release: FSI-coupling with OpenFOAM and CalculiX based on preCICE MartinB OpenFOAM Announcements from Other Sources 0 April 30, 2020 06:53
[] v1712 with Docker on Ubuntu 17.10. Use same docker in Windows 10? OpenFOAM Installation 0 January 30, 2018 08:59
Sharing links for two phase solver packages developed by openfoam community swap_9068 OpenFOAM Programming & Development 1 April 2, 2017 05:43
Can't get data from OpenFoam to external solver using externalCoupled perry OpenFOAM Running, Solving & CFD 4 May 26, 2014 08:09
Strange residuals of the Density Based Solver Pat84 FLUENT 0 October 22, 2012 15:59

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