New form of moving body topo motion

This commit is contained in:
Hrvoje Jasak 2011-08-03 09:23:02 +01:00
parent a88e30b209
commit 08ceae9c9b
4 changed files with 51 additions and 2 deletions

View file

@ -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

View file

@ -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

View file

@ -33,9 +33,11 @@ cycleWrite 0;
writeFormat ascii;
writeCompression uncompressed;
writeCompression compressed;
timeFormat general;
writePrecision 10;
timePrecision 10;
runTimeModifiable yes;

View file

@ -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 ( );
// ************************************************************************* //