CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

chtMultiRegionFoam not writing any results but not giving any errors

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By HorstvanGrass

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 23, 2021, 15:20
Angry chtMultiRegionFoam not writing any results but not giving any errors
  #1
New Member
 
walter white
Join Date: Jul 2021
Posts: 10
Rep Power: 5
lmw354 is on a distinguished road
Hello all
I am new to openfoam. I dont know why this is happening but my cht multiregion simulation is not writing any results for any timesteps

I tried changing lots of things in controlDict but nothing seems to help

I am not getting any errors while running meshing or simulation

My mesh failed 2 checks could this be the reason.

snippet from chtmultiregionfoam simulation
Code:
Solving for fluid region watera
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.002591392, Final residual = 1.0727884e-10, No Iterations 1
Min/max T:299.98241 300.48221
GAMG:  Solving for p_rgh, Initial residual = 0.00096238716, Final residual = 9.2108371e-06, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (watera): sum local = 1.827422e-09, global = -5.758904e-13, cumulative = 1.65004e-08
GAMG:  Solving for p_rgh, Initial residual = 8.0521084e-05, Final residual = 9.4855609e-08, No Iterations 4
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (watera): sum local = 1.8817799e-11, global = 1.8067431e-12, cumulative = 1.6502207e-08

Solving for fluid region waterb
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.003078239, Final residual = 4.1951095e-10, No Iterations 1
Min/max T:299.98222 300.49932
GAMG:  Solving for p_rgh, Initial residual = 0.00048842444, Final residual = 3.9235083e-06, No Iterations 3
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterb): sum local = 1.0387151e-09, global = 7.7059223e-11, cumulative = -5.1136457e-09
GAMG:  Solving for p_rgh, Initial residual = 8.3664064e-05, Final residual = 4.0421007e-08, No Iterations 5
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterb): sum local = 1.0700762e-11, global = 2.8883442e-12, cumulative = -5.1107573e-09

Solving for fluid region waterc
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0016097773, Final residual = 1.9671544e-10, No Iterations 1
Min/max T:299.98391 300.54986
GAMG:  Solving for p_rgh, Initial residual = 0.0005214999, Final residual = 2.7246815e-06, No Iterations 3
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterc): sum local = 6.7502168e-10, global = -6.6389913e-11, cumulative = -1.7318832e-08
GAMG:  Solving for p_rgh, Initial residual = 5.7249837e-05, Final residual = 8.3142515e-08, No Iterations 4
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterc): sum local = 2.059824e-11, global = 4.4711381e-12, cumulative = -1.731436e-08

Solving for fluid region waterd
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0036937944, Final residual = 2.8202356e-10, No Iterations 1
Min/max T:299.9827 300.5487
GAMG:  Solving for p_rgh, Initial residual = 0.0028870073, Final residual = 2.1299012e-05, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterd): sum local = 6.666903e-09, global = 2.961951e-10, cumulative = -4.688505e-08
GAMG:  Solving for p_rgh, Initial residual = 0.00016801249, Final residual = 4.4725048e-08, No Iterations 5
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterd): sum local = 1.4000406e-11, global = 1.0875547e-12, cumulative = -4.6883962e-08

Solving for fluid region watere
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0047047062, Final residual = 4.5150229e-10, No Iterations 1
Min/max T:299.98405 300.54419
GAMG:  Solving for p_rgh, Initial residual = 0.0028366799, Final residual = 1.9977642e-05, No Iterations 2
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (watere): sum local = 6.2596821e-09, global = 2.8213253e-10, cumulative = -5.3157273e-08
GAMG:  Solving for p_rgh, Initial residual = 0.00016441204, Final residual = 4.0785523e-08, No Iterations 5
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (watere): sum local = 1.2780162e-11, global = -2.2028142e-12, cumulative = -5.3159476e-08

Solving for fluid region waterf
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0020437564, Final residual = 2.1460073e-10, No Iterations 1
Min/max T:299.98354 300.53183
GAMG:  Solving for p_rgh, Initial residual = 0.0005320363, Final residual = 2.7675431e-06, No Iterations 3
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterf): sum local = 6.860985e-10, global = -1.0027744e-10, cumulative = -8.5662902e-09
GAMG:  Solving for p_rgh, Initial residual = 5.8476146e-05, Final residual = 6.7755792e-08, No Iterations 4
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterf): sum local = 1.6797355e-11, global = -4.7063668e-12, cumulative = -8.5709965e-09

