Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
4ec0e13
Merge remote-tracking branch 'origin/bugfix/rey/split-statistics-comp…
MelReyCG Mar 12, 2026
2226319
🚧 added user inputs to define the general concept
MelReyCG Mar 12, 2026
d362afa
🐛 wrapper params fix
MelReyCG Mar 13, 2026
2ab71be
📝 missing docs
MelReyCG Mar 13, 2026
876b54b
♻️ method should be private
MelReyCG Mar 13, 2026
db60577
♻️ follow conventions
MelReyCG Mar 13, 2026
db9049b
🚧 add set selection to stat aggregators
MelReyCG Mar 13, 2026
5271c27
✅ add a test case
MelReyCG Mar 13, 2026
0f6fb9c
📦 schema update
MelReyCG Mar 13, 2026
3143d5c
Merge remote-tracking branch 'origin/bugfix/rey/split-statistics-comp…
MelReyCG Mar 13, 2026
605e02f
🐛 fix merge issue
MelReyCG Mar 13, 2026
aa42af4
📝more precise docs
MelReyCG Mar 13, 2026
39f9fb0
✅ test fix (5x5 selection verified)
MelReyCG Mar 13, 2026
86499b8
📝 added sets data structure docs + show which name is dynamic
MelReyCG Mar 16, 2026
dda3ac6
🚧 infrastructure to support statistics processing on element sets
MelReyCG Mar 23, 2026
d30b810
🚧 infrastructure to support statistics aggregation of intersecting el…
MelReyCG Mar 24, 2026
1814382
✨ implemented statistics on sets
MelReyCG Mar 24, 2026
d78bae2
✨ smartly show different levels of stats (if needed / requested)
MelReyCG Mar 24, 2026
9778ad7
✨ added elements count in log
MelReyCG Mar 25, 2026
d16c26c
Merge branch 'bugfix/rey/split-statistics-components' into feature/re…
MelReyCG Mar 25, 2026
3265e39
🐛 wrong stats shown at set level
MelReyCG Mar 25, 2026
5b328ba
♻️ naming & explaining comments
MelReyCG Mar 25, 2026
da67ced
✅ add sets statistics to integrated tests
MelReyCG Mar 25, 2026
a789e0c
⚰️ useless comments
MelReyCG Mar 26, 2026
bb3e106
📝 docs adjustments
MelReyCG Mar 26, 2026
3c16d9c
🐛 fix set stats example
MelReyCG Mar 26, 2026
2a0e64e
📦 schema
MelReyCG Mar 26, 2026
c8544d1
🐛 correct way to take into account compound sets over MPI ranks (+ mi…
MelReyCG Apr 1, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -191,15 +191,38 @@
</Outputs>
<!-- SPHINX_FIELD_CASE_Co2_OUTPUT_END -->


<!--
Do not remove the multiple CompositionalMultiphaseStatistics below:
the goal is also to test here the behaviour of intersecting & complementary sets.
-->

<!-- SPHINX_FIELD_CASE_Co2_TASKS -->
<Tasks>
<PackCollection
name="wellPressureCollection"
objectPath="ElementRegions/wellRegion/wellRegionUniqueSubRegion"
fieldName="pressure" />

<!-- stats table to compare the domain element set with the well surroundings element set -->
<CompositionalMultiphaseStatistics
name="domainAndInjectorFlowStats"
flowSolverName="compositionalMultiphaseFlow"
setNames="{all, injectorSurrounding}"
logLevel="1"
writeCSV="1"/>

<!-- stats table to compare the domain top part with the bottom part -->
<CompositionalMultiphaseStatistics
name="domainTopAndDownFlowStats"
flowSolverName="compositionalMultiphaseFlow"
setNames="{domainBottom, domainTop}"
logLevel="1"
writeCSV="1"/>

</Tasks>
<!-- SPHINX_FIELD_CASE_Co2_TASKS_END -->

<Functions>
<TableFunction
name="permxFunc"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,38 @@
{ 525.0, 525.0, 6600.00 } }"
polylineSegmentConn="{ { 0, 1 } }"
radius="0.1"
numElementsPerSegment="2">
numElementsPerSegment="2"
logLevel="1">
<Perforation
name="injector1_perf1"
distanceFromHead="45"/>
</InternalWell>
</InternalMesh>
</Mesh>
<!-- SPHINX_FIELD_CASE_Co2_MESH_END -->

<!-- SPHINX_FIELD_CASE_Co2_GEOMETRY -->
<Geometry>

<!-- This Box should select 5 x 5 elements around the perforation -->
<!-- ( Perforated cell center is at [530, 500, 6008] ) -->
<Box
name="injectorSurrounding"
xMin="{ 470.0, 400.0, 6584.0 }"
xMax="{ 590.0, 600.0, 6632.0 }" />

<!-- These two boxes are the top and bottom parts of the domain, and should contain an equal number of elements -->
<Box
name="domainTop"
xMin="{ 0.0, 450.0, 6500.0 }"
xMax="{ 1000.0, 550.0, 7100.0 }" />
<Box
name="domainBottom"
xMin="{ 0.0, 450.0, 7100.0 }"
xMax="{ 1000.0, 550.0, 7700.0 }" />

</Geometry>
<!-- SPHINX_FIELD_CASE_Co2_GEOMETRY_END -->

<!-- SPHINX_FIELD_CASE_Co2_EVENTS -->
<Events
Expand Down Expand Up @@ -68,6 +92,16 @@
maxEventDt="5e5"
target="/Solvers/coupledFlowAndWells"/>

<PeriodicEvent
name="domainAndInjectorFlowStatsEvent"
cycleFrequency="10"
target="/Tasks/domainAndInjectorFlowStats"/>

<PeriodicEvent
name="domainTopAndDownFlowStatsEvent"
cycleFrequency="10"
target="/Tasks/domainTopAndDownFlowStats"/>

</Events>
<!-- SPHINX_FIELD_CASE_Co2_EVENTS_END -->
</Problem>
6 changes: 6 additions & 0 deletions src/coreComponents/physicsSolvers/LogLevelsInfo.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ struct Statistics
static constexpr std::string_view getDescription() { return "Print statistics"; }
};

struct StatisticsPerRegion
{
static constexpr int getMinLogLevel() { return 2; }
static constexpr std::string_view getDescription() { return "Print per region statistics"; }
};

struct SurfaceGenerator
{
static constexpr int getMinLogLevel() { return 1; }
Expand Down
Loading
Loading