BUGFIX: The polyMesh is now picked up from constant/setSubset directory; before subsetting had no effect on mesh. Author: Dominik Christ. Merge: Dominik Christ.

This commit is contained in:
Dominik Christ 2014-09-19 15:50:48 +01:00
commit 6c43057f27
2 changed files with 9 additions and 35 deletions

View file

@ -2,9 +2,17 @@
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
cp -r 0.org 0
\cp -r 0.org 0
runApplication blockMesh
runApplication setSet -batch createObstacle.setSet
runApplication subsetMesh c0 -patch walls -overwrite
# Move subset mesh in to proper place
\cp constant/setSubset/polyMesh/* constant/polyMesh
\rm -rf constant/setSubset
# Mapping in 0/ not needed
\rm -rf 0/setSubset
runApplication setFields
runApplication interDyMFoam

View file

@ -1,34 +0,0 @@
/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | foam-extend: Open Source CFD |
| \\ / O peration | Version: 3.1 |
| \\ / A nd | Web: http://www.extend-project.de |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class polyBoundaryMesh;
location "constant/polyMesh";
object boundary;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
2
(
atmosphere
{
type patch;
nFaces 1024;
startFace 95232;
}
walls
{
type wall;
nFaces 5120;
startFace 96256;
}
)
// ************************************************************************* //