diff --git a/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/constant/CanteraTorchProperties b/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/constant/CanteraTorchProperties index ec7d68c3..0fe1354c 100644 --- a/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/constant/CanteraTorchProperties +++ b/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/constant/CanteraTorchProperties @@ -23,8 +23,8 @@ transportModel "Mix"; odeCoeffs { - "relTol" 1e-15; - "absTol" 1e-24; + "relTol" 1e-6; + "absTol" 1e-10; } inertSpecie "N2"; @@ -44,7 +44,8 @@ TorchSettings torchModel1 "new_ESH2sub1.pt"; torchModel2 "new_ESH2sub2.pt"; torchModel3 "new_ESH2sub3.pt"; - coresPerNode 4; + coresPerGPU 4; + GPUsPerNode 4; } loadbalancing diff --git a/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/system/blockMeshDict b/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/system/blockMeshDict index 35edbf14..b762a930 100644 --- a/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/system/blockMeshDict +++ b/examples/df0DFoam/zeroD_cubicReactor/H2/libtorchIntegrator/system/blockMeshDict @@ -31,7 +31,7 @@ vertices blocks ( - hex (0 1 2 3 4 5 6 7) (1 1 1) simpleGrading (1 1 1) + hex (0 1 2 3 4 5 6 7) (10 10 10) simpleGrading (1 1 1) ); edges diff --git a/examples/dfLowMachFoam/oneD_freelyPropagation/H2/libtorchIntegrator/constant/CanteraTorchProperties b/examples/dfLowMachFoam/oneD_freelyPropagation/H2/libtorchIntegrator/constant/CanteraTorchProperties index d6027303..0fe1354c 100644 --- a/examples/dfLowMachFoam/oneD_freelyPropagation/H2/libtorchIntegrator/constant/CanteraTorchProperties +++ b/examples/dfLowMachFoam/oneD_freelyPropagation/H2/libtorchIntegrator/constant/CanteraTorchProperties @@ -29,6 +29,11 @@ odeCoeffs inertSpecie "N2"; +zeroDReactor +{ + constantProperty "pressure"; +} + splittingStrategy off; TorchSettings @@ -39,7 +44,8 @@ TorchSettings torchModel1 "new_ESH2sub1.pt"; torchModel2 "new_ESH2sub2.pt"; torchModel3 "new_ESH2sub3.pt"; - coresPerNode 4; + coresPerGPU 4; + GPUsPerNode 4; } loadbalancing diff --git a/examples/dfLowMachFoam/threeD_reactingTGV/H2/libtorchIntegrator/constant/CanteraTorchProperties b/examples/dfLowMachFoam/threeD_reactingTGV/H2/libtorchIntegrator/constant/CanteraTorchProperties index d6027303..0fe1354c 100644 --- a/examples/dfLowMachFoam/threeD_reactingTGV/H2/libtorchIntegrator/constant/CanteraTorchProperties +++ b/examples/dfLowMachFoam/threeD_reactingTGV/H2/libtorchIntegrator/constant/CanteraTorchProperties @@ -29,6 +29,11 @@ odeCoeffs inertSpecie "N2"; +zeroDReactor +{ + constantProperty "pressure"; +} + splittingStrategy off; TorchSettings @@ -39,7 +44,8 @@ TorchSettings torchModel1 "new_ESH2sub1.pt"; torchModel2 "new_ESH2sub2.pt"; torchModel3 "new_ESH2sub3.pt"; - coresPerNode 4; + coresPerGPU 4; + GPUsPerNode 4; } loadbalancing diff --git a/examples/dfLowMachFoam/twoD_tripleFlame/H2/libtorchIntegrator/constant/CanteraTorchProperties b/examples/dfLowMachFoam/twoD_tripleFlame/H2/libtorchIntegrator/constant/CanteraTorchProperties index d6027303..0fe1354c 100644 --- a/examples/dfLowMachFoam/twoD_tripleFlame/H2/libtorchIntegrator/constant/CanteraTorchProperties +++ b/examples/dfLowMachFoam/twoD_tripleFlame/H2/libtorchIntegrator/constant/CanteraTorchProperties @@ -29,6 +29,11 @@ odeCoeffs inertSpecie "N2"; +zeroDReactor +{ + constantProperty "pressure"; +} + splittingStrategy off; TorchSettings @@ -39,7 +44,8 @@ TorchSettings torchModel1 "new_ESH2sub1.pt"; torchModel2 "new_ESH2sub2.pt"; torchModel3 "new_ESH2sub3.pt"; - coresPerNode 4; + coresPerGPU 4; + GPUsPerNode 4; } loadbalancing