├── onedOverset ├── run │ ├── line.foam │ ├── createLinks.sh │ ├── constant │ │ ├── transportProperties │ │ ├── region1 │ │ │ └── transportProperties │ │ ├── region2 │ │ │ └── transportProperties │ │ └── regionProperties │ ├── meshes │ │ ├── region1 │ │ │ ├── constant │ │ │ │ ├── transportProperties │ │ │ │ ├── region1 │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── polyMesh │ │ │ │ │ │ ├── boundary │ │ │ │ │ │ └── neighbour │ │ │ │ ├── region2 │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── polyMesh │ │ │ │ │ │ ├── boundary │ │ │ │ │ │ └── neighbour │ │ │ │ ├── regionProperties │ │ │ │ └── RHS │ │ │ └── system │ │ │ │ ├── fvSolution │ │ │ │ ├── region1 │ │ │ │ ├── fvSolution │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ │ │ ├── region2 │ │ │ │ ├── fvSolution │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ └── region2 │ │ │ ├── constant │ │ │ ├── transportProperties │ │ │ ├── region1 │ │ │ │ ├── transportProperties │ │ │ │ └── polyMesh │ │ │ │ │ ├── boundary │ │ │ │ │ └── neighbour │ │ │ ├── region2 │ │ │ │ ├── transportProperties │ │ │ │ └── polyMesh │ │ │ │ │ ├── boundary │ │ │ │ │ └── neighbour │ │ │ └── regionProperties │ │ │ └── system │ │ │ ├── fvSolution │ │ │ ├── region1 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ │ ├── region2 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ │ ├── fvSchemes │ │ │ └── controlDict │ ├── system │ │ ├── fvSolution │ │ ├── region1 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ ├── region2 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ ├── fvSchemes │ │ └── controlDict │ └── 0.org │ │ ├── region1 │ │ └── T │ │ └── region2 │ │ └── T └── src │ ├── Make │ ├── files │ └── options │ └── createMeshes.H ├── twodOverset ├── run │ ├── 0 │ │ ├── region2 │ │ │ └── T │ │ └── region1 │ │ │ └── T │ ├── case.foam │ ├── switchMesh.sh │ ├── forceComparison.py │ ├── constant │ │ ├── transportProperties │ │ ├── region1 │ │ │ ├── dynamicMeshDict │ │ │ └── transportProperties │ │ ├── region2 │ │ │ ├── transportProperties │ │ │ ├── dynamicMeshDict │ │ │ └── polyMesh │ │ │ │ └── boundary │ │ └── regionProperties │ ├── meshes │ │ ├── region1 │ │ │ ├── constant │ │ │ │ ├── transportProperties │ │ │ │ ├── region1 │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── polyMesh │ │ │ │ │ │ ├── boundary │ │ │ │ │ │ └── neighbour │ │ │ │ ├── region2 │ │ │ │ │ ├── transportProperties │ │ │ │ │ └── polyMesh │ │ │ │ │ │ ├── boundary │ │ │ │ │ │ └── neighbour │ │ │ │ └── regionProperties │ │ │ └── system │ │ │ │ ├── fvSolution │ │ │ │ ├── region1 │ │ │ │ ├── fvSolution │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ │ │ ├── region2 │ │ │ │ ├── fvSolution │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ │ │ ├── fvSchemes │ │ │ │ └── controlDict │ │ └── region2 │ │ │ ├── constant │ │ │ ├── transportProperties │ │ │ ├── region1 │ │ │ │ ├── transportProperties │ │ │ │ └── polyMesh │ │ │ │ │ ├── boundary │ │ │ │ │ └── neighbour │ │ │ ├── region2 │ │ │ │ ├── transportProperties │ │ │ │ └── polyMesh │ │ │ │ │ ├── boundary │ │ │ │ │ └── neighbour │ │ │ ├── regionProperties │ │ │ └── polyMesh │ │ │ │ └── boundary │ │ │ └── system │ │ │ ├── fvSolution │ │ │ ├── region1 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ │ ├── region2 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ │ ├── fvSchemes │ │ │ └── controlDict │ ├── system │ │ ├── region1 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ ├── region2 │ │ │ ├── fvSolution │ │ │ ├── fvSchemes │ │ │ └── controlDict │ │ ├── fvSolution │ │ ├── fvSchemes │ │ └── controlDict │ └── 0.org.NBC │ │ ├── region2 │ │ └── T │ │ └── region1 │ │ └── T ├── src │ ├── Make │ │ ├── files │ │ └── options │ ├── sparseMatrix │ │ ├── Make │ │ │ ├── files │ │ │ ├── options │ │ │ └── options.o │ │ └── exceptions.H │ ├── itsol-master │ │ ├── src │ │ │ ├── indset.o │ │ │ ├── itsol.o │ │ │ ├── tools.o │ │ │ ├── utils.o │ │ │ ├── libitsol.a │ │ │ ├── mat-utils.o │ │ │ ├── pc-arms2.o │ │ │ ├── pc-iluk.o │ │ │ ├── pc-ilut.o │ │ │ ├── pc-ilutc.o │ │ │ ├── pc-ilutpc.o │ │ │ ├── pc-pilu.o │ │ │ ├── pc-vbiluk.o │ │ │ ├── pc-vbilut.o │ │ │ ├── solver-fgmres.o │ │ │ ├── solver-bicgstab.o │ │ │ ├── solver-bicgstabl.o │ │ │ └── Makefile │ │ ├── include │ │ │ ├── Makefile │ │ │ ├── pc-iluk.h │ │ │ ├── config.h.in │ │ │ ├── config.h │ │ │ └── itsol.h │ │ ├── README.md │ │ ├── examples │ │ │ ├── Makefile │ │ │ └── simplest.c │ │ ├── Makefile.inc.in │ │ ├── utils │ │ │ └── makedeps │ │ ├── Makefile │ │ ├── Makefile.in │ │ └── COPYRIGHT │ └── createMeshes.H ├── src.NS │ ├── Make │ │ ├── files │ │ └── options │ ├── sparseMatrix │ │ ├── Make │ │ │ ├── files │ │ │ ├── linux64GccDPInt32Opt │ │ │ │ ├── variables │ │ │ │ ├── sourceFiles │ │ │ │ ├── sparseMatrix.C.dep │ │ │ │ ├── sparseMatrix.o │ │ │ │ └── options │ │ │ └── options │ │ └── exceptions.H │ ├── itsol-master │ │ ├── src │ │ │ ├── indset.o │ │ │ ├── itsol.o │ │ │ ├── tools.o │ │ │ ├── utils.o │ │ │ ├── libitsol.a │ │ │ ├── pc-arms2.o │ │ │ ├── pc-iluk.o │ │ │ ├── pc-ilut.o │ │ │ ├── pc-ilutc.o │ │ │ ├── pc-pilu.o │ │ │ ├── mat-utils.o │ │ │ ├── pc-ilutpc.o │ │ │ ├── pc-vbiluk.o │ │ │ ├── pc-vbilut.o │ │ │ ├── solver-fgmres.o │ │ │ ├── solver-bicgstab.o │ │ │ ├── solver-bicgstabl.o │ │ │ └── Makefile │ │ ├── include │ │ │ ├── Makefile │ │ │ ├── pc-iluk.h │ │ │ ├── config.h.in │ │ │ ├── config.h │ │ │ └── itsol.h │ │ ├── README.md │ │ ├── examples │ │ │ ├── Makefile │ │ │ └── simplest.c │ │ ├── Makefile.inc.in │ │ ├── utils │ │ │ └── makedeps │ │ ├── Makefile │ │ ├── Makefile.in │ │ └── COPYRIGHT │ ├── massContinuityErrs.H │ └── createMeshes.H └── run.NS │ ├── 0 │ ├── region2 │ │ ├── p │ │ └── U │ └── region1 │ │ ├── p │ │ └── U │ ├── constant │ ├── region1 │ │ ├── polyMesh │ │ │ ├── faceZones │ │ │ └── pointZones │ │ ├── dynamicMeshDict │ │ ├── transportProperties │ │ └── turbulenceProperties │ ├── region2 │ │ ├── polyMesh │ │ │ ├── faceZones │ │ │ ├── pointZones │ │ │ └── boundary │ │ ├── transportProperties │ │ ├── turbulenceProperties │ │ └── dynamicMeshDict │ ├── regionProperties │ ├── transportProperties │ └── turbulenceProperties │ └── system │ ├── region1 │ └── controlDict │ ├── region2 │ └── controlDict │ └── fvSchemes └── .gitattributes /onedOverset/run/line.foam: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /twodOverset/run/case.foam: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /onedOverset/src/Make/files: -------------------------------------------------------------------------------- 1 | onedOverset.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/onedOverset 4 | -------------------------------------------------------------------------------- /twodOverset/src/Make/files: -------------------------------------------------------------------------------- 1 | twoDOverset.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/twoDOverset 4 | -------------------------------------------------------------------------------- /twodOverset/src.NS/Make/files: -------------------------------------------------------------------------------- 1 | simpleFoam.C 2 | 3 | EXE = $(FOAM_USER_APPBIN)/simpleFoamCons 4 | -------------------------------------------------------------------------------- /twodOverset/src/sparseMatrix/Make/files: -------------------------------------------------------------------------------- 1 | sparseMatrix.C 2 | 3 | LIB = $(FOAM_USER_LIBBIN)/libSparseNew 4 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/files: -------------------------------------------------------------------------------- 1 | sparseMatrix.C 2 | 3 | LIB = $(FOAM_USER_LIBBIN)/libSparseNew 4 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/variables: -------------------------------------------------------------------------------- 1 | LIB = $(FOAM_USER_LIBBIN)/libSparseNew 2 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/sourceFiles: -------------------------------------------------------------------------------- 1 | SOURCE = \ 2 | sparseMatrix.C \ 3 | 4 | # sources 5 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/indset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/indset.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/itsol.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/itsol.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/tools.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/tools.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/utils.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/indset.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/indset.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/itsol.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/itsol.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/tools.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/tools.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/utils.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/libitsol.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/libitsol.a -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/mat-utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/mat-utils.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-arms2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-arms2.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-iluk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-iluk.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-ilut.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-ilut.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-ilutc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-ilutc.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-ilutpc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-ilutpc.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-pilu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-pilu.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-vbiluk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-vbiluk.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/pc-vbilut.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/pc-vbilut.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/libitsol.a: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/libitsol.a -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-arms2.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-arms2.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-iluk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-iluk.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-ilut.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-ilut.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-ilutc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-ilutc.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-pilu.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-pilu.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/mat-utils.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/mat-utils.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-ilutpc.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-ilutpc.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-vbiluk.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-vbiluk.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/pc-vbilut.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/pc-vbilut.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/solver-fgmres.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/solver-fgmres.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/solver-fgmres.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/solver-fgmres.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/solver-bicgstab.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/solver-bicgstab.o -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/solver-bicgstabl.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src/itsol-master/src/solver-bicgstabl.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/solver-bicgstab.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/solver-bicgstab.o -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/solver-bicgstabl.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/itsol-master/src/solver-bicgstabl.o -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/sparseMatrix.C.dep: -------------------------------------------------------------------------------- 1 | $(OBJECTS_DIR)/sparseMatrix.C.dep: \ 2 | sparseMatrix.C \ 3 | exceptions.H \ 4 | sparseMatrix.H \ 5 | 6 | 7 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/include/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: clean lib 3 | 4 | default:lib 5 | 6 | lib: 7 | @(cd ../src/; make) 8 | 9 | clean: 10 | @(cd ../src/; make clean) 11 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/include/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: clean lib 3 | 4 | default:lib 5 | 6 | lib: 7 | @(cd ../src/; make) 8 | 9 | clean: 10 | @(cd ../src/; make clean) 11 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/sparseMatrix.o: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/domi0002/geoOverlap/HEAD/twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/sparseMatrix.o -------------------------------------------------------------------------------- /onedOverset/run/createLinks.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cd constant/region1 4 | ln -s -f ../../meshes/region1/constant/polyMesh . 5 | 6 | cd ../../constant/region2 7 | ln -s -f ../../meshes/region2/constant/polyMesh . 8 | 9 | -------------------------------------------------------------------------------- /twodOverset/src/sparseMatrix/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude 5 | 6 | 7 | LIB_LIBS = 8 | -------------------------------------------------------------------------------- /onedOverset/src/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude\ 5 | 6 | 7 | EXE_LIBS = \ 8 | -lfiniteVolume \ 9 | -lfvOptions \ 10 | -lmeshTools \ 11 | -lregionModels 12 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude 5 | #-fsanitize=address \ 6 | #-fno-omit-frame-pointer 7 | 8 | EXE_LIBS = \ 9 | -lfiniteVolume \ 10 | -lfvOptions \ 11 | -lmeshTools \ 12 | -lregionModels 13 | -------------------------------------------------------------------------------- /twodOverset/src/sparseMatrix/Make/options.o: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude 5 | #-fsanitize=address \ 6 | #-fno-omit-frame-pointer 7 | 8 | EXE_LIBS = \ 9 | -lfiniteVolume \ 10 | -lfvOptions \ 11 | -lmeshTools \ 12 | -lregionModels 13 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/include/pc-iluk.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_ILUK_H__ 3 | #define ITSOL_ILUK_H__ 4 | 5 | #include "utils.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | int itsol_pc_lofC(int lofM, ITS_SparMat *csmat, ITS_ILUSpar *lu, FILE *fp); 12 | int itsol_pc_ilukC(int lofM, ITS_SparMat *csmat, ITS_ILUSpar *lu, FILE *fp); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif 18 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/include/pc-iluk.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_ILUK_H__ 3 | #define ITSOL_ILUK_H__ 4 | 5 | #include "utils.h" 6 | 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | 11 | int itsol_pc_lofC(int lofM, ITS_SparMat *csmat, ITS_ILUSpar *lu, FILE *fp); 12 | int itsol_pc_ilukC(int lofM, ITS_SparMat *csmat, ITS_ILUSpar *lu, FILE *fp); 13 | 14 | #ifdef __cplusplus 15 | } 16 | #endif 17 | #endif 18 | -------------------------------------------------------------------------------- /twodOverset/src.NS/massContinuityErrs.H: -------------------------------------------------------------------------------- 1 | 2 | scalar mass=0; 3 | 4 | for (label i = 0 ; i < nMeshes ; i++) 5 | { 6 | const fvMesh & mesh = componentMesh[i]; 7 | 8 | forAll(mesh.boundary(),patchI) 9 | { 10 | if ( mesh.boundaryMesh()[patchI].physicalType()!="Overset") 11 | { 12 | mass += sum(phiComposite[i].boundaryFieldRef()[patchI]); 13 | } 14 | } 15 | 16 | } 17 | 18 | Info << " Total Mass flux across external boundaries --->>>" << mass << endl; 19 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/README.md: -------------------------------------------------------------------------------- 1 | # ITSOL 2 | ITerative SOLvers package created by Yousef Saad 3 | 4 | # Authors 5 | * Na Li [graduate student, 2001 - 2006] 6 | * Brian Suchomel [post-doc 1997-1999] 7 | * Daniel Osei-Kuffuor 8 | * Ruipeng Li 9 | * Yousef Saad 10 | 11 | 12 | # Purpose 13 | The purposes of refactorizing the ITSOL are 1) to add an automatic script; 2) to add name space for each function; 14 | 3) to remove some types and functions; 4) to add higher level data structures; 5) to revise the APIs. 15 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/README.md: -------------------------------------------------------------------------------- 1 | # ITSOL 2 | ITerative SOLvers package created by Yousef Saad 3 | 4 | # Authors 5 | * Na Li [graduate student, 2001 - 2006] 6 | * Brian Suchomel [post-doc 1997-1999] 7 | * Daniel Osei-Kuffuor 8 | * Ruipeng Li 9 | * Yousef Saad 10 | 11 | 12 | # Purpose 13 | The purposes of refactorizing the ITSOL are 1) to add an automatic script; 2) to add name space for each function; 14 | 3) to remove some types and functions; 4) to add higher level data structures; 5) to revise the APIs. 15 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/src/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .SUFFIXES: .cxx 3 | 4 | default: lib 5 | all: lib 6 | 7 | include ../Makefile.inc 8 | include Makefile.dep 9 | 10 | SRC_C = $(wildcard *.c) 11 | DIR_C = $(notdir $(SRC_C)) 12 | OBJS_C = $(patsubst %.c,%.o,$(DIR_C)) 13 | 14 | SRC_F = $(wildcard *.f) 15 | DIR_F = $(notdir $(SRC_F)) 16 | OBJS_F = $(patsubst %.f,%.o,$(DIR_F)) 17 | 18 | OBJS := $(OBJS_C) $(OBJS_F) 19 | 20 | lib: lib$(NLIB).a 21 | 22 | lib$(NLIB).a: ${OBJS} 23 | ${AR} -ruv $@ $(OBJS) 24 | ${RANLIB} $@ 25 | 26 | .PHONY: clean 27 | 28 | clean: 29 | @rm -fv lib*.a 30 | @rm -fv *.o 31 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/src/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .SUFFIXES: .cxx 3 | 4 | default: lib 5 | all: lib 6 | 7 | include ../Makefile.inc 8 | include Makefile.dep 9 | 10 | SRC_C = $(wildcard *.c) 11 | DIR_C = $(notdir $(SRC_C)) 12 | OBJS_C = $(patsubst %.c,%.o,$(DIR_C)) 13 | 14 | SRC_F = $(wildcard *.f) 15 | DIR_F = $(notdir $(SRC_F)) 16 | OBJS_F = $(patsubst %.f,%.o,$(DIR_F)) 17 | 18 | OBJS := $(OBJS_C) $(OBJS_F) 19 | 20 | lib: lib$(NLIB).a 21 | 22 | lib$(NLIB).a: ${OBJS} 23 | ${AR} -ruv $@ $(OBJS) 24 | ${RANLIB} $@ 25 | 26 | .PHONY: clean 27 | 28 | clean: 29 | @rm -fv lib*.a 30 | @rm -fv *.o 31 | -------------------------------------------------------------------------------- /twodOverset/src/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude\ 5 | -I$(LIB_SRC)/dynamicFvMesh/lnInclude \ 6 | -I$(LIB_SRC)/dynamicMesh/lnInclude \ 7 | -I./itsol-master/include\ 8 | -I./sparseMatrix 9 | 10 | 11 | EXE_LIBS = \ 12 | -lfiniteVolume \ 13 | -lfvOptions \ 14 | -lmeshTools \ 15 | -lregionModels \ 16 | -ldynamicMesh\ 17 | -ldynamicFvMesh\ 18 | ./itsol-master/src/libitsol.a\ 19 | -L${FOAM_USER_LIBBIN} -lSparseNew -lgfortran -lblas -llapack 20 | 21 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/examples/Makefile: -------------------------------------------------------------------------------- 1 | 2 | SRC_C = $(wildcard *.c) 3 | DIR_C = $(notdir $(SRC_C)) 4 | OBJ_C = $(patsubst %.c,%.o,$(DIR_C)) 5 | BIN_C = $(patsubst %.c,%,$(DIR_C)) 6 | 7 | default: lib $(BIN_C) 8 | 9 | lib: 10 | @(cd ../; make) 11 | 12 | include ../Makefile.inc 13 | 14 | arms: arms.o ../src/libitsol.a 15 | iluc: iluc.o ../src/libitsol.a 16 | iluk: iluk.o ../src/libitsol.a 17 | ilut: ilut.o ../src/libitsol.a 18 | vbiluk: vbiluk.o ../src/libitsol.a 19 | vbilut: vbilut.o ../src/libitsol.a 20 | solver: solver.o ../src/libitsol.a 21 | simplest: simplest.o ../src/libitsol.a 22 | 23 | clean: 24 | rm -f *.o $(BIN_C) 25 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/examples/Makefile: -------------------------------------------------------------------------------- 1 | 2 | SRC_C = $(wildcard *.c) 3 | DIR_C = $(notdir $(SRC_C)) 4 | OBJ_C = $(patsubst %.c,%.o,$(DIR_C)) 5 | BIN_C = $(patsubst %.c,%,$(DIR_C)) 6 | 7 | default: lib $(BIN_C) 8 | 9 | lib: 10 | @(cd ../; make) 11 | 12 | include ../Makefile.inc 13 | 14 | arms: arms.o ../src/libitsol.a 15 | iluc: iluc.o ../src/libitsol.a 16 | iluk: iluk.o ../src/libitsol.a 17 | ilut: ilut.o ../src/libitsol.a 18 | vbiluk: vbiluk.o ../src/libitsol.a 19 | vbilut: vbilut.o ../src/libitsol.a 20 | solver: solver.o ../src/libitsol.a 21 | simplest: simplest.o ../src/libitsol.a 22 | 23 | clean: 24 | rm -f *.o $(BIN_C) 25 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/Make/linux64GccDPInt32Opt/options: -------------------------------------------------------------------------------- 1 | # 1 "Make/options" 2 | # 1 "" 3 | # 1 "" 4 | # 10 "" 5 | # 1 "/usr/include/stdc-predef.h" 1 3 4 6 | 7 | # 17 "/usr/include/stdc-predef.h" 3 4 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | # 10 "" 2 32 | # 1 "Make/options" 33 | EXE_INC = -I$(LIB_SRC)/finiteVolume/lnInclude -I$(LIB_SRC)/meshTools/lnInclude -I$(LIB_SRC)/regionModels/regionModel/lnInclude 34 | 35 | 36 | 37 | 38 | 39 | 40 | EXE_LIBS = -lfiniteVolume -lfvOptions -lmeshTools -lregionModels 41 | -------------------------------------------------------------------------------- /twodOverset/run/switchMesh.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ $# -eq 0 ]; then 4 | echo " Usage : ./switchMesh , where meshType is one of " 5 | echo " tiny, coarse, medium, fine " 6 | exit 7 | fi 8 | 9 | cd meshes 10 | cd region1 11 | blockMesh -dict system/blockMeshDict.$1 12 | cd ../ 13 | cd region2 14 | blockMesh -dict system/blockMeshDict.$1 15 | transformPoints -origin '(0.45 0.45 0)' -rotate-angle '((0 0 1) 25)' 16 | transformPoints -translate '(-0.2 -0.2 0)' 17 | transformPoints -translate '( 0 0.5 0)' 18 | cd .. 19 | cd .. 20 | rm -rf 0 21 | cp -r 0.org.NBC 0 22 | 23 | cp -r meshes/region1/constant/polyMesh constant/region1/. 24 | cp -r meshes/region2/constant/polyMesh constant/region2/. 25 | 26 | -------------------------------------------------------------------------------- /onedOverset/src/createMeshes.H: -------------------------------------------------------------------------------- 1 | 2 | regionProperties rp(runTime); 3 | 4 | const wordList fluidNames(rp["componentMeshes"]); 5 | 6 | PtrList componentMesh(fluidNames.size()); 7 | 8 | forAll(fluidNames, i) 9 | { 10 | Info<< "Create mesh for region " << fluidNames[i] 11 | << " for time = " << runTime.timeName() << nl << endl; 12 | 13 | componentMesh.set 14 | ( 15 | i, 16 | new fvMesh 17 | ( 18 | IOobject 19 | ( 20 | fluidNames[i], 21 | runTime.timeName(), 22 | runTime, 23 | IOobject::MUST_READ 24 | ) 25 | ) 26 | ); 27 | } 28 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/include/config.h.in: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_CONFIG_H 3 | #define ITSOL_CONFIG_H 4 | 5 | /* system, headers and libs */ 6 | #define STDC_HEADERS 0 7 | #define HAVE_STDLIB_H 0 8 | #define HAVE_STRING_H 0 9 | #define HAVE_INTTYPES_H 0 10 | #define HAVE_STDINT_H 0 11 | #define HAVE_UNISTD_H 0 12 | #define HAVE_SYS_TYPES_H 0 13 | #define HAVE_SYS_STAT_H 0 14 | #define TIME_WITH_SYS_TIME 0 15 | #define HAVE_SYS_TIME_H 0 16 | #define HAVE_SYS_RESOURCE_H 0 17 | #define HAVE_GETTIMEOFDAY 0 18 | #define HAVE_GETRUSAGE 0 19 | 20 | /* Macros for Fortran names mangling defined by the configure script */ 21 | #define F77_FUNC(s,S) s ## _ 22 | #define F77_FUNC_(s,S) s ## __ 23 | #define FC_FUNC(s,S) s ## _ 24 | #define FC_FUNC_(s,S) s ## __ 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/include/config.h.in: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_CONFIG_H 3 | #define ITSOL_CONFIG_H 4 | 5 | /* system, headers and libs */ 6 | #define STDC_HEADERS 0 7 | #define HAVE_STDLIB_H 0 8 | #define HAVE_STRING_H 0 9 | #define HAVE_INTTYPES_H 0 10 | #define HAVE_STDINT_H 0 11 | #define HAVE_UNISTD_H 0 12 | #define HAVE_SYS_TYPES_H 0 13 | #define HAVE_SYS_STAT_H 0 14 | #define TIME_WITH_SYS_TIME 0 15 | #define HAVE_SYS_TIME_H 0 16 | #define HAVE_SYS_RESOURCE_H 0 17 | #define HAVE_GETTIMEOFDAY 0 18 | #define HAVE_GETRUSAGE 0 19 | 20 | /* Macros for Fortran names mangling defined by the configure script */ 21 | #define F77_FUNC(s,S) s ## _ 22 | #define F77_FUNC_(s,S) s ## __ 23 | #define FC_FUNC(s,S) s ## _ 24 | #define FC_FUNC_(s,S) s ## __ 25 | 26 | #endif 27 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/include/config.h: -------------------------------------------------------------------------------- 1 | /* include/config.h. Generated from config.h.in by configure. */ 2 | 3 | #ifndef ITSOL_CONFIG_H 4 | #define ITSOL_CONFIG_H 5 | 6 | /* system, headers and libs */ 7 | #define STDC_HEADERS 1 8 | #define HAVE_STDLIB_H 1 9 | #define HAVE_STRING_H 1 10 | #define HAVE_INTTYPES_H 1 11 | #define HAVE_STDINT_H 1 12 | #define HAVE_UNISTD_H 1 13 | #define HAVE_SYS_TYPES_H 1 14 | #define HAVE_SYS_STAT_H 1 15 | #define TIME_WITH_SYS_TIME 1 16 | #define HAVE_SYS_TIME_H 1 17 | #define HAVE_SYS_RESOURCE_H 1 18 | #define HAVE_GETTIMEOFDAY 1 19 | #define HAVE_GETRUSAGE 1 20 | 21 | /* Macros for Fortran names mangling defined by the configure script */ 22 | #define F77_FUNC(s,S) s ## _ 23 | #define F77_FUNC_(s,S) s ## __ 24 | #define FC_FUNC(name,NAME) name ## _ 25 | #define FC_FUNC_(name,NAME) name ## _ 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/include/config.h: -------------------------------------------------------------------------------- 1 | /* include/config.h. Generated from config.h.in by configure. */ 2 | 3 | #ifndef ITSOL_CONFIG_H 4 | #define ITSOL_CONFIG_H 5 | 6 | /* system, headers and libs */ 7 | #define STDC_HEADERS 1 8 | #define HAVE_STDLIB_H 1 9 | #define HAVE_STRING_H 1 10 | #define HAVE_INTTYPES_H 1 11 | #define HAVE_STDINT_H 1 12 | #define HAVE_UNISTD_H 1 13 | #define HAVE_SYS_TYPES_H 1 14 | #define HAVE_SYS_STAT_H 1 15 | #define TIME_WITH_SYS_TIME 1 16 | #define HAVE_SYS_TIME_H 1 17 | #define HAVE_SYS_RESOURCE_H 1 18 | #define HAVE_GETTIMEOFDAY 1 19 | #define HAVE_GETRUSAGE 1 20 | 21 | /* Macros for Fortran names mangling defined by the configure script */ 22 | #define F77_FUNC(s,S) s ## _ 23 | #define F77_FUNC_(s,S) s ## __ 24 | #define FC_FUNC(name,NAME) name ## _ 25 | #define FC_FUNC_(name,NAME) name ## _ 26 | 27 | #endif 28 | -------------------------------------------------------------------------------- /twodOverset/src/createMeshes.H: -------------------------------------------------------------------------------- 1 | 2 | regionProperties rp(runTime); 3 | 4 | const wordList fluidNames(rp["componentMeshes"]); 5 | 6 | //- Dynamic Generalization 7 | PtrList componentMesh(fluidNames.size()); 8 | 9 | forAll(fluidNames, i) 10 | { 11 | Info<< "Create mesh for region " << fluidNames[i] 12 | << " for time = " << runTime.timeName() << nl << endl; 13 | 14 | componentMesh.set 15 | ( 16 | i, 17 | dynamicFvMesh::New 18 | ( 19 | IOobject 20 | ( 21 | fluidNames[i], 22 | runTime.timeName(), 23 | runTime, 24 | IOobject::MUST_READ 25 | ) 26 | ) 27 | ); 28 | } 29 | 30 | 31 | const label nMeshes = componentMesh.size(); 32 | -------------------------------------------------------------------------------- /twodOverset/src.NS/createMeshes.H: -------------------------------------------------------------------------------- 1 | 2 | regionProperties rp(runTime); 3 | 4 | const wordList fluidNames(rp["componentMeshes"]); 5 | 6 | //- Dynamic Generalization 7 | PtrList componentMesh(fluidNames.size()); 8 | 9 | forAll(fluidNames, i) 10 | { 11 | Info<< "Create mesh for region " << fluidNames[i] 12 | << " for time = " << runTime.timeName() << nl << endl; 13 | 14 | componentMesh.set 15 | ( 16 | i, 17 | new fvMesh 18 | ( 19 | IOobject 20 | ( 21 | fluidNames[i], 22 | runTime.timeName(), 23 | runTime, 24 | IOobject::MUST_READ 25 | ) 26 | ) 27 | ); 28 | } 29 | 30 | 31 | const label nMeshes = componentMesh.size(); 32 | 33 | fvMesh & mesh = componentMesh[0]; 34 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/Makefile.inc.in: -------------------------------------------------------------------------------- 1 | NLIB = itsol 2 | LIB_SUFFIX = .a 3 | 4 | CPP = @CPP@ 5 | CPPFLAGS = @CPPFLAGS@ 6 | 7 | CC = @CC@ 8 | CFLAGS = @CFLAGS@ 9 | 10 | FC = @FC@ 11 | FCFLAGS = @FCFLAGS@ 12 | FCLIBS = @FCLIBS@ 13 | 14 | LINKER = @LINKER@ 15 | LDFLAGS = @LDFLAGS@ 16 | LIBS = @LIBS@ 17 | 18 | AR = @AR@ 19 | RANLIB = @RANLIB@ 20 | 21 | prefix = @prefix@ 22 | libdir = @prefix@/lib 23 | includedir = @prefix@/include 24 | RPATH_FLAG = @RPATH_FLAG@ 25 | 26 | %.o : %.c 27 | ${CC} ${CFLAGS} ${CPPFLAGS} -c $*.c 28 | @echo 29 | 30 | %.o : %.f 31 | ${FC} ${FCFLAGS} -c $*.f 32 | @echo 33 | 34 | % : %.o 35 | ${LINKER} ${LDFLAGS} -o $@ $*.o ${LIBS} 36 | @echo 37 | 38 | % : %.c 39 | ${LINKER} ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} -c $*.c ${LIBS} 40 | @echo 41 | 42 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/Makefile.inc.in: -------------------------------------------------------------------------------- 1 | NLIB = itsol 2 | LIB_SUFFIX = .a 3 | 4 | CPP = @CPP@ 5 | CPPFLAGS = @CPPFLAGS@ 6 | 7 | CC = @CC@ 8 | CFLAGS = @CFLAGS@ 9 | 10 | FC = @FC@ 11 | FCFLAGS = @FCFLAGS@ 12 | FCLIBS = @FCLIBS@ 13 | 14 | LINKER = @LINKER@ 15 | LDFLAGS = @LDFLAGS@ 16 | LIBS = @LIBS@ 17 | 18 | AR = @AR@ 19 | RANLIB = @RANLIB@ 20 | 21 | prefix = @prefix@ 22 | libdir = @prefix@/lib 23 | includedir = @prefix@/include 24 | RPATH_FLAG = @RPATH_FLAG@ 25 | 26 | %.o : %.c 27 | ${CC} ${CFLAGS} ${CPPFLAGS} -c $*.c 28 | @echo 29 | 30 | %.o : %.f 31 | ${FC} ${FCFLAGS} -c $*.f 32 | @echo 33 | 34 | % : %.o 35 | ${LINKER} ${LDFLAGS} -o $@ $*.o ${LIBS} 36 | @echo 37 | 38 | % : %.c 39 | ${LINKER} ${LDFLAGS} ${CFLAGS} ${CPPFLAGS} -c $*.c ${LIBS} 40 | @echo 41 | 42 | -------------------------------------------------------------------------------- /twodOverset/run/forceComparison.py: -------------------------------------------------------------------------------- 1 | #!/usr/bin/python 2 | import matplotlib.pyplot as pt 3 | import numpy as np 4 | from sklearn.linear_model import LinearRegression 5 | import csv 6 | 7 | result1 = np.genfromtxt('forces.c.dat',names=['time','error','ninterp']) 8 | result2 = np.genfromtxt('forces.nc.dat',names=['time','error','ninterp']) 9 | ax = pt.axes() 10 | ax.plot(result1['time'],np.absolute(result1['error']), 'k+-',label='Conservative') 11 | ax.plot(result2['time'],np.absolute(result2['error']), 'r*-',label='Standard') 12 | ax.set_ylim(ymin=0,ymax=0.0125) 13 | 14 | 15 | sax = ax.twinx() 16 | sax.plot(result1['time'],np.absolute(result1['ninterp']), 'bo-',label= 'Interpolation Cell Count') 17 | ax.set_xlabel(' Time (s)') 18 | ax.set_ylabel('abs(Force Error)') 19 | sax.set_ylabel('Interpolation Cell Count') 20 | sax.set_ylim(ymax=1580) 21 | ax.legend() 22 | 23 | pt.legend(loc="upper left") 24 | pt.show() 25 | 26 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/examples/simplest.c: -------------------------------------------------------------------------------- 1 | #include "itsol.h" 2 | 3 | int main(void) 4 | { 5 | double *x = NULL, *rhs = NULL; 6 | int n, i; 7 | ITS_CooMat A; 8 | ITS_SOLVER s; 9 | 10 | /* case: COO formats */ 11 | A = itsol_read_coo("pores3.coo"); 12 | n = A.n; 13 | 14 | /* solution vectors */ 15 | x = (double *)itsol_malloc(n * sizeof(double), "main"); 16 | rhs = (double *)itsol_malloc(n * sizeof(double), "main"); 17 | 18 | for( i = 0; i < n; i++ ) { 19 | x[i] = 0.0; 20 | rhs[i] = i; 21 | } 22 | 23 | /* init */ 24 | itsol_solver_initialize(&s, ITS_SOLVER_BICGSTAB, ITS_PC_ILUK, &A); 25 | 26 | /* call solver */ 27 | itsol_solver_solve(&s, x, rhs); 28 | 29 | /* get results */ 30 | printf("solver converged in %d steps...\n\n", s.nits); 31 | 32 | /* cleanup */ 33 | itsol_solver_finalize(&s); 34 | 35 | itsol_cleanCOO(&A); 36 | free(x); 37 | free(rhs); 38 | 39 | return 0; 40 | } 41 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region1/polyMesh/faceZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class regIOobject; 13 | location "constant/polyMesh"; 14 | object faceZones; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 0() 19 | 20 | // ************************************************************************* // 21 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region1/polyMesh/pointZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class regIOobject; 13 | location "constant/polyMesh"; 14 | object pointZones; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 0() 19 | 20 | // ************************************************************************* // 21 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/polyMesh/faceZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class regIOobject; 13 | location "constant/polyMesh"; 14 | object faceZones; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 0() 19 | 20 | // ************************************************************************* // 21 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/polyMesh/pointZones: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class regIOobject; 13 | location "constant/polyMesh"; 14 | object pointZones; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 0() 19 | 20 | // ************************************************************************* // 21 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/examples/simplest.c: -------------------------------------------------------------------------------- 1 | #include "itsol.h" 2 | 3 | int main(void) 4 | { 5 | double *x = NULL, *rhs = NULL; 6 | int n, i; 7 | ITS_CooMat A; 8 | ITS_SOLVER s; 9 | 10 | /* case: COO formats */ 11 | A = itsol_read_coo("pores3.coo"); 12 | n = A.n; 13 | 14 | /* solution vectors */ 15 | x = (double *)itsol_malloc(n * sizeof(double), "main"); 16 | rhs = (double *)itsol_malloc(n * sizeof(double), "main"); 17 | 18 | for( i = 0; i < n; i++ ) { 19 | x[i] = 0.0; 20 | rhs[i] = i; 21 | } 22 | 23 | /* init */ 24 | itsol_solver_initialize(&s, ITS_SOLVER_BICGSTAB, ITS_PC_ILUK, &A); 25 | 26 | /* call solver */ 27 | itsol_solver_solve(&s, x, rhs); 28 | 29 | /* get results */ 30 | printf("solver converged in %d steps...\n\n", s.nits); 31 | 32 | /* cleanup */ 33 | itsol_solver_finalize(&s); 34 | 35 | itsol_cleanCOO(&A); 36 | free(x); 37 | free(rhs); 38 | 39 | return 0; 40 | } 41 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/utils/makedeps: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | process_deps () { 4 | local src f files 5 | src="$1" 6 | if $2; then 7 | if ! test -r "$src" -a "${src#\.\./include/}" = "$src"; then 8 | src="../include/$src" 9 | fi 10 | test -r "$src" || return 11 | echo " $src" 12 | fi 13 | files=`grep '^#[ ]*include *"' "$src" | awk -F\" '{print $2}'` 14 | for f in $files; do 15 | process_deps "$f" true 16 | done 17 | } 18 | 19 | # cd to top level directory 20 | cd `dirname $0`/.. 21 | 22 | echo 1>&2 "Clean up auxiliary files ..." 23 | make -s clean >/dev/null 2>&1 || true 24 | 25 | for d in src; do 26 | echo 1>&2 "Processing in $d ..." 27 | cd $d || continue 28 | echo "" >Makefile.dep 29 | for f in *.c *.cxx *.cpp *.c++; do 30 | test -r "$f" || continue 31 | echo "" 32 | echo -n "${f%\.*}.o: $f " 33 | echo `process_deps "$f" false | sort -u` 34 | done >> Makefile.dep 35 | test $d = "." || cd .. 36 | done 37 | 38 | echo 1>&2 "Done." 39 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/utils/makedeps: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | process_deps () { 4 | local src f files 5 | src="$1" 6 | if $2; then 7 | if ! test -r "$src" -a "${src#\.\./include/}" = "$src"; then 8 | src="../include/$src" 9 | fi 10 | test -r "$src" || return 11 | echo " $src" 12 | fi 13 | files=`grep '^#[ ]*include *"' "$src" | awk -F\" '{print $2}'` 14 | for f in $files; do 15 | process_deps "$f" true 16 | done 17 | } 18 | 19 | # cd to top level directory 20 | cd `dirname $0`/.. 21 | 22 | echo 1>&2 "Clean up auxiliary files ..." 23 | make -s clean >/dev/null 2>&1 || true 24 | 25 | for d in src; do 26 | echo 1>&2 "Processing in $d ..." 27 | cd $d || continue 28 | echo "" >Makefile.dep 29 | for f in *.c *.cxx *.cpp *.c++; do 30 | test -r "$f" || continue 31 | echo "" 32 | echo -n "${f%\.*}.o: $f " 33 | echo `process_deps "$f" false | sort -u` 34 | done >> Makefile.dep 35 | test $d = "." || cd .. 36 | done 37 | 38 | echo 1>&2 "Done." 39 | -------------------------------------------------------------------------------- /onedOverset/run/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/constant/region1/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh staticFvMesh; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region1/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh staticFvMesh; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | DT 1; 19 | 20 | 21 | // ************************************************************************* // 22 | -------------------------------------------------------------------------------- /onedOverset/run/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /twodOverset/run/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/regionProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object regionProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | regions 19 | ( 20 | componentMeshes (region1 region2) 21 | ); 22 | 23 | // ************************************************************************* // 24 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: default all clean distclean install dep 3 | 4 | include Makefile.inc 5 | 6 | default: 7 | @(cd src; $(MAKE)) 8 | 9 | lib: 10 | @(cd src; $(MAKE)) 11 | 12 | all: 13 | @(cd src; $(MAKE)) 14 | 15 | clean: 16 | @(cd src; $(MAKE) clean) 17 | @rm -fr config-env.log config.log config.status autom4te.cache 18 | @(cd examples; $(MAKE) clean) 19 | 20 | distclean: 21 | @(cd src; $(MAKE) clean) 22 | @(cd examples; $(MAKE) clean) 23 | @rm -f Makefile Makefile.inc 24 | @rm -fr config-env.log config.log config.status autom4te.cache 25 | @rm -f include/config.h Makefile Makefile.inc 26 | 27 | install: 28 | @(cd src; $(MAKE)) 29 | @mkdir -p ${libdir} 30 | @/bin/rm -f ${libdir}/lib${NLIB}${LIB_SUFFIX} ${libdir}/lib${NLIB}.so >/dev/null 2>&1 || true 31 | @cp -f lib/lib${NLIB}${LIB_SUFFIX} ${libdir}/ 32 | @chmod 0644 ${libdir}/lib${NLIB}${LIB_SUFFIX} 33 | @echo "installing header files to ${includedir}/" 34 | @mkdir -p ${includedir} 35 | @cp -f include/*.h ${includedir}/ 36 | @chmod 0644 ${includedir}/*.h 37 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/Makefile: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: default all clean distclean install dep 3 | 4 | include Makefile.inc 5 | 6 | default: 7 | @(cd src; $(MAKE)) 8 | 9 | lib: 10 | @(cd src; $(MAKE)) 11 | 12 | all: 13 | @(cd src; $(MAKE)) 14 | 15 | clean: 16 | @(cd src; $(MAKE) clean) 17 | @rm -fr config-env.log config.log config.status autom4te.cache 18 | @(cd examples; $(MAKE) clean) 19 | 20 | distclean: 21 | @(cd src; $(MAKE) clean) 22 | @(cd examples; $(MAKE) clean) 23 | @rm -f Makefile Makefile.inc 24 | @rm -fr config-env.log config.log config.status autom4te.cache 25 | @rm -f include/config.h Makefile Makefile.inc 26 | 27 | install: 28 | @(cd src; $(MAKE)) 29 | @mkdir -p ${libdir} 30 | @/bin/rm -f ${libdir}/lib${NLIB}${LIB_SUFFIX} ${libdir}/lib${NLIB}.so >/dev/null 2>&1 || true 31 | @cp -f lib/lib${NLIB}${LIB_SUFFIX} ${libdir}/ 32 | @chmod 0644 ${libdir}/lib${NLIB}${LIB_SUFFIX} 33 | @echo "installing header files to ${includedir}/" 34 | @mkdir -p ${includedir} 35 | @cp -f include/*.h ${includedir}/ 36 | @chmod 0644 ${includedir}/*.h 37 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/Makefile.in: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: default all clean distclean install dep 3 | 4 | include Makefile.inc 5 | 6 | default: 7 | @(cd src; $(MAKE)) 8 | 9 | lib: 10 | @(cd src; $(MAKE)) 11 | 12 | all: 13 | @(cd src; $(MAKE)) 14 | 15 | clean: 16 | @(cd src; $(MAKE) clean) 17 | @rm -fr config-env.log config.log config.status autom4te.cache 18 | @(cd examples; $(MAKE) clean) 19 | 20 | distclean: 21 | @(cd src; $(MAKE) clean) 22 | @(cd examples; $(MAKE) clean) 23 | @rm -f Makefile Makefile.inc 24 | @rm -fr config-env.log config.log config.status autom4te.cache 25 | @rm -f include/config.h Makefile Makefile.inc 26 | 27 | install: 28 | @(cd src; $(MAKE)) 29 | @mkdir -p ${libdir} 30 | @/bin/rm -f ${libdir}/lib${NLIB}${LIB_SUFFIX} ${libdir}/lib${NLIB}.so >/dev/null 2>&1 || true 31 | @cp -f lib/lib${NLIB}${LIB_SUFFIX} ${libdir}/ 32 | @chmod 0644 ${libdir}/lib${NLIB}${LIB_SUFFIX} 33 | @echo "installing header files to ${includedir}/" 34 | @mkdir -p ${includedir} 35 | @cp -f include/*.h ${includedir}/ 36 | @chmod 0644 ${includedir}/*.h 37 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/Makefile.in: -------------------------------------------------------------------------------- 1 | 2 | .PHONY: default all clean distclean install dep 3 | 4 | include Makefile.inc 5 | 6 | default: 7 | @(cd src; $(MAKE)) 8 | 9 | lib: 10 | @(cd src; $(MAKE)) 11 | 12 | all: 13 | @(cd src; $(MAKE)) 14 | 15 | clean: 16 | @(cd src; $(MAKE) clean) 17 | @rm -fr config-env.log config.log config.status autom4te.cache 18 | @(cd examples; $(MAKE) clean) 19 | 20 | distclean: 21 | @(cd src; $(MAKE) clean) 22 | @(cd examples; $(MAKE) clean) 23 | @rm -f Makefile Makefile.inc 24 | @rm -fr config-env.log config.log config.status autom4te.cache 25 | @rm -f include/config.h Makefile Makefile.inc 26 | 27 | install: 28 | @(cd src; $(MAKE)) 29 | @mkdir -p ${libdir} 30 | @/bin/rm -f ${libdir}/lib${NLIB}${LIB_SUFFIX} ${libdir}/lib${NLIB}.so >/dev/null 2>&1 || true 31 | @cp -f lib/lib${NLIB}${LIB_SUFFIX} ${libdir}/ 32 | @chmod 0644 ${libdir}/lib${NLIB}${LIB_SUFFIX} 33 | @echo "installing header files to ${includedir}/" 34 | @mkdir -p ${includedir} 35 | @cp -f include/*.h ${includedir}/ 36 | @chmod 0644 ${includedir}/*.h 37 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | transportModel Newtonian; 19 | 20 | rho 1; 21 | 22 | nu 10; 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region1/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | transportModel Newtonian; 19 | 20 | rho 1; 21 | 22 | nu 100; 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/transportProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object transportProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | transportModel Newtonian; 19 | 20 | rho 1; 21 | 22 | nu 100; 23 | 24 | // ************************************************************************* // 25 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/include/itsol.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_INCLUDED_PROTOS_H__ 3 | #define ITSOL_INCLUDED_PROTOS_H__ 4 | 5 | #include "solver-fgmres.h" 6 | #include "solver-bicgstab.h" 7 | #include "solver-bicgstabl.h" 8 | 9 | #include "pc-arms2.h" 10 | #include "pc-iluk.h" 11 | #include "pc-ilutc.h" 12 | #include "pc-ilut.h" 13 | #include "pc-ilutpc.h" 14 | #include "pc-pilu.h" 15 | #include "pc-vbiluk.h" 16 | #include "pc-vbilut.h" 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | void itsol_solver_initialize(ITS_SOLVER *s, ITS_SOLVER_TYPE stype, ITS_PC_TYPE pctype, ITS_CooMat *A); 23 | void itsol_solver_finalize(ITS_SOLVER *s); 24 | 25 | int itsol_solver_assemble(ITS_SOLVER *s); 26 | 27 | int itsol_solver_solve(ITS_SOLVER *s, double *x, double *rhs); 28 | 29 | void itsol_pc_initialize(ITS_PC *pc, ITS_PC_TYPE pctype); 30 | void itsol_pc_finalize(ITS_PC *pc); 31 | int itsol_pc_assemble(ITS_SOLVER *s); 32 | 33 | void itsol_solver_set_pars(ITS_SOLVER *s, ITS_PARS par); 34 | void itsol_solver_init_pars(ITS_PARS *par); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif 40 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/include/itsol.h: -------------------------------------------------------------------------------- 1 | 2 | #ifndef ITSOL_INCLUDED_PROTOS_H__ 3 | #define ITSOL_INCLUDED_PROTOS_H__ 4 | 5 | #include "solver-fgmres.h" 6 | #include "solver-bicgstab.h" 7 | #include "solver-bicgstabl.h" 8 | 9 | #include "pc-arms2.h" 10 | #include "pc-iluk.h" 11 | #include "pc-ilutc.h" 12 | #include "pc-ilut.h" 13 | #include "pc-ilutpc.h" 14 | #include "pc-pilu.h" 15 | #include "pc-vbiluk.h" 16 | #include "pc-vbilut.h" 17 | 18 | #ifdef __cplusplus 19 | extern "C" { 20 | #endif 21 | 22 | void itsol_solver_initialize(ITS_SOLVER *s, ITS_SOLVER_TYPE stype, ITS_PC_TYPE pctype, ITS_CooMat *A); 23 | void itsol_solver_finalize(ITS_SOLVER *s); 24 | 25 | int itsol_solver_assemble(ITS_SOLVER *s); 26 | 27 | int itsol_solver_solve(ITS_SOLVER *s, double *x, double *rhs); 28 | 29 | void itsol_pc_initialize(ITS_PC *pc, ITS_PC_TYPE pctype); 30 | void itsol_pc_finalize(ITS_PC *pc); 31 | int itsol_pc_assemble(ITS_SOLVER *s); 32 | 33 | void itsol_solver_set_pars(ITS_SOLVER *s, ITS_PARS par); 34 | void itsol_solver_init_pars(ITS_PARS *par); 35 | 36 | #ifdef __cplusplus 37 | } 38 | #endif 39 | #endif 40 | -------------------------------------------------------------------------------- /twodOverset/src.NS/itsol-master/COPYRIGHT: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | I T S O L -- version 2 3 | ----------------------------------------------------------------------- 4 | 5 | Copyright (C) 2006, the University of Minnesota 6 | 7 | ITSOL is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU Lesser General Public License as published by the 9 | Free Software Foundation; version 2.1 of the License. 10 | 11 | A copy of the licencing agreement is attached in the file LGPL. For 12 | additional information contact the Free Software Foundation Inc., 59 13 | Temple Place - Suite 330, Boston, MA 02111, USA or visit the web-site 14 | 15 | http://www.gnu.org/licenses/lgpl.html 16 | 17 | 18 | DISCLAIMER 19 | ---------- 20 | 21 | ITSOL is distributed in the hope that it will be useful, but WITHOUT 22 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 23 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 24 | License for more details. 25 | 26 | For information on ITSOL contact saad@cs.umn.edu 27 | -------------------------------------------------------------------------------- /twodOverset/src/itsol-master/COPYRIGHT: -------------------------------------------------------------------------------- 1 | ----------------------------------------------------------------------- 2 | I T S O L -- version 2 3 | ----------------------------------------------------------------------- 4 | 5 | Copyright (C) 2006, the University of Minnesota 6 | 7 | ITSOL is free software; you can redistribute it and/or modify it under 8 | the terms of the GNU Lesser General Public License as published by the 9 | Free Software Foundation; version 2.1 of the License. 10 | 11 | A copy of the licencing agreement is attached in the file LGPL. For 12 | additional information contact the Free Software Foundation Inc., 59 13 | Temple Place - Suite 330, Boston, MA 02111, USA or visit the web-site 14 | 15 | http://www.gnu.org/licenses/lgpl.html 16 | 17 | 18 | DISCLAIMER 19 | ---------- 20 | 21 | ITSOL is distributed in the hope that it will be useful, but WITHOUT 22 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 23 | FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public 24 | License for more details. 25 | 26 | For information on ITSOL contact saad@cs.umn.edu 27 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType RAS; 19 | 20 | RAS 21 | { 22 | RASModel laminar;//SpalartAllmaras; 23 | 24 | turbulence off; 25 | 26 | printCoeffs off; 27 | } 28 | 29 | // ************************************************************************* // 30 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region1/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar;//RAS; 19 | 20 | RAS 21 | { 22 | RASModel SpalartAllmaras; 23 | 24 | turbulence off; 25 | 26 | printCoeffs off; 27 | } 28 | 29 | // ************************************************************************* // 30 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/turbulenceProperties: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object turbulenceProperties; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | simulationType laminar;//RAS; 19 | 20 | RAS 21 | { 22 | RASModel SpalartAllmaras; 23 | 24 | turbulence off; 25 | 26 | printCoeffs off; 27 | } 28 | 29 | // ************************************************************************* // 30 | -------------------------------------------------------------------------------- /twodOverset/src.NS/Make/options: -------------------------------------------------------------------------------- 1 | EXE_INC = \ 2 | -I$(LIB_SRC)/finiteVolume/lnInclude \ 3 | -I$(LIB_SRC)/meshTools/lnInclude \ 4 | -I$(LIB_SRC)/regionModels/regionModel/lnInclude\ 5 | -I./itsol-master/include\ 6 | -I./sparseMatrix \ 7 | -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ 8 | -I$(LIB_SRC)/TurbulenceModels/incompressible/lnInclude \ 9 | -I$(LIB_SRC)/transportModels \ 10 | -I$(LIB_SRC)/transportModels/incompressible/singlePhaseTransportModel \ 11 | -I$(LIB_SRC)/sampling/lnInclude \ 12 | -I$(LIB_SRC)/meshTools/lnInclude \ 13 | 14 | 15 | c++WARN= 16 | 17 | EXE_LIBS = \ 18 | -lfiniteVolume \ 19 | -lfvOptions \ 20 | -lmeshTools \ 21 | -lregionModels \ 22 | -ldynamicMesh\ 23 | -ldynamicFvMesh\ 24 | ./itsol-master/src/libitsol.a\ 25 | -L /opt/gridware/depots/54e7fb3c/el7/pkg/libs/lapack/3.5.0/gcc-4.8.5/lib -llapack\ 26 | -L /opt/gridware/depots/54e7fb3c/el7/pkg/libs/lapack/3.5.0/gcc-4.8.5/lib -lblas\ 27 | -L${FOAM_USER_LIBBIN} -lSparseNew -lgfortran \ 28 | -lturbulenceModels \ 29 | -lincompressibleTurbulenceModels \ 30 | -lincompressibleTransportModels \ 31 | -lfvOptions \ 32 | -lsampling 33 | -------------------------------------------------------------------------------- /onedOverset/run/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region1/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region2/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | solvers 19 | { 20 | T 21 | { 22 | solver PCG; 23 | preconditioner DIC; 24 | tolerance 1e-06; 25 | relTol 0; 26 | } 27 | } 28 | 29 | SIMPLE 30 | { 31 | nNonOrthogonalCorrectors 2; 32 | } 33 | 34 | 35 | // ************************************************************************* // 36 | -------------------------------------------------------------------------------- /twodOverset/src/sparseMatrix/exceptions.H: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the SparseMatrix library 3 | * 4 | * @license MIT 5 | * @author Petr Kessler (https://kesspess.cz) 6 | * @link https://github.com/uestla/Sparse-Matrix 7 | */ 8 | 9 | #ifndef __SPARSEMATRIX_EXCEPTIONS_H__ 10 | 11 | #define __SPARSEMATRIX_EXCEPTIONS_H__ 12 | 13 | #include 14 | 15 | using namespace std; 16 | 17 | 18 | class Exception : public exception 19 | { 20 | 21 | public: 22 | 23 | explicit Exception(const string & message) : exception(), message(message) 24 | {} 25 | 26 | 27 | virtual ~Exception(void) throw () 28 | {} 29 | 30 | 31 | inline string getMessage(void) const 32 | { 33 | return this->message; 34 | } 35 | 36 | 37 | protected: 38 | 39 | string message; 40 | 41 | }; 42 | 43 | 44 | class InvalidDimensionsException : public Exception 45 | { 46 | 47 | public: 48 | 49 | InvalidDimensionsException(const string & message) : Exception(message) 50 | {} 51 | 52 | }; 53 | 54 | 55 | class InvalidCoordinatesException : public Exception 56 | { 57 | 58 | public: 59 | 60 | InvalidCoordinatesException(const string & message) : Exception(message) 61 | {} 62 | 63 | }; 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /twodOverset/src.NS/sparseMatrix/exceptions.H: -------------------------------------------------------------------------------- 1 | /** 2 | * This file is part of the SparseMatrix library 3 | * 4 | * @license MIT 5 | * @author Petr Kessler (https://kesspess.cz) 6 | * @link https://github.com/uestla/Sparse-Matrix 7 | */ 8 | 9 | #ifndef __SPARSEMATRIX_EXCEPTIONS_H__ 10 | 11 | #define __SPARSEMATRIX_EXCEPTIONS_H__ 12 | 13 | #include 14 | 15 | using namespace std; 16 | 17 | 18 | class Exception : public exception 19 | { 20 | 21 | public: 22 | 23 | explicit Exception(const string & message) : exception(), message(message) 24 | {} 25 | 26 | 27 | virtual ~Exception(void) throw () 28 | {} 29 | 30 | 31 | inline string getMessage(void) const 32 | { 33 | return this->message; 34 | } 35 | 36 | 37 | protected: 38 | 39 | string message; 40 | 41 | }; 42 | 43 | 44 | class InvalidDimensionsException : public Exception 45 | { 46 | 47 | public: 48 | 49 | InvalidDimensionsException(const string & message) : Exception(message) 50 | {} 51 | 52 | }; 53 | 54 | 55 | class InvalidCoordinatesException : public Exception 56 | { 57 | 58 | public: 59 | 60 | InvalidCoordinatesException(const string & message) : Exception(message) 61 | {} 62 | 63 | }; 64 | 65 | #endif 66 | -------------------------------------------------------------------------------- /twodOverset/run/0/region2/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | oversetPatch 26 | { 27 | type fixedValue; 28 | value uniform 0; 29 | } 30 | others 31 | { 32 | type empty; 33 | } 34 | } 35 | 36 | 37 | // ************************************************************************* // 38 | -------------------------------------------------------------------------------- /twodOverset/run.NS/0/region2/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | oversetPatch 26 | { 27 | type fixedValue; 28 | value uniform 0; 29 | } 30 | others 31 | { 32 | type empty; 33 | } 34 | } 35 | 36 | 37 | // ************************************************************************* // 38 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh dynamicMotionSolverFvMesh; 19 | 20 | motionSolverLibs ("libfvMotionSolvers.so"); 21 | 22 | motionSolver solidBody; 23 | 24 | solidBodyMotionFunction rotatingMotion; 25 | 26 | origin (0.25 0.75 0); 27 | axis (0 0 1); 28 | omega 12.566 ;//rad/s 29 | 30 | 31 | // ************************************************************************* // 32 | -------------------------------------------------------------------------------- /twodOverset/run/constant/region2/dynamicMeshDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "constant"; 14 | object dynamicMeshDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dynamicFvMesh dynamicMotionSolverFvMesh; 19 | 20 | motionSolverLibs ("libfvMotionSolvers.so"); 21 | 22 | motionSolver solidBody; 23 | 24 | solidBodyMotionFunction rotatingMotion; 25 | 26 | origin (0.25 0.75 0); 27 | axis (0 0 1); 28 | omega 12.566 ;//rad/s 29 | 30 | 31 | // ************************************************************************* // 32 | -------------------------------------------------------------------------------- /twodOverset/run/0.org.NBC/region2/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | oversetPatch 26 | { 27 | type fixedValue; 28 | value uniform 0; 29 | } 30 | others 31 | { 32 | type empty; 33 | } 34 | } 35 | 36 | 37 | // ************************************************************************* // 38 | -------------------------------------------------------------------------------- /twodOverset/run.NS/0/region2/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volVectorField; 13 | location "0/region1"; 14 | object U; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | 21 | internalField uniform (0 0 0); 22 | 23 | boundaryField 24 | { 25 | oversetPatch 26 | { 27 | type zeroGradient;//fixedValue; 28 | // value uniform (0 0 0); 29 | } 30 | others 31 | { 32 | type empty; 33 | } 34 | } 35 | 36 | 37 | // ************************************************************************* // 38 | -------------------------------------------------------------------------------- /twodOverset/run/system/fvSolution: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSolution; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | // NOTE:: 19 | // These are not used since the linear solver is not called. 20 | 21 | solvers 22 | { 23 | T 24 | { 25 | solver PCG; 26 | preconditioner DIC; 27 | tolerance 1e-06; 28 | relTol 0; 29 | } 30 | } 31 | 32 | SIMPLE 33 | { 34 | nNonOrthogonalCorrectors 2; 35 | } 36 | 37 | 38 | // ************************************************************************* // 39 | -------------------------------------------------------------------------------- /twodOverset/run/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 2 19 | ( 20 | oversetPatch 21 | { 22 | type patch; 23 | physicalType Overset; 24 | nFaces 224; 25 | startFace 6160; 26 | } 27 | others 28 | { 29 | type empty; 30 | inGroups 1(empty); 31 | nFaces 6272; 32 | startFace 6384; 33 | } 34 | ) 35 | 36 | // ************************************************************************* // 37 | -------------------------------------------------------------------------------- /twodOverset/run.NS/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 2 19 | ( 20 | oversetPatch 21 | { 22 | type patch; 23 | physicalType Overset; 24 | nFaces 224; 25 | startFace 4592; 26 | } 27 | others 28 | { 29 | type empty; 30 | inGroups 1(empty); 31 | nFaces 4704; 32 | startFace 4816; 33 | } 34 | ) 35 | 36 | // ************************************************************************* // 37 | -------------------------------------------------------------------------------- /onedOverset/run/0.org/region1/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type fixedValue; 28 | value uniform 0; 29 | } 30 | right 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | others 36 | { 37 | type empty; 38 | } 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /onedOverset/run/0.org/region2/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type fixedValue; 28 | value uniform 0; 29 | } 30 | right 31 | { 32 | type fixedValue; 33 | value uniform 0; 34 | } 35 | others 36 | { 37 | type empty; 38 | } 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 2 19 | ( 20 | oversetPatch 21 | { 22 | type patch; 23 | physicalType Overset; 24 | nFaces 224; 25 | startFace 6160; 26 | } 27 | others 28 | { 29 | type empty; 30 | inGroups 1(empty); 31 | nFaces 6272; 32 | startFace 6384; 33 | } 34 | ) 35 | 36 | // ************************************************************************* // 37 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region1/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region1/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region1/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region1/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region2/polyMesh/boundary: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class polyBoundaryMesh; 13 | location "constant/polyMesh"; 14 | object boundary; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 3 19 | ( 20 | left 21 | { 22 | type patch; 23 | nFaces 1; 24 | startFace 49; 25 | } 26 | right 27 | { 28 | type patch; 29 | nFaces 1; 30 | startFace 50; 31 | } 32 | others 33 | { 34 | type empty; 35 | inGroups 1(empty); 36 | nFaces 200; 37 | startFace 51; 38 | } 39 | ) 40 | 41 | // ************************************************************************* // 42 | -------------------------------------------------------------------------------- /onedOverset/run/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region1/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/region2/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region1/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/constant/region2/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region1/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/constant/region2/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region1/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/constant/region2/polyMesh/neighbour: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class labelList; 13 | note "nPoints: 204 nCells: 50 nFaces: 251 nInternalFaces: 49"; 14 | location "constant/polyMesh"; 15 | object neighbour; 16 | } 17 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 18 | 19 | 20 | 49 21 | ( 22 | 1 23 | 2 24 | 3 25 | 4 26 | 5 27 | 6 28 | 7 29 | 8 30 | 9 31 | 10 32 | 11 33 | 12 34 | 13 35 | 14 36 | 15 37 | 16 38 | 17 39 | 18 40 | 19 41 | 20 42 | 21 43 | 22 44 | 23 45 | 24 46 | 25 47 | 26 48 | 27 49 | 28 50 | 29 51 | 30 52 | 31 53 | 32 54 | 33 55 | 34 56 | 35 57 | 36 58 | 37 59 | 38 60 | 39 61 | 40 62 | 41 63 | 42 64 | 43 65 | 44 66 | 45 67 | 46 68 | 47 69 | 48 70 | 49 71 | ) 72 | 73 | 74 | // ************************************************************************* // 75 | -------------------------------------------------------------------------------- /onedOverset/run/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run.NS/0/region1/p: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 2 -2 0 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type zeroGradient; 28 | } 29 | right 30 | { 31 | type zeroGradient; 32 | } 33 | 34 | upper 35 | { 36 | type zeroGradient; 37 | } 38 | 39 | lower 40 | { 41 | type zeroGradient; 42 | value uniform 0; 43 | } 44 | 45 | others 46 | { 47 | type empty; 48 | } 49 | } 50 | 51 | 52 | // ************************************************************************* // 53 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region1/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region2/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default Euler; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(DT,T) Gauss linear corrected; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default corrected; 48 | } 49 | 50 | 51 | // ************************************************************************* // 52 | -------------------------------------------------------------------------------- /onedOverset/run/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | 19 | application twoDOverset; 20 | 21 | startFrom startTime; 22 | 23 | startTime 0; 24 | 25 | stopAt endTime; 26 | 27 | endTime 4; 28 | 29 | deltaT 0.1; 30 | 31 | writeControl runTime; 32 | 33 | writeInterval 0.1; 34 | 35 | purgeWrite 0; 36 | 37 | writeFormat ascii; 38 | 39 | writePrecision 10; 40 | 41 | writeCompression off; 42 | 43 | timeFormat general; 44 | 45 | timePrecision 6; 46 | 47 | runTimeModifiable true; 48 | 49 | 50 | DebugSwitches 51 | { 52 | dimensionSet 0; 53 | } 54 | 55 | 56 | // ************************************************************************* // 57 | -------------------------------------------------------------------------------- /onedOverset/run/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run.NS/0/region1/U: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volVectorField; 13 | location "0/region1"; 14 | object p; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 1 -1 0 0 0 0]; 19 | 20 | 21 | internalField uniform (0 0 0); 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type noSlip; 28 | } 29 | right 30 | { 31 | type noSlip; 32 | } 33 | 34 | upper 35 | { 36 | type fixedValue; 37 | value uniform (1 0 0); 38 | } 39 | 40 | lower 41 | { 42 | type fixedValue; 43 | value uniform (-1 0 0); 44 | } 45 | 46 | others 47 | { 48 | type empty; 49 | } 50 | } 51 | 52 | 53 | // ************************************************************************* // 54 | -------------------------------------------------------------------------------- /twodOverset/run.NS/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run.NS/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region2/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region1/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region1/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/meshes/region2/system/region2/controlDict: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object controlDict; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | application laplacianFoam; 19 | 20 | startFrom latestTime; 21 | 22 | startTime 0; 23 | 24 | stopAt endTime; 25 | 26 | endTime 3; 27 | 28 | deltaT 0.005; 29 | 30 | writeControl runTime; 31 | 32 | writeInterval 0.1; 33 | 34 | purgeWrite 0; 35 | 36 | writeFormat ascii; 37 | 38 | writePrecision 10; 39 | 40 | writeCompression off; 41 | 42 | timeFormat general; 43 | 44 | timePrecision 6; 45 | 46 | runTimeModifiable true; 47 | 48 | 49 | DebugSwitches 50 | { 51 | dimensionSet 0; 52 | } 53 | 54 | 55 | // ************************************************************************* // 56 | -------------------------------------------------------------------------------- /twodOverset/run/0/region1/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type zeroGradient; 28 | } 29 | right 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | 35 | upper 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | lower 41 | { 42 | type fixedValue; 43 | value uniform 0; 44 | } 45 | 46 | others 47 | { 48 | type empty; 49 | } 50 | } 51 | 52 | 53 | // ************************************************************************* // 54 | -------------------------------------------------------------------------------- /twodOverset/run/0.org.NBC/region1/T: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "0/region1"; 14 | object T; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 1 0 0 0]; 19 | 20 | 21 | internalField uniform 0; 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type zeroGradient; 28 | } 29 | right 30 | { 31 | type fixedValue; 32 | value uniform 0; 33 | } 34 | 35 | upper 36 | { 37 | type zeroGradient; 38 | } 39 | 40 | lower 41 | { 42 | type fixedValue; 43 | value uniform 0; 44 | } 45 | 46 | others 47 | { 48 | type empty; 49 | } 50 | } 51 | 52 | 53 | // ************************************************************************* // 54 | -------------------------------------------------------------------------------- /twodOverset/run.NS/system/fvSchemes: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class dictionary; 13 | location "system"; 14 | object fvSchemes; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | ddtSchemes 19 | { 20 | default steadyState; 21 | } 22 | 23 | gradSchemes 24 | { 25 | default Gauss linear; 26 | // grad(T) Gauss linear; 27 | } 28 | 29 | divSchemes 30 | { 31 | default Gauss linear; 32 | } 33 | 34 | laplacianSchemes 35 | { 36 | default none; 37 | laplacian(nuEff,U) Gauss linear orthogonal; 38 | } 39 | 40 | interpolationSchemes 41 | { 42 | default linear; 43 | } 44 | 45 | snGradSchemes 46 | { 47 | default orthogonal; 48 | } 49 | 50 | 51 | fluxRequired 52 | { 53 | default no; 54 | p ; 55 | } 56 | 57 | // ************************************************************************* // 58 | -------------------------------------------------------------------------------- /onedOverset/run/meshes/region1/constant/RHS: -------------------------------------------------------------------------------- 1 | /*--------------------------------*- C++ -*----------------------------------*\ 2 | | ========= | | 3 | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | 4 | | \\ / O peration | Version: v1812 | 5 | | \\ / A nd | Web: www.OpenFOAM.com | 6 | | \\/ M anipulation | | 7 | \*---------------------------------------------------------------------------*/ 8 | FoamFile 9 | { 10 | version 2.0; 11 | format ascii; 12 | class volScalarField; 13 | location "constant"; 14 | object RHS; 15 | } 16 | // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 17 | 18 | dimensions [0 0 0 0 0 0 0]; 19 | 20 | 21 | internalField nonuniform List 10(-11.99981615 -31.41592654 -38.83222077 -31.41592654 -11.99981615 11.99981615 31.41592654 38.83222077 31.41592654 11.99981615); 22 | 23 | boundaryField 24 | { 25 | left 26 | { 27 | type extrapolatedCalculated; 28 | value uniform -11.99981615; 29 | } 30 | right 31 | { 32 | type extrapolatedCalculated; 33 | value uniform 11.99981615; 34 | } 35 | others 36 | { 37 | type empty; 38 | } 39 | } 40 | 41 | 42 | // ************************************************************************* // 43 | --------------------------------------------------------------------------------