TUT: use filter/mapping with ensight data (#2609)
This commit is contained in:
parent
cb4e026aed
commit
126d831f6e
@ -6,6 +6,7 @@ cd "${0%/*}" || exit # Run from this directory
|
||||
cleanCase0
|
||||
|
||||
rm -rf constant/boundaryData
|
||||
rm -rf constant/sampled
|
||||
rm -rf constant/triSurface
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -24,7 +24,11 @@ pressure
|
||||
duration 0.03;
|
||||
region vibrationShell;
|
||||
selectionMode all;
|
||||
format binary;
|
||||
|
||||
sampleFormat ensight;
|
||||
sampleFile "<constant>/sampled/window/windowPatch.case";
|
||||
filterRadius 3e-3;
|
||||
filterSweeps 10;
|
||||
}
|
||||
|
||||
|
||||
|
@ -12,10 +12,18 @@ runApplication decomposePar
|
||||
|
||||
runParallel $(getApplication)
|
||||
|
||||
vibroAcousticCase="../main"
|
||||
dataDir="postProcessing/surfaces/window"
|
||||
targetCase="../main"
|
||||
dataDir="postProcessing/surfaces"
|
||||
|
||||
targetDir="$targetCase"/constant/boundaryData
|
||||
mkdir -p "$targetDir"
|
||||
rm -rf "$targetDir"/window
|
||||
cp -rf "$dataDir/window" "$targetDir"/window
|
||||
|
||||
targetDir="$targetCase"/constant/sampled
|
||||
mkdir -p "$targetDir"
|
||||
rm -rf "$targetDir"/window
|
||||
cp -rf "$dataDir/windowPatch" "$targetDir"/window
|
||||
|
||||
mkdir -p "$vibroAcousticCase"/constant/boundaryData
|
||||
cp -rf "$dataDir" "$vibroAcousticCase"/constant/boundaryData/window
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
|
@ -58,7 +58,7 @@ functions
|
||||
surfaceFormat boundaryData;
|
||||
writeControl timeStep;
|
||||
writeInterval 100;
|
||||
interpolationScheme cell;
|
||||
|
||||
fields
|
||||
(
|
||||
p
|
||||
@ -76,7 +76,14 @@ functions
|
||||
{
|
||||
type patch;
|
||||
patches (window);
|
||||
interpolate false;
|
||||
surfaceFormat boundaryData;
|
||||
}
|
||||
|
||||
windowPatch
|
||||
{
|
||||
type patch;
|
||||
patches (window);
|
||||
surfaceFormat ensight;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user