From 08ceae9c9b80f69f708572b3cca513547c4b80f4 Mon Sep 17 00:00:00 2001 From: Hrvoje Jasak Date: Wed, 3 Aug 2011 09:23:02 +0100 Subject: [PATCH] New form of moving body topo motion --- .../icoDyMFoam/movingConeTopo/Allclean | 2 +- .../icoDyMFoam/movingConeTopo/setBatch | 5 +++ .../movingConeTopo/system/controlDict | 4 +- .../movingConeTopo/system/decomposeParDict | 42 +++++++++++++++++++ 4 files changed, 51 insertions(+), 2 deletions(-) create mode 100644 tutorials/incompressible/icoDyMFoam/movingConeTopo/system/decomposeParDict diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean index 1892bfc36..7f9fb11f0 100755 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/Allclean @@ -4,6 +4,6 @@ . $WM_PROJECT_DIR/bin/tools/CleanFunctions cleanCase -rm -rf VTK +rm -rf VTK .setSet system/setSubset/ rm -f constant/polyMesh/boundary rm -rf constant/polyMesh/sets \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch b/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch index 135cf45de..b91ae4d7b 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/setBatch @@ -25,3 +25,8 @@ faceSet rightZone add setToFace rightWallSet cellSet rightZoneMasterCells new zoneToCell right quit + +cd constant/polyMesh/sets/ +\rm leftCentre leftCentre_old leftWallSet leftWallSet_old leftZone_old rightCentre rightCentre_old rightWallSet rightWallSet_old rightZone_old wallSet + +setsToZones \ No newline at end of file diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict index aded0b56a..085364209 100644 --- a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/controlDict @@ -33,9 +33,11 @@ cycleWrite 0; writeFormat ascii; -writeCompression uncompressed; +writeCompression compressed; timeFormat general; +writePrecision 10; +timePrecision 10; runTimeModifiable yes; diff --git a/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/decomposeParDict b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/decomposeParDict new file mode 100644 index 000000000..4a4b6fe6d --- /dev/null +++ b/tutorials/incompressible/icoDyMFoam/movingConeTopo/system/decomposeParDict @@ -0,0 +1,42 @@ +/*--------------------------------*- C++ -*----------------------------------*\ +| ========= | | +| \\ / F ield | OpenFOAM Extend Project: Open Source CFD | +| \\ / O peration | Version: 1.6-ext | +| \\ / A nd | Web: www.extend-project.de | +| \\/ M anipulation | | +\*---------------------------------------------------------------------------*/ +FoamFile +{ + version 2.0; + format ascii; + class dictionary; + location "system"; + object decomposeParDict; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +// numberOfSubdomains 2; +// method simple; + +numberOfSubdomains 4; +method simple; + +// numberOfSubdomains 5; +// method metis; + +//- Keep owner and neighbour on same processor for faces in zones: +// preserveFaceZones ( leftZone rightZone ); + + +simpleCoeffs +{ +// n ( 2 1 1 ); + n ( 2 2 1 ); + delta 0.001; +} + +distributed no; + +roots ( ); + +// ************************************************************************* //