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

AMR InterFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2022, 15:37
Default AMR InterFoam
  #1
Member
 
Miguel Hernandez
Join Date: Feb 2021
Location: En mi casa
Posts: 56
Rep Power: 5
Miguel Hernandez is on a distinguished road
Hello, everyone,
I am trying out an interFoam project using dymanicMesh (AMR). I have added the dynamicMesDict (which I attach). However, I always get this error, or something very similar.

ERROR:
Code:
Courant Number mean: 3.3012e-06 max: 0.0890991
Interface Courant Number mean: 8.65469e-09 max: 0.0485634
deltaT = 0.000865622
Time = 0.00218472

PIMPLE: iteration 1
Selected 86670 cells for refinement out of 599299.
[1] hexRef8 : Dumping cell as obj to "/home/openfoam/run/Piano_Key/processor1/cell_6421.obj"
[1] 
[1] 
[1] --> FOAM FATAL ERROR: (openfoam-2112)
[1] nAnchors:2 facei:160757
[1] 
[1]     From void Foam::hexRef8::createInternalFaces(const labelListList&, const labelListList&, const labelList&, const labelList&, const labelList&, const labelList&, Foam::label, Foam::polyTopoChange&) const
[1]     in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 1277.
[1] 
FOAM parallel run aborting
[1] 
[1] #0  Foam::error::printStack(Foam::Ostream&)[6] hexRef8 : Dumping cell as obj to "/home/openfoam/run/Piano_Key/processor6/cell_15286.obj"
[7] hexRef8 : Dumping cell as obj to "/home/openfoam/run/Piano_Key/processor7/cell_10797.obj"
sh: addr2line: command not found
 addr2line failed
[1] #1  Foam::error::simpleExit(int, bool)sh: addr2line: command not found
[6] 
[6] 
[6] --> FOAM FATAL ERROR: (openfoam-2112)
[6] nAnchors:2 facei:171663
[6] 
[6]     From void Foam::hexRef8::createInternalFaces(const labelListList&, const labelListList&, const labelList&, const labelList&, const labelList&, const labelList&, Foam::label, Foam::polyTopoChange&) const
[6]     in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 1277.
[6] 
FOAM parallel run aborting
[6] 
[6] #0  Foam::error::printStack(Foam::Ostream&) addr2line failed
[1] #2  Foam::error::exiting(int, bool)[7] 
[7] 
[7] --> FOAM FATAL ERROR: (openfoam-2112)
[7] nAnchors:2 facei:198318
[7] 
[7]     From void Foam::hexRef8::createInternalFaces(const labelListList&, const labelListList&, const labelList&, const labelList&, const labelList&, const labelList&, Foam::label, Foam::polyTopoChange&) const
[7]     in file polyTopoChange/polyTopoChange/hexRef8/hexRef8.C at line 1277.
[7] 
FOAM parallel run aborting
[7] 
[7] #0  Foam::error::printStack(Foam::Ostream&)sh: addr2line: command not found
 addr2line failed
[6] #1  Foam::error::simpleExit(int, bool)sh: addr2line: command not found
 addr2line failed
[7] #1  Foam::error::simpleExit(int, bool)sh: addr2line: command not found
 addr2line failed
[1] #3  Foam::hexRef8::createInternalFaces(Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, int, Foam::polyTopoChange&) constsh: addr2line: command not found
 addr2line failed
[7] #2  Foam::error::exiting(int, bool)sh: addr2line: command not found
 addr2line failed
[6] #2  Foam::error::exiting(int, bool)sh: addr2line: command not found
 addr2line failed
[6] #3  Foam::hexRef8::createInternalFaces(Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, int, Foam::polyTopoChange&) constsh: addr2line: command not found
 addr2line failed
[7] #3  Foam::hexRef8::createInternalFaces(Foam::List<Foam::List<int> > const&, Foam::List<Foam::List<int> > const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, Foam::List<int> const&, int, Foam::polyTopoChange&) constsh: addr2line: command not found
 addr2line failed
