Search the Community
Showing results for tags 'Windows'.
The search index is currently processing. Current results may not be complete.
Found 2 results
Connecting WSL OpenFoam
Mr. Bradley Nixon posted a topic in Software ConnectionsHey all, Is there any documentation for connecting OpenFoam run in WSL? If not, has anyone done this before and could share some tips, Thanks! Bradley
Hi All, Recently I wanted to investigate the use of OpenFOAM for CFD calculations for a model built in CAESES and perform an optimization at a later stage. Although the OpenFOAM is a C++ library meant to be run in Linux systems, I wanted to test the configuration on my Windows pc and I found this compiled OpenFOAM 2.3 version available. After installing the software as instructed I had to change a little bit the configuration of the software connector in CAESES. Basically, I called the mintty.exe terminal application and run a modified version of the Allrun.sh shell script, as demonstrated at the ahmed body sample. You can find attached a picture of the LocalApplication and its arguments, the modified shell script Allrun.sh and the modified project file of the Ahmed Body sample provided with CAESES installation. Please notice that I have configured the OpenFOAM calculation to run on a single processor and deactivated any parallel computing, because of my restricted resources, but you could easily restore that back. I had also to change some points in the RunFunctions file located in /opt/OpenFOAM/OpenFOAM-2.3.x/bin/tools and you can find attached this new file too. If you are interested in learning how to manipulate OpenFOAM or try some simple simulations on your windows machine, you can give it a try. Cheers, Ilias. ahmedbody.fdbc Allrun.zip