Instalación OpenFOAM.com mediante NIX ------------------------------------- 1. Checkout del repo nix en GIT CSC para openfoam, get de las fuentes. ```bash git checkout https://git.csc.gob.ar/gperez/openfoam-nix.git cd openfoam-nix wget https://develop.openfoam.com/Development/openfoam/-/archive/OpenFOAM-v2212/openfoam-OpenFOAM-v2212.tar.gz tar xzf openfoam-OpenFOAM-v2212.tar.gz -C OpenFOAM ``` 2. Pisar etc/bashrc con el nuestro editado ``` cp bashrc OpenFOAM/etc ``` 3. Entrar a entorno de desarrollo de nix y compilar OpenFOAM ```bash nix develop cd OpenFOAM source etc/bashrc ./Allwmake -q -j -s ```