This repository has been archived on 2023-11-20. You can view files and clone it, but cannot push or open issues or pull requests.
foam-extend4.1-coherent-io/bin/paraFoam.bat

12 lines
236 B
Batchfile

@echo off
set CASE_DIR=%cd%
for /d %%d in (%CASE_DIR%) do set CASE_FILE=%%~nxd.foam
type nul >>%CASE_FILE%
set PARAVIEW_CMD=paraview --data="%CASE_FILE%"
echo Running %PARAVIEW_CMD% ...
%PARAVIEW_CMD%
del /f %CASE_FILE%