Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 395
    • Issues 395
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2489

Closed
Open
Created May 25, 2022 by Mattijs Janssens@MattijsMaintainer

redistributePar on moving mesh cases

Summary

redistributePar -decompose on case with 'meshPhi' produces error message

redistributePar -reconstruct flips meshPhi

Steps to reproduce

Take time dump of any moving mesh case with meshPhi. Use

mpirun -np 2 redistributePar -decompose -parallel -time XXX

and it will produce error message

From time 0.025 mesh:"constant/region0" have objects:
16
(
controlPoints
pointMotionU
C_0
Cs
cellMotionU
U
U_0
fsNetPhi
Uf
phi
C
V0
meshPhi
p
Uf_0
Us
)

[0] 
[0] 
[0] --> FOAM FATAL ERROR: (openfoam-2202 patch=220310)
[0] mesh flux field does not exist, is the mesh actually moving?
[0] 
[0]     From Foam::surfaceScalarField& Foam::fvMesh::setPhi()
[0]     in file fvMesh/fvMeshGeometry.C at line 422.
[0] 
FOAM parallel run aborting
[0] 
[0] #0  Foam::error::printStack(Foam::Ostream&) at ??:?
[0] #1  Foam::error::simpleExit(int, bool) at ??:?
[0] #2  Foam::error::exiting(int, bool) at ??:?
[0] #3  Foam::fvMesh::setPhi() at ??:?
[0] #4  Foam::fvGeometryScheme::setMeshPhi() const at ??:?
[0] #5  Foam::fvGeometryScheme::movePoints() at ??:?
[0] #6  Foam::basicFvGeometryScheme::movePoints() at ??:?
[0] #7  Foam::surfaceInterpolation::updateGeom() at ??:?
[0] #8  Foam::primitiveMesh::cellVolumes() const at ??:?
[0] #9  Foam::polyTopoChange::changeMesh(Foam::polyMesh&, Foam::UList<int> const&, bool, bool, bool, bool) at ??:?
[0] #10  Foam::polyTopoChange::changeMesh(Foam::polyMesh&, bool, bool, bool, bool) at ??:?
[0] #11  Foam::fvMeshDistribute::repatch(Foam::List<int> const&, Foam::List<Foam::List<int> >&) at ??:?
[0] #12  Foam::fvMeshDistribute::deleteProcPatches(int) at ??:?
[0] #13  Foam::fvMeshDistribute::distribute(Foam::List<int> const&) at ??:?

Environment information

  • OpenFOAM version : v2202
  • Operating system :
  • Hardware info :
  • Compiler :

Possible fixes

Switch on mesh.moving() flag?

Edited May 25, 2022 by Mattijs Janssens
Assignee
Assign to
Time tracking