Solving for fluid region waterg
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0029737598, Final residual = 4.1117284e-10, No Iterations 1
Min/max T:299.98343 300.49676
GAMG:  Solving for p_rgh, Initial residual = 0.00049627776, Final residual = 2.7799968e-06, No Iterations 3
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterg): sum local = 7.3707258e-10, global = 5.9746041e-11, cumulative = -3.3581522e-08
GAMG:  Solving for p_rgh, Initial residual = 8.555932e-05, Final residual = 8.595703e-08, No Iterations 4
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterg): sum local = 2.2789343e-11, global = 2.8532105e-13, cumulative = -3.3581237e-08

Solving for fluid region waterh
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
DILUPBiCGStab:  Solving for h, Initial residual = 0.0028098948, Final residual = 2.6355902e-10, No Iterations 1
Min/max T:299.98472 300.78813
GAMG:  Solving for p_rgh, Initial residual = 0.0011793176, Final residual = 4.9255731e-06, No Iterations 3
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterh): sum local = 1.4108537e-09, global = -3.7433739e-12, cumulative = 1.3978939e-08
GAMG:  Solving for p_rgh, Initial residual = 0.00012221288, Final residual = 4.9231218e-08, No Iterations 5
diagonal:  Solving for rho, Initial residual = 0, Final residual = 0, No Iterations 0
time step continuity errors (waterh): sum local = 1.4101039e-11, global = 3.2123412e-12, cumulative = 1.3982151e-08

Solving for solid region cell
DICPCG:  Solving for h, Initial residual = 0.0032335565, Final residual = 7.1030589e-11, No Iterations 1
Min/max T:299.81336 302.31913

Solving for solid region potting
DICPCG:  Solving for h, Initial residual = 0.00040211482, Final residual = 1.5129935e-11, No Iterations 1
Min/max T:299.76301 302.00216

Solving for solid region mic
DICPCG:  Solving for h, Initial residual = 6.4717498e-05, Final residual = 6.8989615e-08, No Iterations 1
Min/max T:299.54992 300.79001
ExecutionTime = 521.49 s  ClockTime = 539 s

Region: watera Courant Number mean: 9.7176946e-05 max: 0.010151025
Region: waterb Courant Number mean: 0.00019267826 max: 0.012994175
Region: waterc Courant Number mean: 0.0001718789 max: 0.012761573
Region: waterd Courant Number mean: 0.00018137304 max: 0.013103279
Region: watere Courant Number mean: 0.00018145463 max: 0.013137037
Region: waterf Courant Number mean: 0.0001720987 max: 0.01266496
Region: waterg Courant Number mean: 0.00019340679 max: 0.013078604
Region: waterh Courant Number mean: 0.00015935587 max: 0.013085074
Region: cell Diffusion Number mean: 0.00011009802 max: 0.085561934
Region: potting Diffusion Number mean: 0.0001693928 max: 0.18867264
Region: mic Diffusion Number mean: 0.021548934 max: 10.000002
deltaT = 2.258713e-06
Time = 0.00142299
checkMesh result

Code:
Create time

Create mesh for time = 0

Time = 0

Mesh stats
    points:           1957864
    faces:            5104714
    internal faces:   5008199
    cells:            1573894
    faces per cell:   6.4254092
    boundary patches: 26
    point zones:      0
    face zones:       10
    cell zones:       11

Overall number of cells of each type:
    hexahedra:     1365897
    prisms:        0
    wedges:        0
    pyramids:      0
    tet wedges:    0
    tetrahedra:    0
    polyhedra:     207997
    Breakdown of polyhedra by number of faces:
        faces   number of cells
            6   28937
            9   136684
           12   40953
           15   1099
           18   324

Checking topology...
    Boundary definition OK.
 ***Total number of faces on empty patches is not divisible by the number of cells in the mesh. Hence this mesh is not 1D or 2D.
    Cell to face addressing OK.
    Point usage OK.
    Upper triangular ordering OK.
    Face vertices OK.
    Number of regions: 1 (OK).

