mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
committed by
Andrew Heather
parent
eabb821926
commit
c3b212e06c
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet outlet-right);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet outlet-right);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet outlet-right);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet outlet-right);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet1 outlet2);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet1 outlet2);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -75,7 +75,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet1 outlet2);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet1 outlet2);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -69,7 +69,7 @@ adjointManagers
|
||||
type flowRatePartition;
|
||||
inletPatches (inlet);
|
||||
outletPatches (outlet outlet-right);
|
||||
targetPercentages (0.5 0.5);
|
||||
targetFractions (0.5 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user