-
Notifications
You must be signed in to change notification settings - Fork 97
feat: integration test for single phase polyhedral discretizations #3780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
paveltomin
merged 102 commits into
develop
from
feat-integration-test-for-mimetic-finite-difference-single-phase
Oct 2, 2025
Merged
Changes from 101 commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
ad9fb85
wip: adding examples for consistency check
OmarDuran 773121d
wip: add skeletong for an integration test
OmarDuran 8a48f68
wip: adding test file to cmake
OmarDuran e21fb60
wip: refactor cmake list configuration
OmarDuran 7f437a1
Update testPolyhedralDiscretizations.cpp
OmarDuran 6c561af
Update testPolyhedralDiscretizations.cpp
OmarDuran 2fc99c0
Update testPolyhedralDiscretizations.cpp
OmarDuran c527a10
Update testPolyhedralDiscretizations.cpp
OmarDuran b1e476b
Update testPolyhedralDiscretizations.cpp
OmarDuran a25454f
Update testPolyhedralDiscretizations.cpp
OmarDuran 4af50ac
Update testPolyhedralDiscretizations.cpp
OmarDuran 3794be6
Update testPolyhedralDiscretizations.cpp
OmarDuran 2122ec0
Update testPolyhedralDiscretizations.cpp
OmarDuran b26dcc8
Update testPolyhedralDiscretizations.cpp
OmarDuran 14a4e1a
Update testPolyhedralDiscretizations.cpp
OmarDuran 163e0fe
Update testPolyhedralDiscretizations.cpp
OmarDuran 8c07fff
wip: testing external meshes
OmarDuran c6ffaa3
wip: adding parametrization for three kind of meshes and inner products
OmarDuran 1ea2f4f
Update testPolyhedralDiscretizations.cpp
OmarDuran eefa9d5
feature: extending coverage for polyhedral discretizations
OmarDuran f441cb2
Update src/coreComponents/integrationTest/singlePhaseFlow/polyhedralD…
OmarDuran 70e3b6d
wip: make test compatible with CPU builds
OmarDuran d8ec8f2
Update src/coreComponents/integrationTest/singlePhaseFlow/polyhedralD…
OmarDuran 2c7ad4c
Update src/coreComponents/integrationTest/singlePhaseFlow/polyhedralD…
OmarDuran 9b6de64
Merge branch 'feat-integration-test-for-mimetic-finite-difference-sin…
OmarDuran 3ec030a
wip: removing events block
OmarDuran 0189aaf
Update testPolyhedralDiscretizations.cpp
OmarDuran 8077a93
Update testPolyhedralDiscretizations.cpp
OmarDuran 1f3c709
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 0a2c914
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran bbcb238
wip: rename example input files
OmarDuran 21ef66c
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 2990375
wip: fix xml includes
OmarDuran 3a0f238
Merge branch 'feat-integration-test-for-mimetic-finite-difference-sin…
OmarDuran a5f62e4
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 8f82611
bug: fix boundary conditions on SinglePhaseHybridFVM
OmarDuran 47c15a5
Update SinglePhaseHybridFVM.cpp
OmarDuran 28ef558
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 08e91c2
fix: constraint on mass flux and removing unnecessarily upwinding
OmarDuran 14ea63b
Update SinglePhaseHybridFVMKernels.hpp
OmarDuran ed0d26b
Update SinglePhaseHybridFVMKernels.hpp
OmarDuran 973ee85
Update SinglePhaseHybridFVMKernels.hpp
OmarDuran 7e74b38
Update SinglePhaseHybridFVMKernels.hpp
OmarDuran fb17d87
Update SinglePhaseHybridFVMKernels.hpp
OmarDuran a6e8557
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran bd819b5
wip: removing files from old location
OmarDuran ae19d29
wip: relocating files to integrationTests
OmarDuran 112848a
wip: improving conditioning I
OmarDuran b0dc4d0
wip: Estimate condition number for the meshes in the test.
OmarDuran 7a5a8db
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 6674899
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran fb504d1
wip: using iterative solvers
OmarDuran 31f6b04
wip: restore full test
OmarDuran cb3c750
wip: format
OmarDuran 724fec3
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran b2d3fd0
wip: Solver type not supported in Trilinos interface
OmarDuran bc4c1bf
Merge branch 'feat-integration-test-for-mimetic-finite-difference-sin…
OmarDuran 46b08fc
wip: direct solver is supported for all LA interfaces
OmarDuran e8144eb
Update SinglePhaseReservoirHybridFVM.hpp
OmarDuran 15ce642
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 1f62a28
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 80d50c4
Merge branch 'feat-integration-test-for-mimetic-finite-difference-sin…
OmarDuran efbfd77
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 2e09da7
wip: remove implicitStepComplete
OmarDuran ca4dca1
wip: make code CI compliant
OmarDuran 8b34b00
wip: make code CI compliant
OmarDuran 6723dd4
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 0ce6295
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 6080a8b
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran e6fd3cf
Update CMakeLists.txt
OmarDuran cd4bf2c
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran f2828c1
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran f88f58a
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 36c23ef
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran a17920c
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 9b08468
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran f1d250c
wip: move data using parallelDeviceMemorySpace
OmarDuran 0cec762
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 9dac06a
Update CMakeLists.txt
OmarDuran a1c758d
Update testSinglePhaseMFDPolyhedral.cpp
OmarDuran 1399aa1
fix: code is finally CI compliant
OmarDuran 53e4657
fix: restore original location
OmarDuran c1f3598
wip: improving example files
OmarDuran ffe958a
Update BASELINE_NOTES.md
OmarDuran df7927b
Update BASELINE_NOTES.md
OmarDuran 2885454
Update BASELINE_NOTES.md
OmarDuran 68fadff
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran 86ad010
wip: update base lines
OmarDuran e2e48a9
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
paveltomin eb35a4b
Update baseline path in integrated tests configuration
paveltomin 3642a1f
Add link to integrated tests for PR #3780
paveltomin 8f8e524
fix: remove light hack
OmarDuran a346cad
Merge branch 'develop' into feat-integration-test-for-mimetic-finite-…
OmarDuran b379cd7
Update HypreExport.cpp
OmarDuran 61c6c64
Update HypreExport.cpp
OmarDuran 43fe816
wip: simplify the logic and remove std::vector
OmarDuran b1e0894
Update HypreExport.cpp
OmarDuran 733c3b2
Update HypreExport.cpp
OmarDuran 206841b
wip: modify logic to use the same constructor logic.
OmarDuran 17d92c8
wip:
OmarDuran 2392ac1
wip: update rebase lines
OmarDuran 497717f
wip: apply review suggestions
OmarDuran File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 78 additions & 0 deletions
78
inputFiles/singlePhaseFlow/polyhedralDiscretizations/incompressible_consistency_base.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,78 @@ | ||
| <?xml version="1.0" ?> | ||
|
|
||
| <Problem> | ||
|
|
||
| <Mesh> | ||
| <VTKMesh | ||
| name="mesh" | ||
| logLevel="5" | ||
| partitionRefinement="0" | ||
| useGlobalIds="0" | ||
| file="polyhedral_voronoi_lattice.vtk"/> | ||
| </Mesh> | ||
|
|
||
| <Geometry> | ||
| <Box | ||
| name="westBC" | ||
| xMin="{ -0.001, 0.0, 0.0}" | ||
| xMax="{ +0.001, 1.0, 1.0}"/> | ||
| <Box | ||
| name="eastBC" | ||
| xMin="{ +0.999, 0.0, 0.0}" | ||
| xMax="{ +1.001, 1.0, 1.0}"/> | ||
| </Geometry> | ||
|
|
||
| <ElementRegions> | ||
| <CellElementRegion | ||
| name="Domain" | ||
| cellBlocks="{ * }" | ||
| materialList="{rock, fluid }"/> | ||
| </ElementRegions> | ||
|
|
||
| <Solvers gravityVector="{ 0.0, 0.0, 0.0}"> </Solvers> | ||
|
|
||
| <Constitutive> | ||
|
|
||
| <CompressibleSinglePhaseFluid | ||
| name="fluid" | ||
| defaultDensity="1000.0" | ||
| referenceDensity="1000.0" | ||
| defaultViscosity="0.001" | ||
| referenceViscosity="0.001" | ||
| referencePressure="0.0" | ||
| compressibility="0.0" | ||
| viscosibility="0.0" | ||
| densityModelType="linear"/> | ||
|
|
||
| <CompressibleSolidConstantPermeability | ||
| name="rock" | ||
| solidModelName="nullSolid" | ||
| porosityModelName="rockPorosity" | ||
| permeabilityModelName="rockPerm"/> | ||
|
|
||
| <NullModel | ||
| name="nullSolid"/> | ||
|
|
||
| <PressurePorosity | ||
| name="rockPorosity" | ||
| defaultReferencePorosity="0.1" | ||
| referencePressure="0.0" | ||
| compressibility="0.0"/> | ||
|
|
||
| <ConstantPermeability | ||
| name="rockPerm" | ||
| permeabilityComponents="{ 1.0e-13, 1.0e-13, 1.0e-13 }"/> | ||
|
|
||
| </Constitutive> | ||
|
|
||
| <FieldSpecifications> | ||
| <FieldSpecification | ||
| name="initialPressure" | ||
| initialCondition="1" | ||
| setNames="{ all }" | ||
| objectPath="ElementRegions/Domain" | ||
| fieldName="pressure" | ||
| scale="1.0e7"/> | ||
| </FieldSpecifications> | ||
|
|
||
| </Problem> |
77 changes: 77 additions & 0 deletions
77
inputFiles/singlePhaseFlow/polyhedralDiscretizations/incompressible_consistency_mfd.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,77 @@ | ||
| <?xml version="1.0" ?> | ||
|
|
||
| <Problem> | ||
|
|
||
| <Included> | ||
| <File name="incompressible_consistency_base.xml"/> | ||
| </Included> | ||
|
|
||
| <NumericalMethods> | ||
| <FiniteVolume> | ||
| <HybridMimeticDiscretization | ||
| name="singlePhaseMFD" | ||
| innerProductType="quasiTPFA"/> | ||
| </FiniteVolume> | ||
| </NumericalMethods> | ||
|
|
||
| <Solvers> | ||
| <SinglePhaseHybridFVM | ||
| name="SinglePhaseFlow" | ||
| discretization="singlePhaseMFD" | ||
| targetRegions="{ Domain }"> | ||
| <NonlinearSolverParameters | ||
| newtonTol="1.0e-5" | ||
| newtonMaxIter="2"/> | ||
| <LinearSolverParameters | ||
| solverType="gmres" | ||
| preconditionerType="mgr" | ||
| krylovTol="1e-10" | ||
| krylovMaxIter="100" | ||
| logLevel="1" /> | ||
| </SinglePhaseHybridFVM> | ||
| </Solvers> | ||
|
|
||
|
|
||
| <FieldSpecifications> | ||
| <FieldSpecification | ||
| name="initialFacePressure" | ||
| initialCondition="1" | ||
| setNames="{ all }" | ||
| objectPath="faceManager" | ||
| fieldName="facePressure" | ||
| scale="1.0e7"/> | ||
| <FieldSpecification | ||
| name="west_pressure" | ||
| setNames="{ westBC }" | ||
| objectPath="faceManager" | ||
| fieldName="bcPressure" | ||
| scale="2.0e7" /> | ||
| <FieldSpecification | ||
| name="east_pressure" | ||
| setNames="{ eastBC }" | ||
| objectPath="faceManager" | ||
| fieldName="bcPressure" | ||
| scale="1.0e7" /> | ||
| </FieldSpecifications> | ||
|
|
||
|
|
||
| <Events | ||
| minTime="0.0" | ||
| maxTime="86400"> | ||
| <PeriodicEvent | ||
| name="outputs" | ||
| timeFrequency="86400" | ||
| target="/Outputs/vtkConsistencyQuasiTPFA"/> | ||
| <PeriodicEvent | ||
| name="solverApplications" | ||
| endTime="86400" | ||
| maxEventDt="86400" | ||
| target="/Solvers/SinglePhaseFlow"/> | ||
| </Events> | ||
|
|
||
| <Outputs> | ||
| <VTK | ||
| name="vtkConsistencyQuasiTPFA"/> | ||
| </Outputs> | ||
|
|
||
| </Problem> | ||
68 changes: 68 additions & 0 deletions
68
inputFiles/singlePhaseFlow/polyhedralDiscretizations/incompressible_consistency_tpfa.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,68 @@ | ||
| <?xml version="1.0" ?> | ||
|
|
||
| <Problem> | ||
|
|
||
| <Included> | ||
| <File name="incompressible_consistency_base.xml"/> | ||
| </Included> | ||
|
|
||
| <NumericalMethods> | ||
| <FiniteVolume> | ||
| <TwoPointFluxApproximation | ||
| name="singlePhaseTPFA"/> | ||
| </FiniteVolume> | ||
| </NumericalMethods> | ||
|
|
||
| <Solvers> | ||
| <SinglePhaseFVM | ||
| name="SinglePhaseFlow" | ||
| logLevel="5" | ||
| discretization="singlePhaseTPFA" | ||
| targetRegions="{ Domain }"> | ||
| <NonlinearSolverParameters | ||
| newtonTol="1.0e-5" | ||
| newtonMaxIter="2"/> | ||
| <LinearSolverParameters | ||
| solverType="gmres" | ||
| preconditionerType="amg" | ||
| krylovTol="1e-10" | ||
| krylovMaxIter="100" | ||
| logLevel="1" /> | ||
OmarDuran marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </SinglePhaseFVM> | ||
| </Solvers> | ||
|
|
||
| <FieldSpecifications> | ||
| <FieldSpecification | ||
| name="west_pressure" | ||
| setNames="{ westBC }" | ||
| objectPath="faceManager" | ||
| fieldName="pressure" | ||
| scale="2.0e7" /> | ||
| <FieldSpecification | ||
| name="east_pressure" | ||
| setNames="{ eastBC }" | ||
| objectPath="faceManager" | ||
| fieldName="pressure" | ||
| scale="1.0e7" /> | ||
| </FieldSpecifications> | ||
|
|
||
| <Events | ||
| minTime="0.0" | ||
| maxTime="86400"> | ||
| <PeriodicEvent | ||
| name="outputs" | ||
| timeFrequency="86400" | ||
| target="/Outputs/vtkConsistencyTPFA"/> | ||
| <PeriodicEvent | ||
| name="solverApplications" | ||
| endTime="86400" | ||
| maxEventDt="86400" | ||
| target="/Solvers/SinglePhaseFlow"/> | ||
| </Events> | ||
|
|
||
| <Outputs> | ||
| <VTK | ||
| name="vtkConsistencyTPFA"/> | ||
| </Outputs> | ||
|
|
||
| </Problem> | ||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.