Checking patch topology for multiply connected surfaces...
                   Patch    Faces   Points                  Surface topology
            defaultFaces    14583    16843  ok (non-closed singly connected)
               cell_adia    27104    27895  ok (non-closed singly connected)
                cell_bot     4538     4906  ok (non-closed singly connected)
                  mic_in     2528     3319  ok (non-closed singly connected)
                 mic_out     2528     3319  ok (non-closed singly connected)
                 pot_bot     3070     3514  ok (non-closed singly connected)
                  pot_in    31514    32404  ok (non-closed singly connected)
            pot_out_away     2240     2697  ok (non-closed singly connected)
           pot_out_close     4858     5850  ok (non-closed singly connected)
                wat_in_1      232      296  ok (non-closed singly connected)
                wat_in_2      196      249  ok (non-closed singly connected)
                wat_in_3      182      234  ok (non-closed singly connected)
                wat_in_4      182      234  ok (non-closed singly connected)
                wat_in_5      182      234  ok (non-closed singly connected)
                wat_in_6      182      234  ok (non-closed singly connected)
                wat_in_7      196      249  ok (non-closed singly connected)
                wat_in_8      232      296  ok (non-closed singly connected)
               wat_out_1      232      296  ok (non-closed singly connected)
               wat_out_2      196      249  ok (non-closed singly connected)
               wat_out_3      182      234  ok (non-closed singly connected)
               wat_out_4      182      234  ok (non-closed singly connected)
               wat_out_5      182      234  ok (non-closed singly connected)
               wat_out_6      182      234  ok (non-closed singly connected)
               wat_out_7      196      249  ok (non-closed singly connected)
               wat_out_8      232      296  ok (non-closed singly connected)
               wat_sym_1      384      488  ok (non-closed singly connected)

Checking faceZone topology for multiply connected surfaces...
                FaceZone    Faces   Points                  Surface topology
               wat1ToMic     6858     7026  multiply connected (shared edge)
               wat2ToMic     5760     5917  ok (non-closed singly connected)
               wat3ToMic     5664     5820  ok (non-closed singly connected)
               wat4ToMic     5664     5820  ok (non-closed singly connected)
               wat5ToMic     5664     5820  ok (non-closed singly connected)
               wat6ToMic     5664     5820  ok (non-closed singly connected)
               wat7ToMic     5760     5917  ok (non-closed singly connected)
               wat8ToMic     6862     7030  multiply connected (shared edge)
            mic_potToMic   131261   132136  multiply connected (shared edge)
           cellpotToCell   185560   186422  multiply connected (shared edge)
  <<Writing 135 conflicting points to set nonManifoldPoints

Checking basic cellZone addressing...
                CellZone        Cells       Points       VolumeBoundingBox
                potting       704793      1051975 1.6298495e-05 (-0.018131247 -8.4793555e-07 -0.017250767) (0.020633539 0.070505282 1.2558951e-06)
                 watera        14697        21750 2.1370035e-07 (0.018628329 0.051975175 -0.017250858) (0.020631607 0.058753619 8.5860598e-07)
                 waterb        12936        18727 1.7065695e-07 (0.018627076 0.04647152 -0.017250845) (0.020631749 0.051500578 8.4645322e-07)
                 waterc        11592        17272 1.7064402e-07 (0.018628112 0.040999384 -0.017250035) (0.020631577 0.046000702 3.4995423e-08)
                 waterd        11900        17574 1.7071417e-07 (0.018628507 0.035499429 -0.017250029) (0.020631197 0.040500604 2.9652272e-08)
                 watere        11900        17574 1.7071487e-07 (0.01862864 0.02999947 -0.017250029) (0.020632363 0.035000599 2.9701697e-08)
                 waterf        11592        17272 1.7064699e-07 (0.018627819 0.024499799 -0.017250035) (0.020631699 0.029500769 3.5068556e-08)
                 waterg        12936        18727 1.7065714e-07 (0.018627387 0.018999433 -0.017250846) (0.02063214 0.024023633 8.4648607e-07)
                 waterh        14423        21360 2.1264928e-07 (0.018626536 0.011773111 -0.017250859) (0.020632145 0.018523745 9.1994068e-07)
                    mic       365738       511024 5.5135477e-07 (0.018127031 0.011258209 -0.017251118) (0.02063309 0.059242276 1.1082684e-06)
                   cell       401387       612287 2.8795991e-05 (-0.016131884 -9.0816014e-07 -0.01612978) (0.01613111 0.070504268 3.4112443e-06)

