|
[Sponsors] |
November 16, 2015, 05:29 |
Fail timeVaryingMappedFixedValue
|
#1 |
Member
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13 |
Hi everyone,
I am using timeVaryingMappedFixedValue to set an inflow boundary condition at the inlet of a straight pipe. I have defined the velocity at the cell centres and put the 'points' and 'U' file in the corresponding directories under 'constant/boundaryData'. Since I've specified the values of the velocity at the cell centres, there should be no interpolation. However, I can see some cells present wrong U values (see attached picture, close to the walls. The blue dots at the pipe centre are correct). Does anyone know how I can solve this problem? Thanks in advance, Z P.S. I am using of-2.4.0 |
|
November 16, 2015, 05:41 |
problem solved by using mapMethod nearest
|
#2 |
Member
Zeno
Join Date: Sep 2013
Location: Delft, The Netherlands
Posts: 63
Rep Power: 13 |
Problem solved.
I simply switched on the interpolation option 'mapMethod nearest' in the 0/U file. I attached a picture for reference. |
|
December 14, 2016, 09:01 |
similar problem when forgetting to adapt "perturb" value
|
#3 |
New Member
Aaron Endres
Join Date: Jun 2016
Posts: 13
Rep Power: 10 |
Hi,
I had a similar problem in OpenFOAM 2.3.x with very fine grids, which was resolved by adding the entry perturb 0.0; in the boundary condition definition. Just a brief remark for future forum readers... |
|
Tags |
interpolation; error; |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Eclipse for OpenFOAM | AMahrla | OpenFOAM Programming & Development | 109 | October 8, 2017 17:20 |
Fail to generate boundary condition profile data | dotapro | CFX | 4 | January 30, 2015 01:59 |
The fail of moving mesh | liujmljm | SU2 | 2 | November 5, 2013 18:10 |
OpenMPI fail with Bluecape port of OF2.1 (I am doing it wrong). | Doug68 | OpenFOAM Installation | 2 | October 15, 2012 09:08 |
ITTC: Epic Validation Fail? | Lysistrata | Main CFD Forum | 0 | November 19, 2011 13:50 |