New form of moving body topo motion
This commit is contained in:
parent
a88e30b209
commit
08ceae9c9b
4 changed files with 51 additions and 2 deletions
|
@ -4,6 +4,6 @@
|
||||||
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
. $WM_PROJECT_DIR/bin/tools/CleanFunctions
|
||||||
|
|
||||||
cleanCase
|
cleanCase
|
||||||
rm -rf VTK
|
rm -rf VTK .setSet system/setSubset/
|
||||||
rm -f constant/polyMesh/boundary
|
rm -f constant/polyMesh/boundary
|
||||||
rm -rf constant/polyMesh/sets
|
rm -rf constant/polyMesh/sets
|
|
@ -25,3 +25,8 @@ faceSet rightZone add setToFace rightWallSet
|
||||||
cellSet rightZoneMasterCells new zoneToCell right
|
cellSet rightZoneMasterCells new zoneToCell right
|
||||||
|
|
||||||
quit
|
quit
|
||||||
|
|
||||||
|
cd constant/polyMesh/sets/
|
||||||
|
\rm leftCentre leftCentre_old leftWallSet leftWallSet_old leftZone_old rightCentre rightCentre_old rightWallSet rightWallSet_old rightZone_old wallSet
|
||||||
|
|
||||||
|
setsToZones
|
|
@ -33,9 +33,11 @@ cycleWrite 0;
|
||||||
|
|
||||||
writeFormat ascii;
|
writeFormat ascii;
|
||||||
|
|
||||||
writeCompression uncompressed;
|
writeCompression compressed;
|
||||||
|
|
||||||
timeFormat general;
|
timeFormat general;
|
||||||
|
writePrecision 10;
|
||||||
|
timePrecision 10;
|
||||||
|
|
||||||
runTimeModifiable yes;
|
runTimeModifiable yes;
|
||||||
|
|
||||||
|
|
|
@ -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 ( );
|
||||||
|
|
||||||
|
// ************************************************************************* //
|
Reference in a new issue