nextfoam / nextfoam-cfd

NextFOAM-cfd solver is a free, open source computational fluid dynamics (CFD) software package released by [NEXTfoam](https://nextfoam.co.kr/foam-Introen.php) based on OpenFOAM released by OpenCFD.
2 stars 1 forks source link

Windows version compile? #1

Open WHUT666 opened 1 month ago

WHUT666 commented 1 month ago

The baram project should use the Windows version of this library. Can this library be compiled for use on the Windows platform? Is there a specific tutorial?

kdg5424 commented 1 month ago

Hello @WHUT666. This is Donggyu from NEXTFOAM.

I think you want to use this library on the Windows platform. There is a trick for that. You could use NextFOAM library on the cmd.

After running cmd, insert the below codes.

set WPD=**PATH_TO_BARAM**\baram\solvers\openfoam set MGW=**PATH_TO_BARAM**\baram\solvers\mingw64 set WM_PROJECT_DIR=%WPD% path %MGW%\bin;%MGW%\lib;%WPD%\bin;%WPD%\lib;%WPD%\lib\msmpi;%Path%

Then, you can run NextFOAM library on the windows cmd.

Best regards

Donggyu kim

WHUT666 commented 3 weeks ago

Thank you very much for your reply. What I actually want to express is how to cross-compile this library.