View Issue Details

IDProjectCategoryView StatusLast Update
0002743OpenFOAMBugpublic2017-10-31 20:39
Reporterjohnk Assigned Tohenry  
PriorityimmediateSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformlinuxOSUbuntuOS Version16.04
Summary0002743: interDyMFoam does not work in parallel when using dynamicRefineFvMesh
DescriptionI use OF 1706.


In my case I have rectangular box with BCs as follows:

front, back, left, right, up down

I initialize the velocity field (using swak4Foam) which corresponds to two counter rotating wake vortices over water surface in the domain. Their axes are perpendicular to front and back faces.
I need to have cyclic BC on front and back faces. The case works fine without dynamicRefineFvMesh and interFoam. However, when I use dynamicRefineFvMesh (I want the grid to be refined on the boarder between air and water), I set up cyclicAMI on front and back patches. But the case works only with one processor.
When I try to run in after decomposition, it gives me an error:

AMI: Creating addressing and weights between 120990 source faces and 120990 target faces
--> FOAM Warning :
    From function void Foam::AMIMethod<SourcePatch, TargetPatch>::checkPatches() const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>]
    in file lnInclude/AMIMethod.C at line 57
    Source and target patch bounding boxes are not similar
    source box span : (0 300 92)
    target box span : (-2e+150 -2e+150 -2e+150)
    source box : (0 0 0) (0 300 92)
    target box : (1e+150 1e+150 1e+150) (-1e+150 -1e+150 -1e+150)
    inflated target box : (8.26795e+149 8.26795e+149 8.26795e+149) (-8.26795e+149 -8.26795e+149 -8.26795e+149)

I have already tried to put preservePatches (front back); in decomposeparDict, but the issue remains

Could you please help me with that?
I attach the case.
TagsNo tags attached.

Activities

johnk

2017-10-31 20:29

reporter  

inter_2D_check_2.tar.gz (10,772 bytes)

henry

2017-10-31 20:39

manager   ~0008968

> I use OF 1706

This is not an OpenFOAM version and hence not released or suppored by the OpenFOAM Foundation, you will need to upgrade to either OpenFOAM-5 or better OpenFOAM-dev.

Issue History

Date Modified Username Field Change
2017-10-31 20:27 johnk New Issue
2017-10-31 20:29 johnk File Added: inter_2D_check_2.tar.gz
2017-10-31 20:39 henry Assigned To => henry
2017-10-31 20:39 henry Status new => closed
2017-10-31 20:39 henry Resolution open => fixed
2017-10-31 20:39 henry Note Added: 0008968