From e7258550e3ef736d20b5e0941ecfc63107bb08d1 Mon Sep 17 00:00:00 2001 From: szoppelt <145373267+szoppelt@users.noreply.github.com> Date: Tue, 21 Oct 2025 11:52:26 -0500 Subject: [PATCH] Update preProcessing.sh --- UAV_Propeller/preProcessing.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/UAV_Propeller/preProcessing.sh b/UAV_Propeller/preProcessing.sh index 79be3fe5..daba48e1 100644 --- a/UAV_Propeller/preProcessing.sh +++ b/UAV_Propeller/preProcessing.sh @@ -15,6 +15,14 @@ fi tar -xvf polyMesh_UAV_Propeller.tar mv polyMesh constant/ +if [ -f "Structure.bdf" ]; then + echo "Mesh already exists." +else + echo "Downloading mesh StructMesh.bdf.tar.gz" + wget https://github.com/dafoam/files/releases/download/v1.0.0/StructMesh.bdf.tar.gz +fi + + echo "Generating mesh.. Done!" # copy initial and boundary condition files