View Issue Details

IDProjectCategoryView StatusLast Update
0003603OpenFOAMFeaturepublic2020-11-27 15:03
Reporterthw1021 Assigned Tohenry  
PrioritynoneSeverityfeatureReproducibilityalways
Status closedResolutionno change required 
PlatformGNU/LinuxOSUbuntuOS Version18.04 LTS
Summary0003603: reconstructPar utility cannot correctly reconstruct velocity distribution on inlet
DescriptionI followed this tutorial [1] to implement a new parabolic velocity profile on inlet boundary. If run the simulation in serial, the results are OK. However, if run in parallel, the reconstructed velocity distribution on inlet is wrong. I found this problem can be avoided if I decompose the domain in the direction which the whole inlet patch is assigned to only one processor, otherwise the reconstructed inlet velocity will be wrong. I have also reported this problem on paraview [2]
Steps To Reproduce1. cd into parabolicVelocity directory and run wclean && wmake to compile the libparabolicVelocity.so lib.
2. cd into simpleFoamParabolicInlet, run decomposePar to decompose the domain, and then run mpirun -np 12 simpleFoam -parallel > log.simpleFoam 2>&1
3. run reconstructPar to reconstruct the domain
4. open case.foam in paraview, you can see the wrong inlet velocity as shown in the attached figure.
Additional InformationReference:
[1] http://www.tfd.chalmers.se/~hani/kurser/OS_CFD_2019/lectureNotes/ImplementParabolicVelocityFixedValueBoundaryCondition.pdf
[2] https://gitlab.kitware.com/paraview/paraview/-/issues/20346
TagsNo tags attached.

Activities

thw1021

2020-11-27 14:28

reporter  

case.tar.xz (1,911,160 bytes)

henry

2020-11-27 14:33

manager   ~0011775

The parabolicVelocity code is not part of OpenFOAM and hence not supported by the OpenFOAM Foundation.
We could implement it correctly for you or help you correct it but this user support would need to be funded.

thw1021

2020-11-27 14:42

reporter   ~0011778

Do you mean this is a problem related with the parabolicVelocity code but not the reconstructPar utility ?
The parabolicVelocity code should be right since I have tested without error as long as the inlet patch is assigned to only one processor.

henry

2020-11-27 14:47

manager   ~0011779

> Do you mean this is a problem related with the parabolicVelocity code

Yes

thw1021

2020-11-27 14:55

reporter   ~0011780

Emm..., OK, thank you. I am learning OpenFOAM. I'd better try figure out this problem by myself at first.

henry

2020-11-27 15:03

manager   ~0011781

User support request.

Issue History

Date Modified Username Field Change
2020-11-27 14:19 thw1021 New Issue
2020-11-27 14:28 thw1021 File Added: case.tar.xz
2020-11-27 14:33 henry Note Added: 0011775
2020-11-27 14:33 henry Priority normal => none
2020-11-27 14:33 henry Severity major => feature
2020-11-27 14:33 henry Category Bug => Feature
2020-11-27 14:42 thw1021 Note Added: 0011778
2020-11-27 14:47 henry Note Added: 0011779
2020-11-27 14:55 thw1021 Note Added: 0011780
2020-11-27 15:03 henry Assigned To => henry
2020-11-27 15:03 henry Status new => closed
2020-11-27 15:03 henry Resolution open => no change required
2020-11-27 15:03 henry Note Added: 0011781