[1] #4  Foam::hexRef8::setRefinement(Foam::List<int> const&, Foam::polyTopoChange&)sh: addr2line: command not found
sh: addr2line: command not found
 addr2line failed
[6] #4  Foam::hexRef8::setRefinement(Foam::List<int> const&, Foam::polyTopoChange&) addr2line failed
[7] #4  Foam::hexRef8::setRefinement(Foam::List<int> const&, Foam::polyTopoChange&)sh: addr2line: command not found
 addr2line failed
[1] #5  Foam::dynamicRefineFvMesh::refine(Foam::List<int> const&)sh: addr2line: command not found
sh: addr2line: command not found
 addr2line failed
[6] #5  Foam::dynamicRefineFvMesh::refine(Foam::List<int> const&) addr2line failed
[7] #5  Foam::dynamicRefineFvMesh::refine(Foam::List<int> const&)sh: addr2line: command not found
 addr2line failed
[1] #6  Foam::dynamicRefineFvMesh::update()sh: addr2line: command not found
 addr2line failed
[6] #6  Foam::dynamicRefineFvMesh::update()sh: addr2line: command not found
 addr2line failed
[7] #6  Foam::dynamicRefineFvMesh::update()sh: addr2line: command not found
 addr2line failed
[1] #7  sh: addr2line: command not found
 addr2line failed
[6] #7  sh: addr2line: command not found
sh: which: command not found
 addr2line failed
[7] #7  ?
[6] #8  __libc_start_mainsh: which: command not found
?
[1] #8  __libc_start_mainsh: addr2line: command not found
sh: which: command not found
?
[7] #8  __libc_start_main addr2line failed
[6] #9  sh: addr2line: command not found
 addr2line failed
[1] #9  sh: addr2line: command not found
 addr2line failed
[7] #9  sh: which: command not found
?
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 6 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

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

dynamicFvMesh   dynamicRefineFvMesh;

// How often to refine in time
refineInterval  1;//2

// Field to be refinement on
field           alpha.water;

// Refine field inbetween lower..upper
lowerRefineLevel 0.001;
upperRefineLevel 0.999;

// If value < unrefineLevel unrefine
unrefineLevel   10;

// Have slower than 2:1 refinement
nBufferLayers   3;

// Refine cells only up to maxRefinement levels
maxRefinement   2;

// Stop refinement if maxCells reached
maxCells        15000000;

// Flux field and corresponding velocity field. Fluxes on changed
// faces get recalculated by interpolating the velocity. Use 'none'
// on surfaceScalarFields that do not need to be reinterpolated.
correctFluxes
(
    (phi none)
    (nHatf none)
    (rhoPhi none)
    (alphaPhi_ none)
    (ghf none)
    (phi0 none)
    (dVf_ none)
    (alphaPhi1Corr0 none)
);

// Write the refinement level as a volScalarField
dumpLevel       true;


// ************************************************************************* //
Can anyone help me out?
Miguel Hernandez is offline   Reply With Quote

Old   October 4, 2022, 17:25
Default
  #2
Senior Member
 
Farzad Faraji
Join Date: Nov 2019
Posts: 206
Rep Power: 7
farzadmech is on a distinguished road
Hello
Try to use single CPU to see if the same problem happens?


Farzad
farzadmech is offline   Reply With Quote

Reply


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
interFoam vs. simpleFoam channel flow comparison DanM OpenFOAM Running, Solving & CFD 12 January 31, 2020 16:26
Question about interFoam Solver Kahnbein.Kai OpenFOAM Running, Solving & CFD 2 August 26, 2019 16:36
Discussion on AMR with interFoam kk415 OpenFOAM Running, Solving & CFD 1 August 21, 2019 00:57
interFoam (HELYX-OS) pressure boundary conditions SFr OpenFOAM Running, Solving & CFD 8 June 23, 2016 17:36
k-e & GAMG interFoam Schemitisation Stability Issue JFM OpenFOAM Running, Solving & CFD 3 December 1, 2015 06:58


All times are GMT -4. The time now is 10:22.