From 69e2914b9863cdcd3da55052a72f36fcc258fdb5 Mon Sep 17 00:00:00 2001 From: Vanja Skuric Date: Thu, 5 May 2016 16:18:43 +0200 Subject: [PATCH] Fixed icoDyMFoam tutorials --- .../icoDyMFoam/movingBlockRBF/0/U | 2 +- .../icoDyMFoam/movingBlockRBF/0/p | 2 +- .../icoDyMFoam/movingBlockRBF/Allclean | 3 +- .../RBFMotionFunction/Make/options | 4 +- .../movingBlockRBF/constant/polyMesh/boundary | 58 --------------- .../icoDyMFoam/movingConeMotion/Allclean | 5 +- .../constant/polyMesh/boundary | 70 ------------------- 7 files changed, 9 insertions(+), 135 deletions(-) delete mode 100644 tutorials/incompressible/icoDyMFoam/movingBlockRBF/constant/polyMesh/boundary delete mode 100644 tutorials/incompressible/icoDyMFoam/movingConeMotion/constant/polyMesh/boundary diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/U b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/U index ff7f9cd80..cb18ca53c 100644 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/U +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/U @@ -51,7 +51,7 @@ boundaryField value uniform (1 0 0); } - defaultFaces + frontAndBack { type empty; } diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/p b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/p index f342b6504..b45151013 100644 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/p +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/0/p @@ -46,7 +46,7 @@ boundaryField value uniform 0; } - defaultFaces + frontAndBack { type empty; } diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/Allclean b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/Allclean index 9fc8b41e5..915d33114 100755 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/Allclean +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/Allclean @@ -4,4 +4,5 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase -( cd RBFMotionFunction ; wclean ) \ No newline at end of file +rm -f constant/polyMesh/boundary +( cd RBFMotionFunction ; wclean ) diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/Make/options b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/Make/options index 888aa6373..075878464 100644 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/Make/options +++ b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/RBFMotionFunction/Make/options @@ -2,9 +2,9 @@ EXE_INC = \ -I$(LIB_SRC)/dynamicMesh/dynamicMesh/lnInclude \ -I$(LIB_SRC)/dynamicMesh/meshMotion/RBFMotionSolver/lnInclude \ -I$(LIB_SRC)/finiteVolume/lnInclude \ - -I$(LIB_SRC)/meshTools/lnInclude \ + -I$(LIB_SRC)/meshTools/lnInclude LIB_LIBS = \ -ldynamicMesh \ -lfiniteVolume \ - -lmeshTools \ + -lmeshTools diff --git a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/constant/polyMesh/boundary b/tutorials/incompressible/icoDyMFoam/movingBlockRBF/constant/polyMesh/boundary deleted file mode 100644 index ec2cc7ac7..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingBlockRBF/constant/polyMesh/boundary +++ /dev/null @@ -1,58 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 3.2 | -| \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -6 -( - block - { - type wall; - nFaces 12; - startFace 1184; - } - top - { - type wall; - nFaces 25; - startFace 1196; - } - bottom - { - type wall; - nFaces 25; - startFace 1221; - } - left - { - type wall; - nFaces 25; - startFace 1246; - } - right - { - type wall; - nFaces 25; - startFace 1271; - } - frontAndBack - { - type empty; - nFaces 1240; - startFace 1296; - } -) - -// ************************************************************************* // diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/Allclean b/tutorials/incompressible/icoDyMFoam/movingConeMotion/Allclean index e81dc6208..2f69ca107 100755 --- a/tutorials/incompressible/icoDyMFoam/movingConeMotion/Allclean +++ b/tutorials/incompressible/icoDyMFoam/movingConeMotion/Allclean @@ -4,5 +4,6 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase -rm -f 0/motionGamma -( cd setMotionMovingCone ; wclean ) \ No newline at end of file +rm -f 0/motionGamma* +rm -f constant/polyMesh/boundary +( cd setMotionMovingCone ; wclean ) diff --git a/tutorials/incompressible/icoDyMFoam/movingConeMotion/constant/polyMesh/boundary b/tutorials/incompressible/icoDyMFoam/movingConeMotion/constant/polyMesh/boundary deleted file mode 100644 index e1a441cf7..000000000 --- a/tutorials/incompressible/icoDyMFoam/movingConeMotion/constant/polyMesh/boundary +++ /dev/null @@ -1,70 +0,0 @@ -/*--------------------------------*- C++ -*----------------------------------*\ -| ========= | | -| \\ / F ield | foam-extend: Open Source CFD | -| \\ / O peration | Version: 3.2 | -| \\ / A nd | Web: http://www.foam-extend.org | -| \\/ M anipulation | | -\*---------------------------------------------------------------------------*/ -FoamFile -{ - version 2.0; - format ascii; - class polyBoundaryMesh; - location "constant/polyMesh"; - object boundary; -} -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -8 -( - movingWall - { - type wall; - nFaces 27; - startFace 374; - } - farFieldMoving - { - type patch; - nFaces 15; - startFace 401; - } - fixedWall - { - type wall; - nFaces 12; - startFace 416; - } - axis - { - type empty; - nFaces 0; - startFace 428; - } - left - { - type patch; - nFaces 10; - startFace 428; - } - farField - { - type patch; - nFaces 12; - startFace 438; - } - back - { - type wedge; - nFaces 209; - startFace 450; - } - front - { - type wedge; - nFaces 209; - startFace 659; - } -) - -// ************************************************************************* //