diff --git a/openfoam2012/freeCylinderFlow/system/blockMeshDict b/openfoam2012/freeCylinderFlow/system/blockMeshDict index e3f341ea021dd625f639b6d055c78c831e7a8004..b1e3ecbb453a111b55895eb739dcf03dce65427a 100644 --- a/openfoam2012/freeCylinderFlow/system/blockMeshDict +++ b/openfoam2012/freeCylinderFlow/system/blockMeshDict @@ -38,23 +38,23 @@ sqrHalf #eval{$r * $sqrTod}; sqr #eval{$sqrHalf * 2}; rxy #eval{sqrt(0.5)*$r}; // rxy^2 + rxy^2 = r^2, x or y coordinate of point on cylinder in 45° -chi #eval{$N*2*floor(sqrt($Ltod))}; // cells horizontally in front of cylinder-surrounding square -cho #eval{$N*3*floor(sqrt($Ltod))}; // cells horizontally behind cylinder-surrounding square -cv #eval{$N*2*floor(sqrt($Ltod))}; // cells vertically below or above cylinder-surrounding square -cvs #eval{$N*10*floor(sqrt($sqrTod))}; // cells at vertical side of square +chi #eval{$N*floor(1.5*sqrt($Ltod))}; // cells horizontally in front of cylinder-surrounding square +cho #eval{$N*2*floor(sqrt($Ltod))}; // cells horizontally behind cylinder-surrounding square +cv #eval{$N*floor(1.5*sqrt($Ltod))}; // cells vertically below or above cylinder-surrounding square +cvs #eval{$N*8*floor(sqrt($sqrTod))}; // cells at vertical side of square chs $cvs; // cells at horizontal side of square // cr #eval{ceil($cvs * (sqrt(2) * $sqrTod - 1) * 2 / 3.14)}; // cells in radial direction in square // gives roughly square cells at cylinder wall -> sounds like a good idea but grading plays into it as well and the // grading is again dependent on cr. So all a mess. -cr #eval{$N*5*floor(sqrt($sqrTod))}; +cr #eval{$N*20*floor(sqrt($sqrTod))}; -ghi 6; // grading horizontally in front of square -gho 8; // grading horizontall behind the square -gv 6; // grading vertically below or above square +ghi 9; // grading horizontally in front of square +gho 11; // grading horizontall behind the square +gv 8; // grading vertically below or above square // gvs, ghs not done -gr #eval{pow(1.05,$cr)}; // grading in radial direction in square +gr #eval{pow(1.1,$cr)}; // grading in radial direction in square /* gr 3; */ vertices