ENH: Input in objectiveFlowRatePartition now reads "targetFractions"

instead of targetPercentages, with a compatibility read on the latter.
Changed corresponding tutorials too.
This commit is contained in:
Vaggelis Papoutsis
2023-12-04 15:52:35 +02:00
committed by Andrew Heather
parent eabb821926
commit c3b212e06c
19 changed files with 37 additions and 30 deletions

View File

@ -66,7 +66,7 @@ adjointManagers
outletPatches (outlet1 outlet2);
// Optional entry. If abscent, inlet flow rate will
// be partitioned equally between outlets
// targetPercentages (0.5 0.5);
// targetFractions (0.5 0.5);
normalize true;
}
}

View File

@ -69,7 +69,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -104,7 +104,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
normalize true;
target 1.e-5;
}

View File

@ -69,7 +69,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -108,7 +108,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.3 0.7);
targetFractions (0.5 0.5);
target 1.e-05;
normalize true;
}

View File

@ -69,7 +69,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -108,7 +108,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
target 1.e-05;
normalize true;
}

View File

@ -69,7 +69,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -108,7 +108,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.7 0.3);
targetFractions (0.5 0.5);
target 1.e-05;
normalize true;
}

View File

@ -75,7 +75,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -174,7 +174,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
normalize true;
target 1.e-5;
}

View File

@ -75,7 +75,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -113,7 +113,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
normalize true;
target 1.e-5;
}

View File

@ -75,7 +75,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -76,7 +76,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet1 outlet2);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -69,7 +69,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
}
}
}

View File

@ -108,7 +108,7 @@ adjointManagers
type flowRatePartition;
inletPatches (inlet);
outletPatches (outlet outlet-right);
targetPercentages (0.5 0.5);
targetFractions (0.5 0.5);
normalize true;
target 1.e-5;
}