View Issue Details

IDProjectCategoryView StatusLast Update
0001702OpenFOAMBugpublic2015-06-04 14:46
Reporteruser1144Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platform3.10.0-229.4.2.el7.x86_64OSCentOS OS Version7.1.1503
Summary0001702: mapFields -- Problems with patchmap
DescriptionWhen trying to use mapFields for mapping patches Errors occure:


Errors like this appear for every face:

FOAM Warning :
    From function void Foam::faceAreaWeightAMI<SourcePatch, TargetPatch>::interArea(const label, const label) const
    in file lnInclude/faceAreaWeightAMI.C at line 359
    Invalid normal for source face 49 points 4((0 0.001069553572 0.01) (0 0 0.01) (0 0 0) (0 0.001069553572 0)) target face 47 points 4((0 0.001069553572 0.01) (0 0.002376785715 0.01) (0 0.002376785715 0) (0 0.001069553572 0))



its not possible to map an outlet patch from a further simulation on the inlet patch of a new simulation, even if the patches are at the same location.

Steps To Reproducesimple 2d channel, solver simpleFoam, mapFieldsDict with patchMap ( outlet inlet );

run first simulation, try to map the outlet from the first simulation on the inlet of the new one.
Additional InformationExact the same setup works without any issue on OF-2.2.2!
TagsNo tags attached.

Activities

henry

2015-05-21 09:05

manager   ~0004779

Try with OpenFOAM-2.3.x

user1144

2015-05-21 10:11

  ~0004780

Last edited: 2015-05-21 10:11

ah sry. i did.
i accidentally selected 2.3.1

sharonyue

2015-05-22 10:12

reporter   ~0004784

Yeah, I found mapField in openfoam22x is quite robuster than 23x. Anyway I installed two versions in my laptop, when I got an error in 23xmapfield, then I switch to 22xmapfield...

henry

2015-05-26 10:39

manager   ~0004810

Given the number of issues with the latest mapFields I propose to reinstate the mapFields from OpenFOAM-2.2.x and maintain the new mapFields under the name mapFieldsPar (parallel mapFields) until it is fully-functional, tested and demonstrated that it performs at least as well as the previous mapFields on all cases.

henry

2015-05-26 11:37

manager   ~0004811

I have just pushed mapFields (from OpenFOAM-2.2.x) and mapFieldsPar into OpenFOAM-dev: commit 71c6af8fe97a6782b4bcce540d6eab11cc81ac95

Please let me know if this resolves your current problems pending the correction/rewrite of mapFieldsPar.

Issue History

Date Modified Username Field Change
2015-05-21 09:00 user1144 New Issue
2015-05-21 09:05 henry Note Added: 0004779
2015-05-21 10:11 user1144 Note Added: 0004780
2015-05-21 10:11 user1144 Note Edited: 0004780
2015-05-22 10:12 sharonyue Note Added: 0004784
2015-05-26 10:39 henry Note Added: 0004810
2015-05-26 11:37 henry Note Added: 0004811
2015-06-04 14:46 henry Status new => closed
2015-06-04 14:46 henry Assigned To => henry
2015-06-04 14:46 henry Resolution open => fixed