├── .dvc ├── .gitignore └── config ├── .dvcignore ├── .gitignore ├── .python-version ├── CHANGELOG.md ├── README.md ├── assets ├── dvc.lock ├── dvc.yaml ├── foam ├── newInterFoam │ ├── Make │ │ ├── files │ │ └── options │ ├── UEqn.H │ ├── alphaSuSp.H │ ├── correctPhi.H │ ├── createFields.H │ ├── initCorrectPhi.H │ ├── interMixingFoam │ │ ├── Make │ │ │ ├── files │ │ │ └── options │ │ ├── alphaControls.H │ │ ├── alphaEqn.H │ │ ├── alphaEqnSubCycle.H │ │ ├── createFields.H │ │ ├── immiscibleIncompressibleThreePhaseMixture │ │ │ ├── immiscibleIncompressibleThreePhaseMixture.C │ │ │ └── immiscibleIncompressibleThreePhaseMixture.H │ │ ├── incompressibleThreePhaseMixture │ │ │ ├── incompressibleThreePhaseMixture.C │ │ │ └── incompressibleThreePhaseMixture.H │ │ ├── interMixingFoam.C │ │ └── threePhaseInterfaceProperties │ │ │ ├── threePhaseInterfaceProperties.C │ │ │ └── threePhaseInterfaceProperties.H │ ├── newInterFoam.C │ ├── pEqn.H │ └── rhofs.H └── sim │ ├── 0 │ ├── U │ ├── alpha.water │ ├── alpha.water.org │ ├── epsilon │ ├── k │ ├── nut │ └── p_rgh │ ├── .gitignore │ ├── Allrun │ ├── constant │ ├── g │ ├── transportProperties │ └── turbulenceProperties │ └── system │ ├── blockMeshDict │ ├── controlDict │ ├── decomposeParDict │ ├── fvSchemes │ ├── fvSolution │ ├── setFieldsDict │ ├── snappyHexMeshDict │ └── snappyHexMeshDict.org ├── params.yaml ├── pyproject.toml ├── scripts ├── compare_meshes.py ├── convert_latex.py ├── hardware_benchmark.py ├── octave_ichol.m ├── octave_ilu.m ├── pairwise_t_tests.py └── stand_subset.py ├── tests ├── test_model.py └── test_utils.py ├── uibk └── deep_preconditioning │ ├── __init__.py │ ├── cg.py │ ├── data_set.py │ ├── generate_data.py │ ├── metrics.py │ ├── model.py │ ├── test.py │ ├── train.py │ └── utils.py └── uv.lock /.dvc/.gitignore: -------------------------------------------------------------------------------- 1 | /config.local 2 | /tmp 3 | /cache 4 | -------------------------------------------------------------------------------- /.dvc/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/.dvc/config -------------------------------------------------------------------------------- /.dvcignore: -------------------------------------------------------------------------------- 1 | __pycache__/ 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/.gitignore -------------------------------------------------------------------------------- /.python-version: -------------------------------------------------------------------------------- 1 | 3.12.8 2 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/README.md -------------------------------------------------------------------------------- /assets: -------------------------------------------------------------------------------- 1 | /data/deep_preconditioning/assets/ -------------------------------------------------------------------------------- /dvc.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/dvc.lock -------------------------------------------------------------------------------- /dvc.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/dvc.yaml -------------------------------------------------------------------------------- /foam/newInterFoam/Make/files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/Make/files -------------------------------------------------------------------------------- /foam/newInterFoam/Make/options: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/Make/options -------------------------------------------------------------------------------- /foam/newInterFoam/UEqn.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/UEqn.H -------------------------------------------------------------------------------- /foam/newInterFoam/alphaSuSp.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/alphaSuSp.H -------------------------------------------------------------------------------- /foam/newInterFoam/correctPhi.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/correctPhi.H -------------------------------------------------------------------------------- /foam/newInterFoam/createFields.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/createFields.H -------------------------------------------------------------------------------- /foam/newInterFoam/initCorrectPhi.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/initCorrectPhi.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/Make/files: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/Make/files -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/Make/options: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/Make/options -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/alphaControls.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/alphaControls.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/alphaEqn.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/alphaEqn.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/alphaEqnSubCycle.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/alphaEqnSubCycle.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/createFields.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/createFields.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/immiscibleIncompressibleThreePhaseMixture/immiscibleIncompressibleThreePhaseMixture.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/immiscibleIncompressibleThreePhaseMixture/immiscibleIncompressibleThreePhaseMixture.C -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/immiscibleIncompressibleThreePhaseMixture/immiscibleIncompressibleThreePhaseMixture.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/immiscibleIncompressibleThreePhaseMixture/immiscibleIncompressibleThreePhaseMixture.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/incompressibleThreePhaseMixture/incompressibleThreePhaseMixture.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/incompressibleThreePhaseMixture/incompressibleThreePhaseMixture.C -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/incompressibleThreePhaseMixture/incompressibleThreePhaseMixture.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/incompressibleThreePhaseMixture/incompressibleThreePhaseMixture.H -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/interMixingFoam.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/interMixingFoam.C -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.C -------------------------------------------------------------------------------- /foam/newInterFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/interMixingFoam/threePhaseInterfaceProperties/threePhaseInterfaceProperties.H -------------------------------------------------------------------------------- /foam/newInterFoam/newInterFoam.C: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/newInterFoam.C -------------------------------------------------------------------------------- /foam/newInterFoam/pEqn.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/pEqn.H -------------------------------------------------------------------------------- /foam/newInterFoam/rhofs.H: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/newInterFoam/rhofs.H -------------------------------------------------------------------------------- /foam/sim/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/.gitignore -------------------------------------------------------------------------------- /foam/sim/0/U: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/U -------------------------------------------------------------------------------- /foam/sim/0/alpha.water: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/alpha.water -------------------------------------------------------------------------------- /foam/sim/0/alpha.water.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/alpha.water.org -------------------------------------------------------------------------------- /foam/sim/0/epsilon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/epsilon -------------------------------------------------------------------------------- /foam/sim/0/k: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/k -------------------------------------------------------------------------------- /foam/sim/0/nut: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/nut -------------------------------------------------------------------------------- /foam/sim/0/p_rgh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/0/p_rgh -------------------------------------------------------------------------------- /foam/sim/Allrun: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/Allrun -------------------------------------------------------------------------------- /foam/sim/constant/g: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/constant/g -------------------------------------------------------------------------------- /foam/sim/constant/transportProperties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/constant/transportProperties -------------------------------------------------------------------------------- /foam/sim/constant/turbulenceProperties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/constant/turbulenceProperties -------------------------------------------------------------------------------- /foam/sim/system/blockMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/blockMeshDict -------------------------------------------------------------------------------- /foam/sim/system/controlDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/controlDict -------------------------------------------------------------------------------- /foam/sim/system/decomposeParDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/decomposeParDict -------------------------------------------------------------------------------- /foam/sim/system/fvSchemes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/fvSchemes -------------------------------------------------------------------------------- /foam/sim/system/fvSolution: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/fvSolution -------------------------------------------------------------------------------- /foam/sim/system/setFieldsDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/setFieldsDict -------------------------------------------------------------------------------- /foam/sim/system/snappyHexMeshDict: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/snappyHexMeshDict -------------------------------------------------------------------------------- /foam/sim/system/snappyHexMeshDict.org: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/foam/sim/system/snappyHexMeshDict.org -------------------------------------------------------------------------------- /params.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/params.yaml -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/pyproject.toml -------------------------------------------------------------------------------- /scripts/compare_meshes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/compare_meshes.py -------------------------------------------------------------------------------- /scripts/convert_latex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/convert_latex.py -------------------------------------------------------------------------------- /scripts/hardware_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/hardware_benchmark.py -------------------------------------------------------------------------------- /scripts/octave_ichol.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/octave_ichol.m -------------------------------------------------------------------------------- /scripts/octave_ilu.m: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/octave_ilu.m -------------------------------------------------------------------------------- /scripts/pairwise_t_tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/pairwise_t_tests.py -------------------------------------------------------------------------------- /scripts/stand_subset.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/scripts/stand_subset.py -------------------------------------------------------------------------------- /tests/test_model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/tests/test_model.py -------------------------------------------------------------------------------- /tests/test_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/tests/test_utils.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /uibk/deep_preconditioning/cg.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/cg.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/data_set.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/data_set.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/generate_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/generate_data.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/metrics.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/metrics.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/model.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/model.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/test.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/test.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/train.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/train.py -------------------------------------------------------------------------------- /uibk/deep_preconditioning/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uibk/deep_preconditioning/utils.py -------------------------------------------------------------------------------- /uv.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jsappl/DeepPreconditioning/HEAD/uv.lock --------------------------------------------------------------------------------