Checking geometry...
    Overall domain bounding box (-0.018131247 -9.0816014e-07 -0.017251118) (0.020633539 0.070505282 3.4112443e-06)
    Mesh has 0 geometric (non-empty/wedge) directions (0 0 0)
    Mesh has 0 solution (non-empty) directions (0 0 0)
 ***Number of edges not aligned with or perpendicular to non-empty directions: 5288611
  <<Writing 1956315 points on non-aligned edges to set nonAlignedEdges
    Boundary openness (2.7673288e-16 -2.1474126e-15 1.9814584e-15) OK.
    Max cell openness = 3.9844541e-16 OK.
    Max aspect ratio = -1 OK.
    Minimum face area = 2.7783487e-10. Maximum face area = 1.8897007e-06.  Face area magnitudes OK.
    Min volume = 3.5835227e-14. Max volume = 2.0985009e-09.  Total volume = 4.7096225e-05.  Cell volumes OK.
    Mesh non-orthogonality Max: 78.155077 average: 14.17737
   *Number of severely non-orthogonal (> 70 degrees) faces: 328.
    Non-orthogonality check OK.
  <<Writing 328 non-orthogonal faces to set nonOrthoFaces
    Face pyramids OK.
 ***Max skewness = 6.0812135, 3 highly skew faces detected which may impair the quality of the results
  <<Writing 3 skew faces to set skewFaces
    Coupled point location match (average 0) OK.

Failed 2 mesh checks.

End
thanks in advance
lmw354 is offline   Reply With Quote

Old   August 25, 2021, 04:41
Default
  #2
Member
 
Horst van Gras
Join Date: Oct 2018
Posts: 45
Rep Power: 8
HorstvanGrass is on a distinguished road
Post your controlDict and I will help you
HorstvanGrass is offline   Reply With Quote

Old   August 28, 2021, 17:41
Default
  #3
New Member
 
walter white
Join Date: Jul 2021
Posts: 10
Rep Power: 5
lmw354 is on a distinguished road
sorry for the delayed response
here is my controldict

Code:
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  v2012                                 |
|   \\  /    A nd           | Website:  www.openfoam.com                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "system";
    object      controlDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

application     chtMultiRegionFoam;

startFrom       latestTime;

startTime       0.001;

stopAt          endTime;

endTime         100;

deltaT          0.001;

writeControl    adjustableRunTime;

writeInterval   1;

purgeWrite      0;

writeFormat     ascii;

writePrecision  8;

writeCompression off;

timeFormat      general;

timePrecision   6;

runTimeModifiable true;

maxCo           0.6;

maxDi           10.0;

adjustTimeStep  yes;

// ************************************************************************* //
I fixed the mesh there are no errors now in it but still issue persists
lmw354 is offline   Reply With Quote

Old   August 28, 2021, 17:52
Default
  #4
Member
 
Horst van Gras
Join Date: Oct 2018
Posts: 45
Rep Power: 8
HorstvanGrass is on a distinguished road
You set the write interval to 1s. With a timestep of 0.001s only every 1000 step will be written. Dependent on your courant number maybe even more timesteps will be needed.
saidc. likes this.
HorstvanGrass is offline   Reply With Quote

Old   August 29, 2021, 03:30
Default
  #5
New Member
 
walter white
Join Date: Jul 2021
Posts: 10
Rep Power: 5
lmw354 is on a distinguished road
Ahh man i thought it was how many timesteps it wrote results . I didnt think it was in seconds
lmw354 is offline   Reply With Quote

Old   August 29, 2021, 04:04
Default
  #6
Member
 
Horst van Gras
Join Date: Oct 2018
Posts: 45
Rep Power: 8
HorstvanGrass is on a distinguished road
You're welcome
HorstvanGrass is offline   Reply With Quote

Reply

Tags
convergance, result file, timestep size


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Other] Contribution a new utility: refine wall layer mesh based on yPlus field lakeat OpenFOAM Community Contributions 58 December 23, 2021 03:36
dynamic Mesh is faster than MRF???? sharonyue OpenFOAM Running, Solving & CFD 14 August 26, 2013 08:47
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 19:07


All times are GMT -4. The time now is 14:02.