Find answers, ask questions, and connect with our <br>community around the world.

Home Forums OpenFOAM Forum decomposePar

  • MIDHUN MURALI

    Member
    August 3, 2023 at 5:10 pm

    Dear Karan,

    Could you share your log file , and please check if scotch is installed in the library.

    This will list all the libraries that are installed.

    echo $LD_LIBRARY_PATH

    find -name libscotch.so   (locating the scotch decomposition )

     

    Regards

    Flowthermolab Support Team

  • Barış Bicer

    Moderator
    August 4, 2023 at 7:31 am

    Hi Karan,

    Can you also share your decomposeParDict located in system folder. Hoever, as Midhun said that your installation should be first correct.

  • Karan Mahendra Jain

    Member
    August 7, 2023 at 9:39 am

    I have emailed the relevant files. Please check and revert. Thanks.

  • Barış Bicer

    Moderator
    August 11, 2023 at 12:54 pm

    Midhun,

    Could you share this file with me again. since I am in holiday ı cant check emails very often and didnt see that.

    Thank you

  • MIDHUN MURALI

    Member
    August 12, 2023 at 12:55 pm

    Haie Baris ,

    I have shared the files shared by karan over email.

  • Barış Bicer

    Moderator
    August 12, 2023 at 7:22 pm

    Hi Midhun,

    I didnt see any problem in the log file that you have shared with me.

    What is problem I didnt understand…

     

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2206 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _76d719d1e6-20220624 OPENFOAM=2206 version=v2206
    Arch : “LSB;label=32;scalar=64”
    Exec : decomposePar -decomposeParDict system/decomposeParDict.6
    Date : Aug 01 2023
    Time : 17:23:28
    Host : ttdesign
    PID : 10079
    I/O : uncollated
    Case : /home/ttdesign/OpenFOAM/ttdesign-v2206/run/decom_motorBike
    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

    Create mesh

    Calculating distribution of cells
    Decomposition method hierarchical [6] (region region0)

    Finished decomposition in 0 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 = 213
    Number of points = 349
    Number of faces shared with processor 1 = 37
    Number of faces shared with processor 3 = 60
    Number of faces shared with processor 4 = 1
    Number of processor patches = 3
    Number of processor faces = 98
    Number of boundary faces = 134

    Processor 1
    Number of cells = 213
    Number of points = 352
    Number of faces shared with processor 0 = 37
    Number of faces shared with processor 2 = 38
    Number of faces shared with processor 4 = 52
    Number of faces shared with processor 5 = 1
    Number of processor patches = 4
    Number of processor faces = 128
    Number of boundary faces = 108

    Processor 2
    Number of cells = 214
    Number of points = 355
    Number of faces shared with processor 1 = 38
    Number of faces shared with processor 5 = 60
    Number of processor patches = 2
    Number of processor faces = 98
    Number of boundary faces = 142

    Processor 3
    Number of cells = 213
    Number of points = 354
    Number of faces shared with processor 0 = 60
    Number of faces shared with processor 4 = 39
    Number of processor patches = 2
    Number of processor faces = 99
    Number of boundary faces = 141

    Processor 4
    Number of cells = 213
    Number of points = 352
    Number of faces shared with processor 0 = 1
    Number of faces shared with processor 1 = 52
    Number of faces shared with processor 3 = 39
    Number of faces shared with processor 5 = 36
    Number of processor patches = 4
    Number of processor faces = 128
    Number of boundary faces = 108

    Processor 5
    Number of cells = 214
    Number of points = 350
    Number of faces shared with processor 1 = 1
    Number of faces shared with processor 2 = 60
    Number of faces shared with processor 4 = 36
    Number of processor patches = 3
    Number of processor faces = 97
    Number of boundary faces = 135

    Number of processor faces = 324
    Max number of cells = 214 (0.3125% above average 213.333)
    Max number of processor patches = 4 (33.3333% above average 3)
    Max number of faces between processors = 128 (18.5185% above average 108)

    Time = 0

    Processor 0: field transfer
    Processor 1: field transfer
    Processor 2: field transfer
    Processor 3: field transfer
    Processor 4: field transfer
    Processor 5: field transfer

    End

     

  • MIDHUN MURALI

    Member
    August 13, 2023 at 9:00 am

    Haie Baris ,

    In the same  email  karan had also shared a topo set file , may be iam not sure if this has any error  just saw

    trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE).

    /*—————————————————————————*\
    | ========= | |
    | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
    | \\ / O peration | Version: 2206 |
    | \\ / A nd | Website: http://www.openfoam.com |
    | \\/ M anipulation | |
    \*—————————————————————————*/
    Build : _76d719d1e6-20220624 OPENFOAM=2206 version=v2206
    Arch : “LSB;label=32;scalar=64”
    Exec : topoSet -parallel -decomposeParDict system/decomposeParDict.6
    Date : Aug 01 2023
    Time : 17:24:32
    Host : ttdesign
    PID : 10168
    I/O : uncollated
    Case : /home/ttdesign/OpenFOAM/ttdesign-v2206/run/decom_motorBike
    nProcs : 6
    Hosts :
    (
    (ttdesign 6)
    )
    Pstream initialized with:
    floatTransfer : 0
    nProcsSimpleSum : 0
    commsType : nonBlocking
    polling iterations : 0
    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

    Create polyMesh for time = 0

    Reading topoSetDict

    Time = 0
    mesh not changed.
    Created cellZoneSet inner
    Applying source boxToCell
    Adding cells with centre within boxes 1((-1 -0.5 0) (6 0.5 2))
    cellZoneSet inner now size 253135

    End

    Finalising parallel run

    Karan was telling that when he is using scotch decomposition scheme he is encountering some  issues ,and with other schemes its fine.

     

     

  • Barış Bicer

    Moderator
    August 13, 2023 at 11:10 am

    ok ı got the Point:

    @Karan let me know that do you try to use topoSet utility with parallel or not? I always used topoSet utility as manual which means not using parallel with it. if you wanna use it parallel your command is wrong. You have to indicate the dict file of topoSet not decomposePar dict.

    However, if I were you I would use toposet in single CPU.

    For your info.

  • Karan Mahendra Jain

    Member
    August 16, 2023 at 4:36 am

    Dear Baris,

    I didn’t quite understand whatever you mentioned earlier. Could you please elaborate this?

  • Barış Bicer

    Moderator
    August 16, 2023 at 7:57 am

    Hi Karan,

    You should elaborate first what you did exactly step by step and what kind of error you got?

  • Karan Mahendra Jain

    Member
    August 16, 2023 at 8:04 am

    I will share the stepwise snaps here. For you to better understand this error.

  • Barış Bicer

    Moderator
    August 16, 2023 at 8:24 am

    great

  • Karan Mahendra Jain

    Member
    August 23, 2023 at 5:25 am

    Dear Baris,

    This is regarding the same issue. However, different case from rotating machines-propeller tutorial. To share all the screenshots is a lot, I have listed the steps followed below:

    blockMesh

    checkMesh

    surfaceFeatureExtract

    For snappyHexMesh:

    decomposePar

    mpirun -np 4 snappyHexMesh -overwrite -parallel | tee log.snappy

    reconstructParMesh -constant

    rm -r processor*

    checkMesh

    topoSet -dict system/createInletOutletSets.topoSetDict

    createPatch -overwrite

    For running the case:

    While using the decomposePar utility, I have error message on terminal as below:

    This is recurring error I see in all the test cases. whenever I use the scotch method for decomposePar utility this happens, due to this I am unable to process the solution.

     

     

     

  • Barış Bicer

    Moderator
    August 26, 2023 at 3:07 pm

    scotch library is not installed properly I think that.

    go to folder of openfoam installation folder src/parallel folder and type ./Allwmake and then close termnal and try again

     

Log in to reply.

error: Content is protected !!