mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: checkMesh, moveDynamicMesh checks not in postProcessing/ (fixes #1104)
- now placed under postProcessing/checkMesh and postProcessing/checkAMI, respectively. Output files are now also tagged with the id of the patch, in case there are multiple AMI patches in use.
This commit is contained in:
@ -116,6 +116,11 @@ void writeWeights
|
||||
|
||||
void writeWeights(const polyMesh& mesh)
|
||||
{
|
||||
const fileName outputDir
|
||||
(
|
||||
mesh.time().globalPath()/functionObject::outputPrefix/"checkAMI"
|
||||
);
|
||||
|
||||
for (const polyPatch& pp : mesh.boundaryMesh())
|
||||
{
|
||||
if (isA<cyclicAMIPolyPatch>(pp))
|
||||
@ -137,8 +142,8 @@ void writeWeights(const polyMesh& mesh)
|
||||
mesh,
|
||||
ami.tgtWeightsSum(),
|
||||
cpp.neighbPatch(),
|
||||
functionObject::outputPrefix,
|
||||
"tgt",
|
||||
outputDir,
|
||||
"patch" + Foam::name(pp.index()) + "-tgt",
|
||||
mesh.time()
|
||||
);
|
||||
writeWeights
|
||||
@ -146,8 +151,8 @@ void writeWeights(const polyMesh& mesh)
|
||||
mesh,
|
||||
ami.srcWeightsSum(),
|
||||
cpp,
|
||||
functionObject::outputPrefix,
|
||||
"src",
|
||||
outputDir,
|
||||
"patch" + Foam::name(pp.index()) + "-src",
|
||||
mesh.time()
|
||||
);
|
||||
}
|
||||
@ -170,7 +175,7 @@ int main(int argc, char *argv[])
|
||||
#include "createTime.H"
|
||||
#include "createNamedDynamicFvMesh.H"
|
||||
|
||||
const bool checkAMI = args.found("checkAMI");
|
||||
const bool checkAMI = args.found("checkAMI");
|
||||
|
||||
if (checkAMI)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user