stefanoOliani / ICSFoam

A library for Implict Coupled Simulations in OF. A density-based CFD solver for high-speed flows simulations is provided
GNU General Public License v3.0
40 stars 18 forks source link

Problem with decomposePar #2

Open jh36714753 opened 2 years ago

jh36714753 commented 2 years ago

Hello, I found a problem when I decomposePar the tutorial VKI-LS89:

decomposePar /---------------------------------------------------------------------------\ | ========= | | | \ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \ / O peration | Version: v2006 | | \ / A nd | Website: www.openfoam.com | | \/ M anipulation | | *---------------------------------------------------------------------------*/ Build : v2006 OPENFOAM=2006 patch=200727 Arch : "LSB;label=32;scalar=64" Exec : decomposePar Date : Sep 12 2022 Time : 10:40:10 Host : dyfluid PID : 14055 I/O : uncollated Case : /home/dyfluid/Downloads/ICSFoam-master/tutorials/VKI-LS89 nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations

// * // Create time

Decomposing mesh region0

Create mesh

Calculating distribution of cells Selecting decompositionMethod scotch [4] Selecting decompositionConstraint preservePatches preservePatches : adding constraints to keep owner of faces in patches 1(".*") on same processor. This only makes sense for cyclics.

Finished decomposition in 0.38 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0 Number of cells = 6959 Number of faces shared with processor 1 = 116 Number of faces shared with processor 2 = 114 Number of processor patches = 2 Number of processor faces = 230 Number of boundary faces = 14164

Processor 1 Number of cells = 6960 Number of faces shared with processor 0 = 116 Number of processor patches = 1 Number of processor faces = 116 Number of boundary faces = 14200

Processor 2 Number of cells = 7077 Number of faces shared with processor 0 = 114 Number of faces shared with processor 3 = 190 Number of processor patches = 2 Number of processor faces = 304 Number of boundary faces = 14436

Processor 3 Number of cells = 7063 Number of faces shared with processor 2 = 190 Number of processor patches = 1 Number of processor faces = 190 Number of boundary faces = 14324

Number of processor faces = 420 Max number of cells = 7077 (0.887416% above average 7014.75) Max number of processor patches = 2 (33.3333% above average 1.5) Max number of faces between processors = 304 (44.7619% above average 210)

Time = 0

Processor 0: field transfer

0 Foam::error::printStack(Foam::Ostream&) at ??:?

1 Foam::sigSegv::sigHandler(int) at ??:?

2 ? in /lib/x86_64-linux-gnu/libpthread.so.0

3 cfree in /lib/x86_64-linux-gnu/libc.so.6

4 non-virtual thunk to Foam::processorFvPatchField::~processorFvPatchField() in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

5 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::Boundary(Foam::fvBoundaryMesh const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::PtrList<Foam::fvPatchField > const&) in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

6 ? in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

7 ? in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

8 ? in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

9 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6

10 ? in ~/OpenFOAM/OpenFOAM-v2006/platforms/linux64GccDPInt32Opt/bin/decomposePar

Segmentation fault (core dumped)

And I found the same problem in my other file after I compiled ICSFoam in my OpenFOAM v2006 environment.

I appreciate any suggestions.

jh36714753 commented 2 years ago

Fixed. cd /OpenFOAM-v2006/applications/utilities/parallelProcessing/decomposePar and wmake.