WeldFormGPU is the GPU version of WeldForm This is being migrated to be the CPU / GPU solver.
Has been exclusively adapted to solid mechaincs, and it includes:
- Mechanic Solver
- Thermal Solver
- Coupled ThermoMechanical Solver (in progress)
- Contact formulation (in progress)
- Adaptive search only in case of plastic strain threshold (in progress)
Is hevaily based on Kirk Fraser Thesis and works on SPH model of FSW
- Solver executables. Check which version corresponds to your GPU [here].
- Visual Studio Runtime Libraries [here] (https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
- CUDA runtime libraries.
- Install Visual Studio Community 2019 (Not tested on 2022 yet)
- Install cmake
- Download and install CUDA compilers (tested only on 11.4 version)
- Set CUDA compiler path on CMD: set CUDA_PATH="C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1"
- Create a direcory for building libraries binaries
- Run make.bat (located here on root directory), to set MSVC env vars
- Clone this repo (for example to c:\WeldFormGPU\src)
- Inside binaries library run: cmake c:\WeldFormGPU\src -G "NMake Makefiles"
- Inside binaries library run: nmake.exe
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1