|
[Sponsors] |
Incorrect initial temperature during parallel operation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 2, 2021, 10:50 |
Incorrect initial temperature during parallel operation
|
#1 |
New Member
Join Date: Aug 2020
Posts: 7
Rep Power: 5 |
Hi foamers,
I programed a user defined solvor based on openfoam4.0, it can successfully run on single-core processors. But when I try to run it by parallel muti-core processors, the initial temperature became 0 K(it should be 270K). For some reasons, I cannot upload my tutorials and the source code of the solver. It is a multi-region tutorial. I separate solution domain by decomposeParDict. I run "decomposePar" to separate the whole domain and run "decomposePar -allRegions" to separate different regions. The decomposeParDict is /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 4.0 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object decomposeParDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // numberOfSubdomains 4; //numberOfSubdomains= nx*ny*nz preserveFaceZones (iFaces); method simple; simpleCoeffs { n (1 1 4); delta 0.001; } hierarchicalCoeffs { n (1 1 1); delta 0.001; order xyz; } metisCoeffs { processorWeights ( 1 1 ); } manualCoeffs { dataFile ""; } distributed no; roots ( ); // ************************************************** *********************** // Can anyone provide me with some solutions? Thank you very much! |
|
Tags |
parallel |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Segmentation fault when using reactingFOAM for Fluids | Tommy Floessner | OpenFOAM Running, Solving & CFD | 4 | April 22, 2018 12:30 |
Cannot run the code properly: very large time step continuity error | crst15 | OpenFOAM Running, Solving & CFD | 9 | December 14, 2014 18:17 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 13:12 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 13:58 |
calculation stops after few time steps | sivakumar | OpenFOAM Running, Solving & CFD | 7 | March 17, 2013 06:37 |